my system specs – hardware and software i use.
if you need info about the debian packages installed on my Ubuntu Edgy system, see precedent post or leave a comment.
unpacked (grabbed from here. see also the source archive):
- tar xzf slviewer-src-20070112c.tar.gz
- tar xzf slviewer-linux-libs-20070112c.tar.gz
- tar xzf fmodapi375linux.tar.gz
copied required FMOD headers and libraries into the Second Life Viewer source tree:
- cd into the FMOD directory
- cp api/inc/* ../linden/libraries/i686-linux/include/
- cp api/libfmod-3.75.so ../linden/libraries/i686-linux/lib_release_client/
copied other headers:
- export SLSRC=…/linden/
- cp -a /usr/include/atk-1.0 ${SLSRC}/libraries/i686-linux/include/
- cp -a /usr/include/gtk-2.0 ${SLSRC}/libraries/i686-linux/include/
- cp -a /usr/lib/gtk-2.0/include/* ${SLSRC}/libraries/i686-linux/include/gtk-2.0/
- cp -a /usr/include/glib-2.0 ${SLSRC}/libraries/i686-linux/include/
- cp -a /usr/lib/glib-2.0/include/* ${SLSRC}/libraries/i686-linux/include/glib-2.0/
- cp -a /usr/include/pango-1.0 ${SLSRC}/libraries/i686-linux/include/
i’m using slviewer-linux-libs so i don’t need other headers or libs
i edited the client-manifest-i686 file in indra/newview/linux_tools decommenting two kdu-related lines
at 1st try i got an error about cairo not found, so i also did:
- cp -a /usr/include/cairo/* ${SLSRC}/libraries/i686-linux/include/
note: the leading spaces from the 6 ‘ ../libraries/’ strings from around line 187 onwards were already the removed for me in the indra/SConstruct file
then i get into the indra directory and start building (15.00 italian time):
- scons DISTCC=no BTARGET=client BUILD=releasefordownload
two hours and half later, the build is complete.
i extract the resulting bz2 archive, but app_settings lacks lots of files.
i made some mistake but i don’t know what.
instead, i can succesfully run the client from the source tree. veery slow. so i try
- cp “$SLSRC/libraries/i686-linux/lib_release_client/libllkdu.so” “$SLSRC/indra/newview/libllkdu.so”
- mkdir “$SLSRC/indra/lib”
- cp “$SLSRC/libraries/i686-linux/lib_release_client/libkdu_v42R.so” “$SLSRC/indra/lib/libkdu_v42R.so” -i
and then it runs good!
complete build output follows.
strip -S -o newview/secondlife-i686-bin-stripped newview/secondlife-i686-bin
strip -S -o linux_crash_logger/linux-crash-logger-i686-bin-stripped linux_crash_logger/linux-crash-logger-i686-bin
rm -rf newview/SecondLife_i686_1_13_1_7* && newview/linux_tools/package-client.sh linux_tools/client-manifest-i686 SecondLife_i686_1_13_1_7 default
Checking manifest…
Done.
[: 47: SecondLife_i686_1_13_1_7: unexpected operator
Building newview/SecondLife_i686_1_13_1_7 directory…
[: 89: ==: unexpected operator
[: 89: ==: unexpected operator
[: 89: ==: unexpected operator
[: 89: ==: unexpected operator
[: 89: ==: unexpected operator
[: 89: ==: unexpected operator
[: 89: ==: unexpected operator
[: 89: ==: unexpected operator
[: 89: ==: unexpected operator
[: 89: ==: unexpected operator
[: 89: ==: unexpected operator
[: 89: ==: unexpected operator
[: 89: ==: unexpected operator
cp: target `SecondLife_i686_1_13_1_7/app_settings/*’ is not a directory
[: 89: ==: unexpected operator
cp: target `SecondLife_i686_1_13_1_7/character/*’ is not a directory
[: 89: ==: unexpected operator
cp: target `SecondLife_i686_1_13_1_7/fonts/*’ is not a directory
[: 89: ==: unexpected operator
cp: target `SecondLife_i686_1_13_1_7/help/*’ is not a directory
[: 89: ==: unexpected operator
cp: target `SecondLife_i686_1_13_1_7/skins/*’ is not a directory
[: 89: ==: unexpected operator
cp: target `SecondLife_i686_1_13_1_7/res-sdl/*’ is not a directory
[: 89: ==: unexpected operator
[: 89: ==: unexpected operator
[: 89: ==: unexpected operator
[: 89: ==: unexpected operator
[: 89: ==: unexpected operator
[: 89: ==: unexpected operator
[: 89: ==: unexpected operator
[: 89: ==: unexpected operator
[: 89: ==: unexpected operator
[: 89: ==: unexpected operator
[: 89: ==: unexpected operator
[: 89: ==: unexpected operator
[: 89: ==: unexpected operator
[: 89: ==: unexpected operator
[: 89: ==: unexpected operator
Done.
Pruning CVS directories from newview/SecondLife_i686_1_13_1_7 directory…
Done removing CVS directories.
Pruning .svn directories from newview/SecondLife_i686_1_13_1_7 directory…
Done removing .svn directories.
[: 111: ==: unexpected operator
Creating gridargs.dat for package, grid default
[: 120: SecondLife_i686_1_13_1_7.tar.bz2: unexpected operator
Creating tarball newview/SecondLife_i686_1_13_1_7.tar.bz2…
Done.
scons: done building targets.
Did you succedded ?
Comment by linux — November 26, 2007 @ 6:16 pm
[...] Compiling the Second Life Viewer source code on Ubuntu Edgy – 2 « Personal media in Second Life Hope to one day get round to doing this! (tags: compile Second Life Viewer source code on Ubuntu Edgy) SHARETHIS.addEntry({ title: “links for 2007-12-10″, url: “http://www.simonscullion.com/2007/12/10/links-for-2007-12-10/” }); [...]
Pingback by Simon Scullion » links for 2007-12-10 — December 10, 2007 @ 10:20 pm