Download at http://secondlife.com/community/linux-alpha.php Current version is http://secondlife.com/downloads/viewer/SecondLife_1_9_0_17.tar.bz2 Second Life is a 3-D virtual world entirely built and owned by its residents. Since opening to the public in 2003, it has grown explosively and today is inhabited by nearly 100,000 people from around the globe.
Created attachment 87669 [details] secondlife-1.10.1.0.ebuild This ebuild should work. But the game will not be playable by more than one user, due to file ownership in /var/games/secondlife.
This ebuild appears to work fine for the latest current version, 1.10.1.0
Comment on attachment 87669 [details] secondlife-1.10.1.0.ebuild Version bump in filename - file contents unchanged.
When this bug gets fixed, it needs to handle the newer version 1.10.5.1 ( SL requires the latest build in order to connect with their servers ) http://secondlife.com/downloads/viewer/SecondLife_1_10_5_1.tar.bz2
When this bug gets attended to, it needs to be updated to use the latest client 1.10.5.1 ( the servers require you have the latest client in order to connect ) http://secondlife.com/downloads/viewer/SecondLife_1_10_5_1.tar.bz2
Created attachment 90814 [details] secondlife-1.10.5.1.ebuild Rearranged deletion of files in ${d}. Added QA-silencing variables. I suggest category "games-rpg".
Created attachment 90819 [details] secondlife-1.10.5.1.ebuild Fixed link to state directory.
Created attachment 92739 [details] secondlife-1.11.0.11.ebuild New Version is out!
Created attachment 101806 [details] secondlife-1.13.0.0.ebuild just found this bug, also found 1.13.0.0 was available. attached ebuild works for me but game won't run - chews *lots* of cpu time, then bombs with /usr/games/bin/secondlife: line 10: /usr/games/bin/secondlife: Argument list too long /usr/games/bin/secondlife: line 10: /usr/games/bin/secondlife: Success even if I pass no arguments at all. Looks like the message is coming from the binary itself. I'll try an older ebuild, just thought I'd throw this in for good measure
(In reply to comment #9) > /usr/games/bin/secondlife: Argument list too long Change the line to: games_make_wrapper ${PN} ./${PN} "${dir}" "${dir}"/lib Attach ebuilds as text, not binary ;)
What's the reasoning for the font replacement in src_install? It actually fails for me, but Second Life seems to work fine with the font file it's shipped with. As an additional note, this package works fine on amd64, and the 1.13.0.0 ebuild also works for 1.12.3.6 (the current "stable" alpha, which appears to be the required version for use on the main servers) with the only change other than Paul's correction directly above being to use the first (commented out) SRC line instead and to change MY_P to: MY_P=SecondLife_i686_${MY_PV} from: MY_P=SecondLife_i686_${MY_PV}_ADITI
Secondlife client is GPLed now. http://secondlife.com/developers/opensource/downloads/slviewer-src-20070108c.tar.gz
Do *not* link directly to the source code. Link to the page that actual humans are meant to read: http://secondlife.com/developers/opensource/getit
Created attachment 106217 [details] secondlife-20070108c.ebuild(cannot install)
Created attachment 106219 [details, diff] files/secondlife-20070108c-gentoo.patch
Created attachment 106221 [details] dev-libs/xmlrpc-epi-0.51.ebuild (depends)
Created attachment 106223 [details, diff] xmlrpc-epi/files/xmlrpc-epi-0.51-64bit-fixes.patch(from Mandriva)
Created attachment 106225 [details, diff] xmlrpc-epi/files/xmlrpc-epi-0.51-gcc4.patch(from Mandriva)
this secondlife-20070108c.ebuild has not been installed yet. http://pastebin.com/855102 I had tried unsuccessfully to fix it.
You'll probably want most of the patches from http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/secondlife/current/SOURCES/ - amongst other things, they fix that compile error.
Created attachment 106253 [details] dev-libs/ELFIO-1.0.3.ebuild Ebuild for ELFIO.
Created attachment 106259 [details] media-libs/openjpeg-1.1.ebuild Ebuild for OpenJPEG
Created attachment 106263 [details] secondlife-20070108c.ebuild Ebuild for Second Life client. Untested.
Created attachment 106265 [details, diff] secondlife-20070108c-gentoo.patch Required patch. Also required are several patches from http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/secondlife/current/SOURCES/
New linux version Linux i686: 1.13.1.6
Created attachment 106350 [details] slviewer-src-20070108c-datapath.patch Patch to wrapper script (modified from Mandriva one)
Created attachment 106352 [details] slviewer-llfont.patch Patch to stop the whole thing segfaulting on startup.
Created attachment 106354 [details] secondlife-20070108c.ebuild Mostly working ebuild. (It's missing a couple of static_*.db2 files, which aren't included in the main download and have to be taken either from the binary version or the linux-libs download...)
depends fmod-3.75
(In reply to comment #29) > depends fmod-3.75 > might be not the right place but when compiling openjpeg (with the ebuild provided on this bug) I am getting an error probably related to the 64bit platform since I can't see any keyword for 64 on the ebuild for openjpeg here's the error libopenjpeg/openjpeg.c:264:8: warning: extra tokens at end of #endif directive gcc -O3 -Ilibopenjpeg -c libopenjpeg/pi.c -o libopenjpeg/pi.o gcc -O3 -Ilibopenjpeg -c libopenjpeg/raw.c -o libopenjpeg/raw.o gcc -O3 -Ilibopenjpeg -c libopenjpeg/t1.c -o libopenjpeg/t1.o gcc -O3 -Ilibopenjpeg -c libopenjpeg/t2.c -o libopenjpeg/t2.o gcc -O3 -Ilibopenjpeg -c libopenjpeg/tcd.c -o libopenjpeg/tcd.o gcc -O3 -Ilibopenjpeg -c libopenjpeg/tgt.c -o libopenjpeg/tgt.o ar r libopenjpeg.a ./libopenjpeg/bio.o ./libopenjpeg/cio.o ./libopenjpeg/dwt.o ./libopenjpeg/event.o ./libopenjpeg/image.o ./libopenjpeg/j2k.o ./libopenjpeg/j2k_lib.o ./libopenjpeg/jp2.o ./libopenjpeg/jpt.o ./libopenjpeg/mct.o ./libopenjpeg/mqc.o ./libopenjpeg/openjpeg.o ./libopenjpeg/pi.o ./libopenjpeg/raw.o ./libopenjpeg/t1.o ./libopenjpeg/t2.o ./libopenjpeg/tcd.o ./libopenjpeg/tgt.o ar: creating libopenjpeg.a gcc -s -shared -Wl,-soname,libopenjpeg.so.1 -o libopenjpeg-1.0.0.so ./libopenjpeg/bio.o ./libopenjpeg/cio.o ./libopenjpeg/dwt.o ./libopenjpeg/event.o ./libopenjpeg/image.o ./libopenjpeg/j2k.o ./libopenjpeg/j2k_lib.o ./libopenjpeg/jp2.o ./libopenjpeg/jpt.o ./libopenjpeg/mct.o ./libopenjpeg/mqc.o ./libopenjpeg/openjpeg.o ./libopenjpeg/pi.o ./libopenjpeg/raw.o ./libopenjpeg/t1.o ./libopenjpeg/t2.o ./libopenjpeg/tcd.o ./libopenjpeg/tgt.o -lstdc++ /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: ./libopenjpeg/bio.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC ./libopenjpeg/bio.o: could not read symbols: Bad value collect2: ld returned 1 exit status make: *** [libopenjpeg-1.0.0.so] Error 1 !!! ERROR: media-libs/openjpeg-1.1 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile openjpeg-1.1.ebuild, line 13: Called die any pointers? can I compile this with the ~x86 and it will work with the rest of the software compiled on 64bit mode?
Created attachment 106554 [details] secondlife-20070108c.ebuild clean up. but it doesn't work on my amd64.
Created attachment 106556 [details, diff] slviewer-src-20070108c-datapath.patch
Created attachment 106558 [details] secondlife-bin-1.13.2.5.ebuild binary version. this works fine on my amd64.
Created attachment 106833 [details, diff] openjpeg/files/openjpeg-1.1-64bit-fixes.patch Compiler fix for amd64 architecture
Created attachment 106834 [details] media-libs/openjpeg/openjpeg-1.1.ebuild Updated ebuild; 64bit fixes patch is now applied
(In reply to comment #30) > > any pointers? > Please try out the updated ebuild and accompanying patch I attached to this bug.
Created attachment 106839 [details] media-libs/openjpeg/openjpeg-1.1.ebuild The 64-bit patch should only be applied for amd64 architecture ...
Created attachment 106898 [details] openjpeg-1.1.ebuild cleanup.
Created attachment 106900 [details] secondlife-bin-1.13.1.6.ebuild
Yesterday, I have tried to use secondlife-bin-1.13.2.5.ebuild, but Second life says me that a new version is available. Does the secondlife-bin-1.13.1.6.ebuild correct this problem ?
(In reply to comment #40) > Yesterday, I have tried to use secondlife-bin-1.13.2.5.ebuild, but Second life > says me that a new version is available. > > Does the secondlife-bin-1.13.1.6.ebuild correct this problem ? > It does, and this latest ebuild has cleaner dependencies for amd64 too
The 64-bit patch *should* be applied on all arches. If it doesn't work, then the patch needs to be adjusted to not break other arches. This way, the patch can be submitted upstream so we don't have to patch another version.
(In reply to comment #42) > The 64-bit patch *should* be applied on all arches. If it doesn't work, then > the patch needs to be adjusted to not break other arches. This way, the patch > can be submitted upstream so we don't have to patch another version. I'm not entirely sure which 64-bit patch you're referring to, but I guess it's the openjpeg one. This was actually a patch that adds the -fPIC compiler flag. I simply tried to follow the the Gentoo ebuild policy guide: http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=3&chap=1 And in case you did mean the xmlrpc-epi patch; it seems that this product is no longer being actively maintained upstream ... BTW I was able to build second life on my amd64 machine, but it stops with this error message: *** glibc detected *** bin/do-not-directly-run-secondlife-bin: free(): invalid next size (fast): 0x00000000021c5cd0 *** The secondlife-bin version works like a charm though.
Created attachment 107290 [details] secondlife-bin-1.13.2.11.ebuild Updated ebuild for the latest binary version.
Created attachment 107515 [details] secondlife-bin-1.13.2.12.ebuild Updated version again ...
Created attachment 107540 [details] secondlife-1.13.2.12.ebuild opensource version
Created attachment 107542 [details, diff] files/secondlife-1.13.2.12-gentoo.patch
Created attachment 107550 [details] Binary "First look" version For the binary version, I'd suggest for now to use the "First Look" version, from: http://forums.secondlife.com/showthread.php?t=161502 Performance here is *really* enhanced compared with "stable alpha" 1.13.2, and it also has some new options available
Created attachment 107566 [details] secondlife-bin-1.13.2.56900.ebuild Oops, last upload was not the latest (correct) one (wrong SRC_URI for the "First Look" download)
Created attachment 107598 [details, diff] files/secondlife-1.13.2.12-llfloatereditui.patch Compilation fix for amd64, should work on all arch's.
Created attachment 107599 [details, diff] files/secondlife-1.13.2.12-lltexlayer.patch Compilation fix for amd64, should work on all arch's.
Created attachment 107600 [details, diff] files/secondlife-1.13.2.12-llviewermenu.patch Compilation fix for amd64, should work on all arch's.
Created attachment 107601 [details, diff] files/secondlife-1.13.2.12-lscript_library.patch Fix for a memory allocation bug which causes an immediate crash on amd64, should work on all arch's.
Created attachment 107603 [details] secondlife-1.13.2.12.ebuild-r1 Updated ebuild, using the previously attached patches.
*** Bug 163521 has been marked as a duplicate of this bug. ***
Created attachment 108183 [details, diff] slviewer-src-20070108c-no_fmod.patch This patch is needed by the lastest ebuild posted with USE="-fmod".
Created attachment 108224 [details] secondlife-bin-1.13.2.15.ebuild Ebuild for the latest binary version
I try the ebuild in #54 After emerging it says: >>> !!! ELF DT_NEEDED orphans: games-rpg/secondlife-1.13.2.12 !!! libexpat.so.1 : /usr/share/games/secondlife/bin/do-not-directly-run-secondlife-bin !!! libvorbisenc.so.0 : /usr/share/games/secondlife/bin/do-not-directly-run-secondlife-bin !!! libvorbisfile.so.0 : /usr/share/games/secondlife/bin/do-not-directly-run-secondlife-bin starting the application says: cat: gridargs.dat: No such file or directory bin/do-not-directly-run-secondlife-bin: error while loading shared libraries: libexpat.so.1: cannot open shared object file: No such file or directory
additional comment: yes it was secondlife-1.13.2.12-r1, but I saved under secondlife-1.13.2.12
Created attachment 110626 [details] openjpeg-1.1.ebuild
Created attachment 110627 [details, diff] openjpeg/files/OPJ_limit_tags_for_decode.patch
Created attachment 110629 [details] secondlife-1.13.3.58018.ebuild
Created attachment 110630 [details, diff] secondlife/files/secondlife-1.13.2.15-gentoo.patch
Created attachment 110634 [details, diff] secondlife/files/secondlife-1.13.3.58018-no_fmod.patch
Created attachment 110636 [details, diff] secondlife/files/llimagej2coj_bug_fixes.patch
secondlife-1.13.3.58018.ebuild works on my amd64. it also emerge fine on my PLAYSTATION 3, but doesn't work because PS3 has no direct redering support.
Why the style changes in that last patch? Please keep files for other packages on separate bugs.
(In reply to comment #67) > Why the style changes in that last patch? Please keep files for other packages > on separate bugs. Those patches come from jira.secondlife.com, #VWR-123, the names are not changed for obvious reasons. Presumably the OPJ patch will be included in the next release of OpenJPEG. Hopefully the other patch will be included in SecondLife-1.13.4.x.
Created attachment 110647 [details, diff] Let xmlrpc-epi use the installed version of expat xmlrpc-epi includes an old version of expat, which sometimes causes a seg fault when logging in on secondlife (the viewer hangs/crashes at "Connecting to region ..."). With this patch xmlrpc-epi uses an already installed version of expat. This also fixes these seg faults.
Created attachment 110648 [details, diff] secondlife/files/opensecondlife-svn41.patch this patch is from opensecondlife.org
Created attachment 110649 [details] xmlrpc-epi-0.51-r1.ebuild Updated ebuild that adds a dependency on expat and applies the patch that lets xmlrpc-epi build against the already installed version of expat.
Created attachment 110651 [details] xmlrpc-epi-0.51.ebuild
Created attachment 110652 [details, diff] xmlrpc-epi-0.51-expat.patch Let xmlrpc-epi use the installed version of expat. (Properly named the patch.)
Created attachment 110654 [details, diff] xmlrpc-epi/files/xmlrpc-epi-0.51-secondlife.patch
Created attachment 110655 [details, diff] xmlrpc-epi/files/xmlrpc-epi-0.51-expat.patch
Created attachment 110656 [details] ELFIO-1.0.3.ebuild
Created attachment 110696 [details, diff] xmlrpc-epi-0.51-expat.patch Now a working patch ...
Created attachment 110698 [details] xmlrpc-epi-0.51-r1.ebuild Now also aplying xmlrpc-epi-0.51-secondlife.patch
i got this problem : error: 'glActiveTextureARB' was not declared in this scope it could be solved with: eselect opengl set xorg-x11 is it possible to automate this in the ebuild ?
No, ebuilds should not changed the opengl implementation themselves.
I was wondering if it be possible to have an overlay/clear compilation of what exactly is needed?
Ok, i think i got quite far so far, i just got the second life ebuild, and filled in the missing bits as I found them here :) (I had some issues of grabbing files with some of the ebuilds, but manually dl them from SF.net worked) OpenJPEG 1.1 doesn't exist anymore, there's a 1.1.1 version now, so I replaced the version number and didn't use the patch (it didn't work any longer). However, i'm getting a llimage2coj error now, maybe related to openjpeg? Here's the build output: i686-pc-linux-gnu-g++ -g -pipe -Wall -Wno-trigraphs -DLL_USE_KDU=0 -falign-loops=16 -fno-math-errno -fexceptions -fsigned-char -fno-strict-aliasing -ffast-math -DLL_MESA_HEADLESS=0 -DLL_MESA=0 -Os -march=athlon-xp -pipe -fomit-frame-pointer -DLL_LINUX=1 -DAPPID=secondlife -DLL_SDL=1 -DLL_FMOD=0 -DLL_X11=1 -DLL_GTK=1 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -DNDEBUG -DLL_RELEASE=1 -Illcommon -Illmath -Illwindow -Illaudio -Illcharacter -Illdatabase -Illhavok -Illimage -Illinventory -Illmedia -Illmessage -Illprimitive -Illrender -Illscene -Illui -Illvfs -Illwindow -Illxml -Ilscript -I/var/tmp/portage/games-rpg/secondlife-1.13.3.58018/work/linden/libraries/include -I/var/tmp/portage/games-rpg/secondlife-1.13.3.58018/work/linden/libraries/include/havok -I/var/tmp/portage/games-rpg/secondlife-1.13.3.58018/work/linden/libraries/i686-linux/include -I/var/tmp/portage/games-rpg/secondlife-1.13.3.58018/work/linden/libraries/i686-linux/include/gtk-2.0 -I/var/tmp/portage/games-rpg/secondlife-1.13.3.58018/work/linden/libraries/i686-linux/include/glib-2.0 -I/var/tmp/portage/games-rpg/secondlife-1.13.3.58018/work/linden/libraries/i686-linux/include/pango-1.0 -I/var/tmp/portage/games-rpg/secondlife-1.13.3.58018/work/linden/libraries/i686-linux/include/atk-1.0 -I/var/tmp/portage/games-rpg/secondlife-1.13.3.58018/work/linden/libraries/i686-linux/include/ELFIO -I/var/tmp/portage/games-rpg/secondlife-1.13.3.58018/work/linden/libraries/i686-linux/include/llfreetype2 -c -o //var/tmp/portage/games-rpg/secondlife-1.13.3.58018/work/linden/indra/i686-linux-client-release/llimagej2coj/llimagej2coj.o //var/tmp/portage/games-rpg/secondlife-1.13.3.58018/work/linden/indra/i686-linux-client-release/llimagej2coj/llimagej2coj.cpp //var/tmp/portage/games-rpg/secondlife-1.13.3.58018/work/linden/indra/i686-linux-client-release/llimagej2coj/llimagej2coj.cpp: In member function `virtual BOOL LLImageJ2COJ::getMetadata(LLImageJ2C&)': //var/tmp/portage/games-rpg/secondlife-1.13.3.58018/work/linden/indra/i686-linux-client-release/llimagej2coj/llimagej2coj.cpp:339: error: 'struct opj_dparameters_t' has no member named 'cp_limit_tags' //var/tmp/portage/games-rpg/secondlife-1.13.3.58018/work/linden/indra/i686-linux-client-release/llimagej2coj/llimagej2coj.cpp:339: error: `OPJ_LIMIT_FOR_SIZE' was not declared in this scope //var/tmp/portage/games-rpg/secondlife-1.13.3.58018/work/linden/indra/i686-linux-client-release/llimagej2coj/llimagej2coj.cpp:339: warning: unused variable 'OPJ_LIMIT_FOR_SIZE' scons: *** [//var/tmp/portage/games-rpg/secondlife-1.13.3.58018/work/linden/indra/i686-linux-client-release/llimagej2coj/llimagej2coj.o] Error 1 scons: building terminated because of errors. I'm trying now without the llimage patch, maybe it is also no longer required? I'll keep you posted.
Created attachment 111517 [details, diff] xmlrpc-epi-0.51-expat.patch Minor improvement
Created attachment 111519 [details, diff] openjpeg-1.1.1-Makefile.patch Fix for 'make install'
Created attachment 111521 [details] openjpeg-1.1.1.ebuild Version update, this version includes the patches that were used before.
SL players may also interest in #169109
I tried to compile it on amd64. All dependencies build fine, but 2nd life fails: x86_64-pc-linux-gnu-g++ -g -pipe -Wall -Wno-trigraphs -DLL_USE_KDU=0 -falign-loops=16 -fno-math-errno -fexceptions -fsigned-char -fno-strict-aliasing -ffast-math -DLL_MESA_HEADLESS=0 -DLL_MESA=0 -march=k8 -O2 -DLL_LINUX=1 -DAPPID=secondlife -DLL_SDL=1 -DLL_FMOD=0 -DLL_X11=1 -DLL_GTK=1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -DNDEBUG -DLL_RELEASE=1 -Illcommon -Illmath -Illwindow -Illaudio -Illcharacter -Illdatabase -Illhavok -Illimage -Illinventory -Illmedia -Illmessage -Illprimitive -Illrender -Illscene -Illui -Illvfs -Illwindow -Illxml -Ilscript -I/mnt/sda5/usr-tmp-portage/portage/games-simulation/secondlife-1.13.3.58018/work/linden/libraries/include -I/mnt/sda5/usr-tmp-portage/portage/games-simulation/secondlife-1.13.3.58018/work/linden/libraries/include/havok -I/mnt/sda5/usr-tmp-portage/portage/games-simulation/secondlife-1.13.3.58018/work/linden/libraries/x86_64-linux/include -I/mnt/sda5/usr-tmp-portage/portage/games-simulation/secondlife-1.13.3.58018/work/linden/libraries/x86_64-linux/include/gtk-2.0 -I/mnt/sda5/usr-tmp-portage/portage/games-simulation/secondlife-1.13.3.58018/work/linden/libraries/x86_64-linux/include/glib-2.0 -I/mnt/sda5/usr-tmp-portage/portage/games-simulation/secondlife-1.13.3.58018/work/linden/libraries/x86_64-linux/include/pango-1.0 -I/mnt/sda5/usr-tmp-portage/portage/games-simulation/secondlife-1.13.3.58018/work/linden/libraries/x86_64-linux/include/atk-1.0 -I/mnt/sda5/usr-tmp-portage/portage/games-simulation/secondlife-1.13.3.58018/work/linden/libraries/x86_64-linux/include/ELFIO -I/mnt/sda5/usr-tmp-portage/portage/games-simulation/secondlife-1.13.3.58018/work/linden/libraries/x86_64-linux/include/llfreetype2 -c -o //mnt/sda5/usr-tmp-portage/portage/games-simulation/secondlife-1.13.3.58018/work/linden/indra/x86_64-linux-client-release/llrender/llimagegl.o //mnt/sda5/usr-tmp-portage/portage/games-simulation/secondlife-1.13.3.58018/work/linden/indra/x86_64-linux-client-release/llrender/llimagegl.cpp //mnt/sda5/usr-tmp-portage/portage/games-simulation/secondlife-1.13.3.58018/work/linden/indra/x86_64-linux-client-release/llrender/llimagegl.cpp: In static member function 'static void LLImageGL::bindExternalTexture(LLGLuint, S32, LLGLenum)': //mnt/sda5/usr-tmp-portage/portage/games-simulation/secondlife-1.13.3.58018/work/linden/indra/x86_64-linux-client-release/llrender/llimagegl.cpp:122: error: 'glActiveTextureARB' was not declared in this scope //mnt/sda5/usr-tmp-portage/portage/games-simulation/secondlife-1.13.3.58018/work/linden/indra/x86_64-linux-client-release/llrender/llimagegl.cpp:123: error: 'glClientActiveTextureARB' was not declared in this scope //mnt/sda5/usr-tmp-portage/portage/games-simulation/secondlife-1.13.3.58018/work/linden/indra/x86_64-linux-client-release/llrender/llimagegl.cpp: In static member function 'static void LLImageGL::unbindTexture(S32, LLGLenum)': //mnt/sda5/usr-tmp-portage/portage/games-simulation/secondlife-1.13.3.58018/work/linden/indra/x86_64-linux-client-release/llrender/llimagegl.cpp:131: error: 'glActiveTextureARB' was not declared in this scope //mnt/sda5/usr-tmp-portage/portage/games-simulation/secondlife-1.13.3.58018/work/linden/indra/x86_64-linux-client-release/llrender/llimagegl.cpp:132: error: 'glClientActiveTextureARB' was not declared in this scope //mnt/sda5/usr-tmp-portage/portage/games-simulation/secondlife-1.13.3.58018/work/linden/indra/x86_64-linux-client-release/llrender/llimagegl.cpp: In static member function 'static void LLImageGL::unbindTexture(S32)': //mnt/sda5/usr-tmp-portage/portage/games-simulation/secondlife-1.13.3.58018/work/linden/indra/x86_64-linux-client-release/llrender/llimagegl.cpp:140: error: 'glActiveTextureARB' was not declared in this scope //mnt/sda5/usr-tmp-portage/portage/games-simulation/secondlife-1.13.3.58018/work/linden/indra/x86_64-linux-client-release/llrender/llimagegl.cpp:141: error: 'glClientActiveTextureARB' was not declared in this scope //mnt/sda5/usr-tmp-portage/portage/games-simulation/secondlife-1.13.3.58018/work/linden/indra/x86_64-linux-client-release/llrender/llimagegl.cpp: In member function 'BOOL LLImageGL::bindTextureInternal(S32) const': //mnt/sda5/usr-tmp-portage/portage/games-simulation/secondlife-1.13.3.58018/work/linden/indra/x86_64-linux-client-release/llrender/llimagegl.cpp:402: error: 'glActiveTextureARB' was not declared in this scope scons: *** [//mnt/sda5/usr-tmp-portage/portage/games-simulation/secondlife-1.13.3.58018/work/linden/indra/x86_64-linux-client-release/llrender/llimagegl.o] Error 1 scons: building terminated because of errors. !!! ERROR: games-simulation/secondlife-1.13.3.58018 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' environment, line 3351: Called src_compile secondlife-1.13.3.58018.ebuild, line 94: Called die !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/mnt/sda5/usr-tmp-portage/portage/games-simulation/secondlife-1.13.3.58018/temp/build.log'. !!! This ebuild is from an overlay: '/usr/local/portage'
# emerge --info Portage 2.1.2.1 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r3 x86_64) ================================================================= System uname: 2.6.18-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System release 1.12.9 Timestamp of tree: Sun, 04 Mar 2007 16:50:01 +0000 ccache version 2.4 [disabled] dev-java/java-config: 1.3.7, 2.0.31-r3 dev-lang/python: 2.3.5-r3, 2.4.4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /home/mythtv/ /usr/NX/etc /usr/NX/home /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=k8 -O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://130.59.10.34/mirror/gentoo/ http://130.59.10.35/mirror/gentoo/" LANG="de_DE.utf-8" LC_ALL="de_DE.utf-8" LINGUAS="de cz it fr en zh_CN zh_TW" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/mnt/sda5/usr-tmp-portage" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="X aalib alsa amd64 arts audiofile berkdb bitmap-fonts bzip2 cdr cjk cli cracklib crypt css cups dri dvd dvdr fortran gdbm gpm gtk gtk2 iconv immqt-bc ipv6 isdnlog java jpeg jpeg2k kde ldap libg++ midi mozilla mp3 musicbrainz mysql ncurses nls nptl nptlonly nsplugin ogg opengl oss pam pango pcre pdf perl png ppds pppd python qt readline reflection samba sasl session spl ssl tcpd truetype truetype-fonts type1-fonts unicode vorbis xorg xosd xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de cz it fr en zh_CN zh_TW" USERLAND="GNU" VIDEO_CARDS="nvidia vga vesa fbdev" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 113643 [details] secondlife-1.13.3.59036.ebuild Version Bump. Compiles on amd64, but don't work very well (rendering errors, etc.)* I removed llimagej2coj_bug_fixes.patch because it couldn't compile with this patch. I updated secondlife-1.13.2.15-gentoo.patch to secondlife-1.13.3.59036-gentoo.patch (i'm going to attach it) I removed some things in src_install because something is changed from previous version. NOTE: to compile correctly this source need a new enough glext.h or something provided only by xorg-x11 opengl extension, so if you use another implementation, you HAVE to do "eselect opengl set xorg-x11" before emerging, and after emerging you can restore your favorite opengl implementation. (I tried to do so in the ebuild but it don't works (so these lines are commented)). *:I get very often in the log these errors: "[ERROR] tcd_decode: incomplete bistream [ERROR] read error"
Created attachment 113644 [details, diff] files/secondlife-1.13.3.59036-gentoo.patch This is the same patch updated for version 1.13.3.59036 (Something in file SConstruct was changed) p.s. In the last ebuild I added MOZLIB=no to scons parameters in order to compile correctly (see https://wiki.secondlife.com/wiki/Talk:Compiling_the_viewer_%28Linux%29#llmozlib) p.p.s.: I have secondlife-1.13.3.59036-no_fmod.patch that is the same of secondlife-1.13.3.58018-no_fmod.patch, should I upload it too?? (Or can you just download and rename the previous patch?)
Created attachment 113664 [details] secondlife-1.13.3.59315.ebuild
Created attachment 113666 [details, diff] files/secondlife-1.13.3.59315-gentoo.patch
Created attachment 113668 [details] files/secondlife-1.13.3.2-llimagej2coj_debug.patch
Created attachment 113670 [details, diff] files/secondlife-1.13.3.59315-no_fmod.patch
secondlife-1.13.3.59315 failed for me. emerge --info and full (also tail'ed) second life emerge log is here: http://roslin.kicks-ass.net:1337/download/gentoo/logs/
(In reply to comment #95) > secondlife-1.13.3.59315 failed for me. emerge --info and full (also tail'ed) > second life emerge log is here: > http://roslin.kicks-ass.net:1337/download/gentoo/logs/ > As I said, in order to compile cleanly, you must switch to xorg-x11 opengl implementation before emerging, doing so (as root): "eselect opengl set xorg-x11" After emerging, you have to restore it (eg. "eselect opengl set nvidia")
(In reply to comment #96) > (In reply to comment #95) > > *znip* > > As I said, in order to compile cleanly, you must switch to xorg-x11 opengl > implementation before emerging, doing so (as root): "eselect opengl set > xorg-x11" > After emerging, you have to restore it (eg. "eselect opengl set nvidia") Thanks, it works fine now. (:
secondlife-1.13.3.59315.ebuild fails with this problem on paludis. >>> Unpacking slviewer-artwork-FL-1.13.3.59315.zip to /var/tmp/paludis/games-simulation/secondlife-1.13.3.59315/work unzip -qo /usr/portage/distfiles/slviewer-artwork-FL-1.13.3.59315.zip * Applying secondlife-1.13.3.59315-no_fmod.patch ... [ ok ] * Applying secondlife-1.13.3.2-llimagej2coj_debug.patch ... [ ok ] * Applying opensecondlife-svn41.patch ... [ ok ] * Applying secondlife-1.13.3.59315-gentoo.patch ... [ ok ] sed: -e expression #1, char 29: unknown option to `s' !!! ERROR in games-simulation/secondlife-1.13.3.59315: !!! In src_unpack at line 66 !!! (no message provided) !!! Call stack: !!! * src_unpack (/usr/local/overlay/gentoo-fldc/trunk/games-simulation/secondlife/secondlife-1.13.3.59315.ebuild:66) !!! * ebuild_f_unpack (/usr/libexec/paludis/src_unpack.bash:44) !!! * ebuild_main (/usr/libexec/paludis/ebuild.bash:346) !!! * main (/usr/libexec/paludis/ebuild.bash:364) die trap: exiting with error.
I created overlay for secondlife. http://overlays.gentoo.org/dev/matsuu/wiki
(In reply to comment #98) > secondlife-1.13.3.59315.ebuild fails with this problem on paludis. please put emerge --info here.
MATSUU, thanks much for the overlay. Could you get it added to the layman global list or at least put up a layman overlay list for it so people can configure layman easily (feel free to copy my temporary one at http://www.nerone.org/gentoo/layman-secondlife.txt and change it if you like).
Added to layman-global.txt
(In reply to comment #98) > secondlife-1.13.3.59315.ebuild fails with this problem on paludis. > This problem is due to the separator in the sed expression, and will fail if you use ccache sed -i -e "s/gcc_bin = .*$/gcc_bin = '$(tc-getCXX)'/" SConstruct || die will fail because the ${tc-getCXX} var contains '/' characters. Replace / by | : sed -i -e "s|gcc_bin = .*$|gcc_bin = '$(tc-getCXX)'|" SConstruct || die this will of course fail if the variable contains '|' characters but that's much less common ;o
fixed in overlay(secondlife-1.14.0.1).
It is possible maybe to use fmod-ex, that is relased also for linux-amd64,in order to compile the client for amd64 with sound? http://www.fmod.org/ifmoddownload.html
no. slviewer depends on fmod-3.75. it doesn't work with fmod-ex*
And so will be never available a 64bit version with sound??
on 1.17.0.12 you've introduced google-perftools in your overlay. --- i686-pc-linux-gnu-ar cru .libs/liblogging.a .libs/logging.o i686-pc-linux-gnu-ranlib .libs/liblogging.a i686-pc-linux-gnu-ranlib .libs/libspinlock.a creating liblogging.la (cd .libs && rm -f liblogging.la && ln -s ../liblogging.la liblogging.la) /bin/sh ./libtool --tag=CXX --mode=link i686-pc-linux-gnu-g++ -march=athlon64 -O2 -fomit-frame-pointer -pipe -fvisibility-inlines-hidden -o profiler2_unittest profiler2_unittest-profiler_unittest.o -lprofiler creating libspinlock.la (cd .libs && rm -f libspinlock.la && ln -s ../libspinlock.la libspinlock.la) /bin/sh ./libtool --tag=CXX --mode=link i686-pc-linux-gnu-g++ -march=athlon64 -O2 -fomit-frame-pointer -pipe -fvisibility-inlines-hidden -o profiler4_unittest -pthread profiler4_unittest-profiler_unittest.o -lprofiler i686-pc-linux-gnu-g++ -march=athlon64 -O2 -fomit-frame-pointer -pipe -fvisibility-inlines-hidden -o profiler2_unittest profiler2_unittest-profiler_unittest.o -lprofiler i686-pc-linux-gnu-g++ -march=athlon64 -O2 -fomit-frame-pointer -pipe -fvisibility-inlines-hidden -o profiler4_unittest -pthread profiler4_unittest-profiler_unittest.o -lprofiler /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lprofiler collect2: ld returned 1 exit status /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lprofiler collect2: ld returned 1 exit status make: *** [profiler4_unittest] Error 1 make: *** Waiting for unfinished jobs.... make: *** [profiler2_unittest] Error 1 !!! ERROR: dev-libs/google-perftools-0.91 failed. Call stack: ebuild.sh, line 1615: Called dyn_compile ebuild.sh, line 972: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile ebuild.sh, line 646: Called die --- but it will not be compiled. do you know why?
It compiles good but when I try to login: WARNING: idle_startup: setHostByName failed WARNING: createXml: Alert: [UnableToConnect] WARNING: createDialog: Alert: Unable to connect to server. Could not request domain name: userserver.dmz.lindenlab.com I'm using games-simulation/secondlife-1.16.0.5-r2 from zugaina overlay
(In reply to comment #109) > It compiles good but when I try to login: > > WARNING: idle_startup: setHostByName failed > WARNING: createXml: Alert: [UnableToConnect] > WARNING: createDialog: Alert: Unable to connect to server. > Could not request domain name: userserver.dmz.lindenlab.com Oops... sorry my bad. I forgot to select "Agni". Now it works :)
(In reply to comment #108) > but it will not be compiled. > do you know why? Please put your emerge --info here. I think its parallel make issue. Please try # MAKEOPTS="-j1" emerge google-perftools
# MAKEOPTS="-j1" emerge google-perftools did it for me. thx =)
for search
At the end of the compilation I consistently get the error messages below. Any ideas what's going on? scons: done building targets. ACCESS DENIED open_wr: /usr/include/gtk-2.0/gtk/.scons26075 ACCESS DENIED open_wr: /usr/include/gtk-2.0/gtk/.sconsign ACCESS DENIED open_wr: /usr/include/gtk-2.0/gdk/.scons26075 ACCESS DENIED open_wr: /usr/include/gtk-2.0/gdk/.sconsign ACCESS DENIED open_wr: /usr/include/atk-1.0/atk/.scons26075 ACCESS DENIED open_wr: /usr/include/atk-1.0/atk/.sconsign ACCESS DENIED open_wr: /usr/include/glib-2.0/.scons26075 ACCESS DENIED open_wr: /usr/include/glib-2.0/.sconsign ACCESS DENIED open_wr: /usr/include/pango-1.0/pango/.scons26075 ACCESS DENIED open_wr: /usr/include/pango-1.0/pango/.sconsign ACCESS DENIED open_wr: /usr/include/gtk-2.0/gdk-pixbuf/.scons26075 ACCESS DENIED open_wr: /usr/include/gtk-2.0/gdk-pixbuf/.sconsign ACCESS DENIED open_wr: /usr/include/cairo/.scons26075 ACCESS DENIED open_wr: /usr/include/cairo/.sconsign ACCESS DENIED open_wr: /usr/include/glib-2.0/glib/.scons26075 ACCESS DENIED open_wr: /usr/include/glib-2.0/glib/.sconsign ACCESS DENIED open_wr: /usr/lib64/gtk-2.0/include/.scons26075 ACCESS DENIED open_wr: /usr/lib64/gtk-2.0/include/.sconsign ACCESS DENIED open_wr: /usr/include/glib-2.0/gobject/.scons26075 ACCESS DENIED open_wr: /usr/include/glib-2.0/gobject/.sconsign ACCESS DENIED open_wr: /usr/lib64/glib-2.0/include/.scons26075 ACCESS DENIED open_wr: /usr/lib64/glib-2.0/include/.sconsign >>> Source compiled.
(In reply to comment #114) > At the end of the compilation I consistently get the error messages below. Any > ideas what's going on? > > scons: done building targets. <lots of sandbox violations> > >>> Source compiled. > You can solve it upgrading scons to 0.97. In order to work with scons-0.96.1 you need to patch SConstruct adding SConsignFile() to the beggining of the file.
Latest version is already 1.17.3.1. For when a definite ebuild?
1.17.3.1 in my overlay. http://overlays.gentoo.org/dev/matsuu/
Just synced - I see secondlife-bin-1.17.3.1, but not secondlife-1.17.3.1.
secondlife-1.17.3.1 has not been released yet. http://wiki.secondlife.com/wiki/Source_downloads#Releases
My bad - I didn't realize that secondlife-bin and secondlife(-src) could be out of sync.
*** Bug 185632 has been marked as a duplicate of this bug. ***
after successful compilation of your source of 1.18.1.2 and starting and finally logging in, when all things will be loaded, i got the following warnings: 2007-08-08T08:34:48Z WARNING: getCtrlByNameAndType: Widget mute_btn has improper type in panel active_speakers_panel Is: 6 Should be: 3 ... 2007-08-08T08:34:54Z WARNING: process_agent_movement_complete: agent_movement_complete() with NULL avatarp. ... 2007-08-08T08:34:54Z WARNING: init_audio: Failed to create an appropriate Audio Engine ... then the client just close. this dont happens with the d/led slviewer.
(In reply to comment #122) > after successful compilation of your source of 1.18.1.2 and starting and > finally logging in, when all things will be loaded, i got the following > warnings: hmm, I can't reproduce it. Do you set fmod use flag? try $ mv ${HOME}/.secondlife ${HOME}/.secondlife.backup and run secondlife
(In reply to comment #123) > hmm, I can't reproduce it. Do you set fmod use flag? > > try > $ mv ${HOME}/.secondlife ${HOME}/.secondlife.backup > and run secondlife yes i use fmod gstreamer and elfio. even after recompiling of fmod and secondlife and moving of the .secondlife folder i'll get the same same warnings and then it closes. the 1.17.x builds have run without that error
sorry, I got same error. It is under scrutiny.
*sigh* 1.18.2.0 and the same error
How can I add this ebuild to layman? I don't see it listed with 'layman -l' or 'layman -L'.
(In reply to comment #127) > How can I add this ebuild to layman? I don't see it listed with 'layman -l' or > 'layman -L'. Try 'layman -Lk'.
(In reply to comment #128) > (In reply to comment #127) > > How can I add this ebuild to layman? I don't see it listed with 'layman -l' or > > 'layman -L'. > > Try 'layman -Lk'. > Thanks! That worked :) What does the --nocheck (-k) option mean?
(In reply to comment #129) > (In reply to comment #128) > > Try 'layman -Lk'. > > > > Thanks! That worked :) What does the --nocheck (-k) option mean? *cough* Read the man page, this isn't a good place to talk about layman options.
(In reply to comment #130) > (In reply to comment #129) > > (In reply to comment #128) > > > Try 'layman -Lk'. > > > > > > > Thanks! That worked :) What does the --nocheck (-k) option mean? > > *cough* > Read the man page, this isn't a good place to talk about layman options. > You're right. However I did check the man file prior to asking (hence I knew -k means --nocheck), and I wanted to be certain -k doesn't stand for possible security issues.(at default layman doesn't list overlays which can have possible security issues)
Now for something on topic. The ebuild fails: i686-linux-client-release/llrender/llimagegl.cpp:148: error: 'glActiveTextureARB' was not declared in this scope i686-linux-client-release/llrender/llimagegl.cpp:149: error: 'glClientActiveTextureARB' was not declared in this scope i686-linux-client-release/llrender/llimagegl.cpp: In member function 'BOOL LLImageGL::bindTextureInternal(S32) const': i686-linux-client-release/llrender/llimagegl.cpp:411: error: 'glActiveTextureARB' was not declared in this scope scons: *** [i686-linux-client-release/llrender/llimagegl.o] Error 1 scons: building terminated because of errors. !!! ERROR: games-simulation/secondlife-1.18.2.0 failed. Call stack: ebuild.sh, line 1638: Called dyn_compile ebuild.sh, line 985: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile secondlife-1.18.2.0.ebuild, line 123: Called die
(In reply to comment #132) > Now for something on topic. The ebuild fails: > *snip* This looks similar to my errorlog (Comment #95, the link is dead now, it should be without ":1337" ;) and here's the solution that helps: > As I said, in order to compile cleanly, you must switch to xorg-x11 opengl > implementation before emerging, doing so (as root): "eselect opengl set > xorg-x11" > After emerging, you have to restore it (eg. "eselect opengl set nvidia")
> > As I said, in order to compile cleanly, you must switch to xorg-x11 opengl > > implementation before emerging, doing so (as root): "eselect opengl set > > xorg-x11" > > After emerging, you have to restore it (eg. "eselect opengl set nvidia") > That did the trick! Thanks :)
I have problems connecting. I searched through these messages but couldn't find a solution.
(In reply to comment #135) > I have problems connecting. I searched through these messages but couldn't find > a solution. > All necesarry ports are opened: 13000-13050 UDP 12036 UDP 12035 UDP 12043 TCP 443 TCP
Used matsuu overlay. After client build and connecting to Agni, client closes. Log states unable to open audio device. Changed ebuild to reflect "standalone=no". Got the following error: i686-linux-client-release/llcommon/llsdserialize_xml.cpp:42:26: error: expat/expat.h: No such file or directory i686-linux-client-release/llcommon/llsdserialize_xml.cpp:268: error: expected ',' or '...' before '*' token Is "standalone=no" invalid with this ebuild?
(In reply to comment #126) > *sigh* > > 1.18.2.0 and the same error > fixed in 1.18.3.2. Please try. If you still have the error, please try to remerge xmlrpc-epi.
ok, the ebuild for 1.18.3.2 doesn't exit after the audio engine failure now, but I don't have any sound either. I had it in 1.18.1.2. Is it disabled for 1.18.3.2 like the movie streaming? The log doesn't even mention trying to init sound.
(In reply to comment #139) > ok, the ebuild for 1.18.3.2 doesn't exit after the audio engine failure now, > but I don't have any sound either. I had it in 1.18.1.2. Is it disabled for > 1.18.3.2 like the movie streaming? The log doesn't even mention trying to init > sound. > Didn't see how to edit my message, but wanted to ask: Do I need to edit matsuu's ebuild and add "mypots=OPENSOURCE=no" to enable sound?
Also have a problem with 1.18.3.2, error log and `emerge --info` is here: http://roslin.kicks-ass.net/download/gentoo/logs/
(In reply to comment #138) > (In reply to comment #126) > > *sigh* > > > > 1.18.2.0 and the same error > > > > fixed in 1.18.3.2. Please try. > If you still have the error, please try to remerge xmlrpc-epi. now i have no sound here either the warning is still there "WARNING: init_audio: Failed to create an appropriate Audio Engine" even after re-emerge
(In reply to comment #141) > Also have a problem with 1.18.3.2, error log and `emerge --info` is here: > http://roslin.kicks-ass.net/download/gentoo/logs/ 1.18.3.5 failed to compile. New logs under same URL.
(In reply to comment #143) > (In reply to comment #141) > > Also have a problem with 1.18.3.2, error log and `emerge --info` is here: > > http://roslin.kicks-ass.net/download/gentoo/logs/ > > 1.18.3.5 failed to compile. New logs under same URL. > g_thread_init has something to do with gtk. run revdep-rebuild. and dont forget to switch opengl to xorg-x11. 1.18.3.5 compiled fine and runs WITH sound... :)
I'm on an Intel Core 2, 64-bit system, building with elfio, fmod, and gstreamer flags turned on, and had several problems compiling. When compiling llwindow/llgl.cpp, I got several errors of the form: x86_64-linux-client-release/llwindow/llgl.cpp:725: error: 'glXGetProcAddressARB' was not declared in this scope I'm using x11-drivers/nvidia-drivers-100.14.09 and media-libs/mesa-6.5.2-r1, and I run eselect opengl xorg-x11 before compiling (I get other errors if I don't). Changing the line in llgl.cpp from: # define GLH_EXT_GET_PROC_ADDRESS(p) glXGetProcAddressARB((const GLubyte*)(p)) to: # define GLH_EXT_GET_PROC_ADDRESS(p) glXGetProcAddress((const GLubyte*)(p)) allowed the compile to complete and install When I tried to run secondlife, it crashed after logging in. To diagnose the problem, I tried building with the debug flag as well, but was unable to build the google perftools. It appears the makefile is not well-written for parallel builds, so commenting out MAKEOPTS="-j3" allowed gentoo perftools to build. I did this manually, not in the ebuild - I'm not sure how to do it, but I'm sure other ebuilds have to. After that, secondlife compiled but did not install. This is because of the line: doexe ../lib_release_client/*-linux/lib* || die I changed it to use lib_debug_client instead, if the debug use flag was set. After running in a debugger, I was able to track down the problem to openjpeg-1.2. I changed to openjpeg-1.1.1, and life was good again. Until I tried to search my inventory, and got a crash. But that's enough for one night. I can post emerge.info, my modifed ebuild / patch files, etc., if needed. Thanks for all the work you've done, Matsuu - I'm a lot closer than I was trying to compile from secondlife official sources!
The current overlay doesn't appear to compile on amd64 (and possibly other platforms?), at least with gcc 4.2.2 p1.0. It may be just an issue with -Werror though. The error is: ---- x86_64-pc-linux-gnu-g++ -o x86_64-linux-client-release/llmath/llquaternion.o -c -g -pipe -Wall -Wno-reorder -Wno-trigraphs -Wno-sign-compare -Werror -fexceptions -pthread -D_REENTRANT -fno-math-errno -fsigned-char -fno-strict-aliasing -falign-loops=16 -ffast-math -O2 -D_FORTIFY_SOURCE=2 -DLL_STANDALONE -DLL_MESA_HEADLESS=0 -DLL_MESA=0 -march=athlon64 -O2 -mmmx -m3dnow -msse -msse2 -msse3 -mfpmath=sse -fomit-frame-pointer -pipe -DLL_LINUX=1 -DAPPID=secondlife -DLL_SDL=1 -DLL_FMOD=0 -DLL_X11=1 -DLL_GTK=1 -DLL_LIBXUL_ENABLED=0 -DLL_GSTREAMER_ENABLED=1 -DNDEBUG -DLL_RELEASE=1 -Illcommon -Illmath -Illwindow -Illaudio -Illcharacter -Illdatabase -Illhavok -Illimage -Illinventory -Illmedia -Illmessage -Illprimitive -Illrender -Illscene -Illui -Illvfs -Illwindow -Illxml -Ilscript -Ilscript/lscript_compile -I/var/tmp/portage/games-simulation/secondlife-1.18.4.0/work/linden/libraries/include -I/var/tmp/portage/games-simulation/secondlife-1.18.4.0/work/linden/libraries/include/havok -I/var/tmp/portage/games-simulation/secondlife-1.18.4.0/work/linden/libraries/x86_64-linux/include -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/SDL -I/usr/include/gstreamer-0.10 -I/usr/include/libxml2 -I/usr/include/apr-1 -I/var/tmp/portage/games-simulation/secondlife-1.18.4.0/work/linden/libraries/x86_64-linux/include/gstreamer-0.10 -I/var/tmp/portage/games-simulation/secondlife-1.18.4.0/work/linden/libraries/x86_64-linux/include/glib-2.0 -I/var/tmp/portage/games-simulation/secondlife-1.18.4.0/work/linden/libraries/x86_64-linux/include/glib-2.0/include -I/var/tmp/portage/games-simulation/secondlife-1.18.4.0/work/linden/libraries/x86_64-linux/include/libxml2 x86_64-linux-client-release/llmath/llquaternion.cpp cc1plus: warnings being treated as errors x86_64-linux-client-release/llmath/llquaternion.cpp: In function 'const char* OrderToString(LLQuaternion::Order)': x86_64-linux-client-release/llmath/llquaternion.cpp:701: warning: deprecated conversion from string constant to 'char*' x86_64-linux-client-release/llmath/llquaternion.cpp:704: warning: deprecated conversion from string constant to 'char*' x86_64-linux-client-release/llmath/llquaternion.cpp:707: warning: deprecated conversion from string constant to 'char*' x86_64-linux-client-release/llmath/llquaternion.cpp:710: warning: deprecated conversion from string constant to 'char*' x86_64-linux-client-release/llmath/llquaternion.cpp:713: warning: deprecated conversion from string constant to 'char*' x86_64-linux-client-release/llmath/llquaternion.cpp:716: warning: deprecated conversion from string constant to 'char*' scons: *** [x86_64-linux-client-release/llmath/llquaternion.o] Error 1 scons: building terminated because of errors. ---- The precompiled i686 binary seems to run fine on my system other than having an abysmal software-rendering-like framerate. Having never tried SL until last night, I have no idea if this is a problem getting direct rendering on AMD64 with the precompiled binary or if it's a normal lag problem with SL...
Created attachment 135152 [details, diff] Disable -Werror in cflags This patch will disable -Werror in cflags and avoid compilation breakage. matsuu, can you please add this to your overlay? I'll also submit this to upstream.
Removed -Werror in 1.18.4.1_rc. please try. (In reply to comment #147) > Created an attachment (id=135152) [edit] > Disable -Werror in cflags > > This patch will disable -Werror in cflags and avoid compilation breakage. > matsuu, can you please add this to your overlay? > > I'll also submit this to upstream. >
matsuu, latest cmake requires xmlrpc-c, which conflicts with xmlrpc-epi. Any solution for this? Can sl use xmlrpc-c, too?
Created attachment 142612 [details] xmlrpc-epi ebuild compatible with xmlrpc-c I changed the ebuild to be compatible with xmlrpc-c. The ebuild changes the library's name to libxmlrpc-epi.so, and moves the headers to /usr/include/xmlrpc-epi/. I also added an USE flag to set whether the binaries are installed, and added an xmlrpc-epi- in front because the names seemed to be too generic and could conflict with something else. I'm not experienced in making ebuilds, so I'd like some feedback on whether that's how it's supposed to be done.
sorry, I'm very busy for my job. i have no time to bump until April. I bumped secondlife-bin now. please try it.
now its april the 25th... i think this is really long enough to wait so what the hell is going on.
Created attachment 151751 [details] updated ebuild for version 1.18.5.3 Version bump. This is an ebuild for 1.18.5.3 that works on my system (amd64, nvidia). This is not well tested! (Especially the dependencies are probably different on the newer version, but I haven't changed them.) Download the ebuild into /usr/portage/local/layman/secondlife/games-simulation/secondlife directory and the two patches (below) if you want to try it out. it checks eselect opengl show and will die with a useful error message which should make the eselect opengl set process a little less painful. look in the ebuild for the message - it warns the user of the consequences of changing eselect opengl, and that they should change back. the following two diffs from secondlife-1.18.4.1_rc-gentoo.patch have been included upstream, so I call the new patch files/secondlife-1.18.5.3-gentoo.patch: linden/indra/newview/llfloaterhtml.cpp (the #ifdef now encloses the whole function) linden/indra/newview/llurldispatcher.cpp it also applies files/secondlife-vwr-3813-gtk-api-change-1.18.6.1.patch (from https://jira.secondlife.com/browse/VWR-3813)... if your gtk+ version is >= 2.12.3, the source expects a gchar* return and gtk+ changed to a const gchar* return, but casting the return to const gchar* will work in every case.
Created attachment 151753 [details, diff] new patch goes with secondlife-1.18.5.3.ebuild (see comment #153)
Created attachment 151755 [details, diff] new patch goes with secondlife-1.18.5.3.ebuild (see comment #153)
Created attachment 152403 [details] linden labs' mozlib2 required for secondlife-1.19.1.84244.ebuild Version bump. This is for secondlife 1.19.1.4, though Linden Labs chose to call it secondlife-Branch_1-19-1-Viewer-r84244 so I call it secondlife-1.19.1.84244. This ebuild is required unless you turn on USE="nomozlib" in which case secondlife still compiles, but it's pretty likely you won't be able to use the program successfully. mozlib2 is the integrated firefox that renders to an OpenGL surface. /usr/portage/local/layman/secondlife/dev-libs/llmozlib-svn/llmozlib-svn-2.13.ebuild and run ebuild llmozlib-svn-2.13.ebuild digest This ebuild has one patch.
Created attachment 152405 [details, diff] put in llmozlib/files - it fixes broken =gcc-3* detection
Comment on attachment 152403 [details] linden labs' mozlib2 required for secondlife-1.19.1.84244.ebuild ><HTML><HEAD/><BODY><PRE># Copyright 1999-2007 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit autotools eutils subversion > >DESCRIPTION="Linden Labs Mozilla Library (customized for secondlife)" >HOMEPAGE="http://wiki.secondlife.com/wiki/LLMozLib2" >ESVN_REPO_URI="/trunk/${P/-svn-}" >ESVN_REPO_URI="https://svn.secondlife.com/svn/${PN/-svn}${ESVN_REPO_URI%%.*}/" >ESVN_REVISION="${P/*.}" > >LICENSE="BSD" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="" > >DEPEND="dev-util/cvs > =sys-devel/gcc-3.4* > sys-apps/gawk > >=dev-lang/perl-5.4 > app-arch/unzip > app-arch/zip > x11-libs/gtk+" ># libllmozlib2.a (the only output file) is a static lib, so no RDEPENDs >RDEPEND="" >ESVN_PATCHES="${FILESDIR}/llmozlib-svn-gentoo.patch" > >src_compile() { > # follow the instructions in README-linux.txt > cd "${S}/build_mozilla" || die "failed to cd ${S}/build_mozilla" > einfo "checking out the latest firefox from CVS (inefficient)" > einfo "instead of trying to pick apart what linden labs is doing" > ./linux-checkout_patch_build.sh || die > cd "${S}" || die "failed to cd ${S}" > ./copy_products_linux.sh || die > ./build-linux-llmozlib.sh || die >} > >src_install() { > cd "${S}" || die "failed to cd ${S}" > LIBNAME="`sed -e 's/LIBNAME=//p;d' build-linux-llmozlib.sh | head -n1`" > mkdir -p "${D}/usr/share/games/secondlife/lib/llmozlib" || die > cp "${LIBNAME}.a" "${D}/usr/share/games/secondlife/lib/" || die > # or is lib_release supposed to be runtime_release? > #cd "libraries/`uname -m`-linux/lib_release" > #cp libmozjs.so libprofdirserviceprovider_s.a libnspr4.so libplc4.so \ > # libplds4.so > cp "libraries/`uname -m`-linux/lib_release"/* \ > "${D}/usr/share/games/secondlife/lib/llmozlib/" || die >} ></PRE></BODY></HTML>
Created attachment 152481 [details] linden labs' mozlib2 required for secondlife-1.19.1.84244.ebuild Version bump. This is for secondlife 1.19.1.4, though Linden Labs chose to call it secondlife-Branch_1-19-1-Viewer-r84244 so I call it secondlife-1.19.1.84244. This ebuild is required unless you turn on USE="nomozlib" in which case secondlife still compiles, but it's pretty likely you won't be able to use the program successfully. mozlib2 is the integrated firefox that renders to an OpenGL surface. /usr/portage/local/layman/secondlife/dev-libs/llmozlib-svn/llmozlib-svn-2.13.ebuild and run ebuild llmozlib-svn-2.13.ebuild digest This ebuild has one patch. Edit: fix the install location of libllmozlib2.a
Created attachment 152485 [details, diff] put in secondlife/files - new patch goes with secondlife-1.19.1.84244.ebuild Version bump. This is for secondlife 1.19.1.4, though Linden Labs chose to call it secondlife-Branch_1-19-1-Viewer-r84244 so I call it secondlife-1.19.1.84244. /usr/portage/local/layman/secondlife/games-simulation/secondlife/files/secondlife-Branch_1-19-1-Viewer-r84244-gentoo.patch
Created attachment 152487 [details] Second Life 1.19.1.4 r84244 ebuild Version bump. This is for secondlife 1.19.1.4, though Linden Labs chose to call it secondlife-Branch_1-19-1-Viewer-r84244 so I call it secondlife-1.19.1.84244. Tested on amd64 and x86. gstreamer not tested.
Created attachment 152745 [details] linden labs' mozlib2 required for secondlife-1.19.1.84244.ebuild Version bump. This is for secondlife 1.19.1.4, though Linden Labs chose to call it secondlife-Branch_1-19-1-Viewer-r84244 so I call it secondlife-1.19.1.84244. This ebuild is required unless you turn on USE="nomozlib" in which case secondlife still compiles, but it's pretty likely you won't be able to use the program successfully. mozlib2 is the integrated firefox that renders to an OpenGL surface. /usr/portage/local/layman/secondlife/dev-libs/llmozlib-svn/llmozlib-svn-2.13.ebuild and run ebuild llmozlib-svn-2.13.ebuild digest This ebuild has one patch. Edit: fix the install location of libllmozlib2.a Edit: add dependency >=dev-libs/libIDL-0.8.0
Created attachment 152747 [details, diff] put in secondlife/files - new patch goes with secondlife-1.19.1.84244.ebuild Version bump. This is for secondlife 1.19.1.4, though Linden Labs chose to call it secondlife-Branch_1-19-1-Viewer-r84244 so I call it secondlife-1.19.1.84244. /usr/portage/local/layman/secondlife/games-simulation/secondlife/files/secondlife-Branch_1-19-1-Viewer-r84244-gentoo.patch
Created attachment 152749 [details] Second Life 1.19.1.4 r84244 ebuild Version bump. This is for secondlife 1.19.1.4, though Linden Labs chose to call it secondlife-Branch_1-19-1-Viewer-r84244 so I call it secondlife-1.19.1.84244. Tested on amd64 and x86. gstreamer not tested. Edit: added nostandalone USE flag for x86_64 (STANDALONE=no by default on x86). However, do-not-run-directly-secondlife-bin crashes on x86_64 with USE="nostandalone": # INFO: setStartupState: Startup state changing from 19 to 20 *** glibc detected *** bin/do-not-directly-run-secondlife-bin: double free or corruption (fasttop): 0x0000000004cd89a0 *** ======= Backtrace: ========= /lib/libc.so.6[0x7fe993330aad] /lib/libc.so.6(cfree+0x76)[0x7fe993332796] /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/libstdc++.so.6(_ZNSs6assignERKSs+0xac)[0x7fe993b3194c] bin/do-not-directly-run-secondlife-bin[0x198e895]
The ebuild in the secondlife-overlay do not work for me: i686-pc-linux-gnu-g++ -o i686-linux-client-release/llrender/llimagegl.o -c -g -pipe -Wall -Wno-reorder -Wno-trigraphs -Wno-sign-compare -fexceptions -pthread -D_REENTRANT -fno-math-errno -fsigned-char -fno-strict-aliasing -falign-loops=16 -ffast-math -O2 -march=pentium-m -pipe -D_FORTIFY_SOURCE=2 -DLL_STANDALONE -DLL_MESA_HEADLESS=0 -DLL_MESA=0 -DLL_LINUX=1 -DAPPID=secondlife -DLL_SDL=1 -DLL_FMOD=0 -DLL_X11=1 -DLL_GTK=1 -DLL_ELFBIN=0 -DLL_LLMOZLIB_ENABLED=0 -DLL_GSTREAMER_ENABLED=1 -DNDEBUG -DLL_RELEASE=1 -Illcommon -Illmath -Illwindow -Illaudio -Illcharacter -Illcrashlogger -Illdatabase -Illhavok -Illimage -Illinventory -Illmedia -Illmessage -Illprimitive -Illrender -Illscene -Illui -Illvfs -Illwindow -Illxml -Ilscript -Ilscript/lscript_compile -I/var/tmp/portage/games-simulation/secondlife-1.19.1.4/work/linden/libraries/include -I/var/tmp/portage/games-simulation/secondlife-1.19.1.4/work/linden/libraries/include/havok -I/var/tmp/portage/games-simulation/secondlife-1.19.1.4/work/linden/libraries/i686-linux/include -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/SDL -I/usr/include/gstreamer-0.10 -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/kerberos/include -I/var/tmp/portage/games-simulation/secondlife-1.19.1.4/work/linden/libraries/i686-linux/include/gstreamer-0.10 -I/var/tmp/portage/games-simulation/secondlife-1.19.1.4/work/linden/libraries/i686-linux/include/glib-2.0 -I/var/tmp/portage/games-simulation/secondlife-1.19.1.4/work/linden/libraries/i686-linux/include/glib-2.0/include -I/var/tmp/portage/games-simulation/secondlife-1.19.1.4/work/linden/libraries/i686-linux/include/libxml2 i686-linux-client-release/llrender/llimagegl.cpp i686-linux-client-release/llrender/llimagegl.cpp: In static member function 'static void LLImageGL::bindExternalTexture(LLGLuint, S32, LLGLenum)': i686-linux-client-release/llrender/llimagegl.cpp:131: error: 'glActiveTextureARB' was not declared in this scope i686-linux-client-release/llrender/llimagegl.cpp:132: error: 'glClientActiveTextureARB' was not declared in this scope i686-linux-client-release/llrender/llimagegl.cpp: In static member function 'static void LLImageGL::unbindTexture(S32, LLGLenum)': i686-linux-client-release/llrender/llimagegl.cpp:144: error: 'glActiveTextureARB' was not declared in this scope i686-linux-client-release/llrender/llimagegl.cpp:145: error: 'glClientActiveTextureARB' was not declared in this scope i686-linux-client-release/llrender/llimagegl.cpp: In static member function 'static void LLImageGL::unbindTexture(S32)': i686-linux-client-release/llrender/llimagegl.cpp:158: error: 'glActiveTextureARB' was not declared in this scope i686-linux-client-release/llrender/llimagegl.cpp:159: error: 'glClientActiveTextureARB' was not declared in this scope i686-linux-client-release/llrender/llimagegl.cpp: In member function 'BOOL LLImageGL::bindTextureInternal(S32) const': i686-linux-client-release/llrender/llimagegl.cpp:422: error: 'glActiveTextureARB' was not declared in this scope i686-linux-client-release/llrender/llimagegl.cpp: In member function 'void LLImageGL::destroyGLTexture()': i686-linux-client-release/llrender/llimagegl.cpp:1060: error: 'glActiveTextureARB' was not declared in this scope scons: *** [i686-linux-client-release/llrender/llimagegl.o] Error 1 scons: building terminated because of errors. * * ERROR: games-simulation/secondlife-1.19.1.4 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2348: Called die * The specific snippet of code: * TEMP_BUILD_DIR= scons ${myopts} || die * The die message: * (no error message) * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/games-simulation/secondlife-1.19.1.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-simulation/secondlife-1.19.1.4/temp/environment'. * * Messages for package games-simulation/secondlife-1.19.1.4: * * ERROR: games-simulation/secondlife-1.19.1.4 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2348: Called die * The specific snippet of code: * TEMP_BUILD_DIR= scons ${myopts} || die * The die message: * (no error message) * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/games-simulation/secondlife-1.19.1.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-simulation/secondlife-1.19.1.4/temp/environment'. *
see #89 (In reply to comment #165) > The ebuild in the secondlife-overlay do not work for me: > > i686-pc-linux-gnu-g++ -o i686-linux-client-release/llrender/llimagegl.o -c -g > -pipe -Wall -Wno-reorder -Wno-trigraphs -Wno-sign-compare -fexceptions -pthread > -D_REENTRANT -fno-math-errno -fsigned-char -fno-strict-aliasing > -falign-loops=16 -ffast-math -O2 -march=pentium-m -pipe -D_FORTIFY_SOURCE=2 > -DLL_STANDALONE -DLL_MESA_HEADLESS=0 -DLL_MESA=0 -DLL_LINUX=1 > -DAPPID=secondlife -DLL_SDL=1 -DLL_FMOD=0 -DLL_X11=1 -DLL_GTK=1 -DLL_ELFBIN=0 > -DLL_LLMOZLIB_ENABLED=0 -DLL_GSTREAMER_ENABLED=1 -DNDEBUG -DLL_RELEASE=1 > -Illcommon -Illmath -Illwindow -Illaudio -Illcharacter -Illcrashlogger > -Illdatabase -Illhavok -Illimage -Illinventory -Illmedia -Illmessage > -Illprimitive -Illrender -Illscene -Illui -Illvfs -Illwindow -Illxml -Ilscript > -Ilscript/lscript_compile > -I/var/tmp/portage/games-simulation/secondlife-1.19.1.4/work/linden/libraries/include > -I/var/tmp/portage/games-simulation/secondlife-1.19.1.4/work/linden/libraries/include/havok > -I/var/tmp/portage/games-simulation/secondlife-1.19.1.4/work/linden/libraries/i686-linux/include > -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 > -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 > -I/usr/include/SDL -I/usr/include/gstreamer-0.10 -I/usr/include/libxml2 > -I/usr/include/apr-1 -I/usr/kerberos/include > -I/var/tmp/portage/games-simulation/secondlife-1.19.1.4/work/linden/libraries/i686-linux/include/gstreamer-0.10 > -I/var/tmp/portage/games-simulation/secondlife-1.19.1.4/work/linden/libraries/i686-linux/include/glib-2.0 > -I/var/tmp/portage/games-simulation/secondlife-1.19.1.4/work/linden/libraries/i686-linux/include/glib-2.0/include > -I/var/tmp/portage/games-simulation/secondlife-1.19.1.4/work/linden/libraries/i686-linux/include/libxml2 > i686-linux-client-release/llrender/llimagegl.cpp > i686-linux-client-release/llrender/llimagegl.cpp: In static member function > 'static void LLImageGL::bindExternalTexture(LLGLuint, S32, LLGLenum)': > i686-linux-client-release/llrender/llimagegl.cpp:131: error: > 'glActiveTextureARB' was not declared in this scope > i686-linux-client-release/llrender/llimagegl.cpp:132: error: > 'glClientActiveTextureARB' was not declared in this scope > i686-linux-client-release/llrender/llimagegl.cpp: In static member function > 'static void LLImageGL::unbindTexture(S32, LLGLenum)': > i686-linux-client-release/llrender/llimagegl.cpp:144: error: > 'glActiveTextureARB' was not declared in this scope > i686-linux-client-release/llrender/llimagegl.cpp:145: error: > 'glClientActiveTextureARB' was not declared in this scope > i686-linux-client-release/llrender/llimagegl.cpp: In static member function > 'static void LLImageGL::unbindTexture(S32)': > i686-linux-client-release/llrender/llimagegl.cpp:158: error: > 'glActiveTextureARB' was not declared in this scope > i686-linux-client-release/llrender/llimagegl.cpp:159: error: > 'glClientActiveTextureARB' was not declared in this scope > i686-linux-client-release/llrender/llimagegl.cpp: In member function 'BOOL > LLImageGL::bindTextureInternal(S32) const': > i686-linux-client-release/llrender/llimagegl.cpp:422: error: > 'glActiveTextureARB' was not declared in this scope > i686-linux-client-release/llrender/llimagegl.cpp: In member function 'void > LLImageGL::destroyGLTexture()': > i686-linux-client-release/llrender/llimagegl.cpp:1060: error: > 'glActiveTextureARB' was not declared in this scope > scons: *** [i686-linux-client-release/llrender/llimagegl.o] Error 1 > scons: building terminated because of errors. > * > * ERROR: games-simulation/secondlife-1.19.1.4 failed. > * Call stack: > * ebuild.sh, line 49: Called src_compile > * environment, line 2348: Called die > * The specific snippet of code: > * TEMP_BUILD_DIR= scons ${myopts} || die > * The die message: > * (no error message) > * > * If you need support, post the topmost build error, and the call stack if > relevant. > * A complete build log is located at > '/var/tmp/portage/games-simulation/secondlife-1.19.1.4/temp/build.log'. > * The ebuild environment file is located at > '/var/tmp/portage/games-simulation/secondlife-1.19.1.4/temp/environment'. > * > > * Messages for package games-simulation/secondlife-1.19.1.4: > > * > * ERROR: games-simulation/secondlife-1.19.1.4 failed. > * Call stack: > * ebuild.sh, line 49: Called src_compile > * environment, line 2348: Called die > * The specific snippet of code: > * TEMP_BUILD_DIR= scons ${myopts} || die > * The die message: > * (no error message) > * > * If you need support, post the topmost build error, and the call stack if > relevant. > * A complete build log is located at > '/var/tmp/portage/games-simulation/secondlife-1.19.1.4/temp/build.log'. > * The ebuild environment file is located at > '/var/tmp/portage/games-simulation/secondlife-1.19.1.4/temp/environment'. > * >
The current ebuild in the overlay is broken with the current version of c-ares (net-dns/c-ares-1.5.1) x86_64-linux-client-release/llcommon/llares.cpp: In member function 'void LLAres::getHostByName(const char*, LLAres::HostResponder*, int)': x86_64-linux-client-release/llcommon/llares.cpp:147: error: invalid conversion from 'void (*)(void*, int, hostent*)' to 'void (*)(void*, int, int, hostent*)' x86_64-linux-client-release/llcommon/llares.cpp:147: error: initializing argument 4 of 'void ares_gethostbyname(ares_channeldata*, const char*, int, void (*)(void*, int, int, hostent*), void*)' x86_64-linux-client-release/llcommon/llares.cpp: In member function 'void LLAres::getNameInfo(const sockaddr&, socklen_t, int, LLAres::NameInfoResponder*)': x86_64-linux-client-release/llcommon/llares.cpp:415: error: invalid conversion from 'void (*)(void*, int, char*, char*)' to 'void (*)(void*, int, int, char*, char*)' x86_64-linux-client-release/llcommon/llares.cpp:415: error: initializing argument 5 of 'void ares_getnameinfo(ares_channeldata*, const sockaddr*, socklen_t, int, void (*)(void*, int, int, char*, char*), void*)' x86_64-linux-client-release/llcommon/llares.cpp: In member function 'void LLAres::search(const std::string&, LLResType, LLAres::QueryResponder*)': x86_64-linux-client-release/llcommon/llares.cpp:443: error: invalid conversion from 'void (*)(void*, int, unsigned char*, int)' to 'void (*)(void*, int, int, unsigned char*, int)' x86_64-linux-client-release/llcommon/llares.cpp:443: error: initializing argument 5 of 'void ares_search(ares_channeldata*, const char*, int, int, void (*)(void*, int, int, unsigned char*, int), void*)' scons: *** [x86_64-linux-client-release/llcommon/llares.o] Error 1 scons: building terminated because of errors. Bumping the ebuild to Branch_1-20-Viewer-r86487 does not help, you might need to change the DEPEND?
(In reply to comment #167) > The current ebuild in the overlay is broken with the current version of c-ares > (net-dns/c-ares-1.5.1) Fixed in svn.
I get with the latest overlay: -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/SDL -I/usr/include/gstreamer-0.10 -I/usr/include/libxml2 -I/usr/include/apr-1 -I/var/tmp/portage/games-simulation/secondlife-1.19.1.4-r1/work/linden/libraries/i686-linux/include/gstreamer-0.10 -I/var/tmp/portage/games-simulation/secondlife-1.19.1.4-r1/work/linden/libraries/i686-linux/include/glib-2.0 -I/var/tmp/portage/games-simulation/secondlife-1.19.1.4-r1/work/linden/libraries/i686-linux/include/glib-2.0/include -I/var/tmp/portage/games-simulation/secondlife-1.19.1.4-r1/work/linden/libraries/i686-linux/include/libxml2 i686-linux-client-release/llmessage/llmessagethrottle.cpp In file included from i686-linux-client-release/llmessage/llmessagethrottle.cpp:34: llcommon/llhash.h:42:31: error: ext/hashtable.h: No such file or directory In file included from i686-linux-client-release/llmessage/llmessagethrottle.cpp:34: llcommon/llhash.h: In function 'size_t llhash(T)': llcommon/llhash.h:62: error: 'hash' is not a member of '__gnu_cxx' llcommon/llhash.h:62: error: expected primary-expression before '>' token llcommon/llhash.h:62: error: 'H' was not declared in this scope scons: *** [i686-linux-client-release/llmessage/llmessagethrottle.o] Error 1 scons: building terminated because of errors.
Created attachment 156521 [details, diff] gcc43 fixes for secondlife Some gcc 4.3 fixes. If anyone wants to send upstream feel free. I'll probably not get to it within the next days.
trying to build secondlife from source with secondlife-1.19.1.4-r1.ebuild I get the following: ar rc lib_release_client/i686-linux/libllui.a i686-linux-client-release/llui/llalertdialog.o i686-linux-client-release/llui/llbutton.o i686-linux-client-release/llui/llcheckboxctrl.o i686-linux-client-release/llui/llclipboard.o i686-linux-client-release/llui/llcombobox.o i686-linux-client-release/llui/llctrlselectioninterface.o i686-linux-client-release/llui/lldraghandle.o i686-linux-client-release/llui/lleditmenuhandler.o i686-linux-client-release/llui/llfloater.o i686-linux-client-release/llui/llfocusmgr.o i686-linux-client-release/llui/lliconctrl.o i686-linux-client-release/llui/llkeywords.o i686-linux-client-release/llui/lllineeditor.o i686-linux-client-release/llui/llmenugl.o i686-linux-client-release/llui/llmodaldialog.o i686-linux-client-release/llui/llmultislider.o i686-linux-client-release/llui/llmultisliderctrl.o i686-linux-client-release/llui/llpanel.o i686-linux-client-release/llui/llradiogroup.o i686-linux-client-release/llui/llresizebar.o i686-linux-client-release/llui/llresizehandle.o i686-linux-client-release/llui/llresmgr.o i686-linux-client-release/llui/llrootview.o i686-linux-client-release/llui/llscrollbar.o i686-linux-client-release/llui/llscrollcontainer.o i686-linux-client-release/llui/llscrollingpanellist.o i686-linux-client-release/llui/llscrolllistctrl.o i686-linux-client-release/llui/llslider.o i686-linux-client-release/llui/llsliderctrl.o i686-linux-client-release/llui/llspinctrl.o i686-linux-client-release/llui/llstyle.o i686-linux-client-release/llui/lltabcontainer.o i686-linux-client-release/llui/lltabcontainervertical.o i686-linux-client-release/llui/lltextbox.o i686-linux-client-release/llui/lltexteditor.o i686-linux-client-release/llui/llui.o i686-linux-client-release/llui/lluictrl.o i686-linux-client-release/llui/lluictrlfactory.o i686-linux-client-release/llui/lluistring.o i686-linux-client-release/llui/llundo.o i686-linux-client-release/llui/llview.o i686-linux-client-release/llui/llviewborder.o i686-linux-client-release/llui/llviewquery.o i686-linux-client-release/llui/llmultislider.o i686-linux-client-release/llui/llmultisliderctrl.o ranlib lib_release_client/i686-linux/libllui.a scons: *** Source `/var/tmp/portage/games-simulation/secondlife-1.19.1.4-r1/work/linden/libraries/i686-linux/lib_release_client/libaprutil-1.so' not found, needed by target `linux_crash_logger/linux-crash-logger-i686-bin-globalsyms'. Stop. scons: building terminated because of errors. * * ERROR: games-simulation/secondlife-1.19.1.4-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2339: Called die * The specific snippet of code: * TEMP_BUILD_DIR= scons ${myopts} || die * The die message: * (no error message) * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/games-simulation/secondlife-1.19.1.4-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-simulation/secondlife-1.19.1.4-r1/temp/environment'. * The referenced file /var/tmp/portage/games-simulation/secondlife-1.19.1.4-r1/work/linden/libraries/i686-linux/lib_release_client/libaprutil-1.so is a symlink to a nonexistant libaprutil-1.so.0 in the same directory. Reading through http://wiki.secondlife.com/wiki/Compiling_the_viewer_(Linux)#Installing_the_required_dependencies_.28prepackaged_by_Linden_labs.29 I figure this is one of the files, that should be added to the directory structure by this line in the ebuild: unpack slviewer-linux-libs-${MY_PV}.tar.gz So either that doesn't do what it should, or the files get deleted during the build process?? Also I don't understand why the ebuild both depends on all the packages listed in the above link AND unpacks slviewer-linux-libs-${MY_PV}.tar.gz - from reading through the instructions at the secondlife wiki I got the impression it was EITHER do one or the other?? Anyway, I understand too little of any of this to be able to fix it myself - have been trying for a few hours already. Could anyone help me out? I have tried apr and apr-util versions 1.3.0, 1.2.11 (with apr-util version 1.2.10) and 1.2.8.
The secondlife-1.19.1.84244.ebuild is seriously b0rked! It mixes the standalone with the provided libs approach, the patch belonging to the ebuild does funny things with the xmlrpc-epi pathes... Also, the llmozlib build seems rather blown, it could be depending on gentoos xulrunner and seamonkey builds, i think. And it does NOT install llmozlib2.h!! I am trying to fix these things, but I can only check for x86 systems. Will upload my stuff until next weekend.
Here are newer ebuilds: http://gentoo.zugaina.org/games-simulation.html.en
secondlife-bin is now in portage (has been for a while, but just found this bug). I'll add a src build as soon as we have one.
Just added a build-from-source ebuild to the tree: games-simulation/secondlife It is the newest release candidate, and it is keyworded for ~amd64. If you have x86 and can test, please let me know if this works. Still working on audio (and streaming and voice, of course), but the viewer seems to work. The font looks different than that used in the binary dist, however.