aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/linux_tools
diff options
context:
space:
mode:
authorArmin Weatherwax2009-12-04 11:03:07 +0100
committerJacek Antonelli2010-01-03 16:31:13 -0600
commitd057e71bcd0a93a18edda2659c49fdf537031d49 (patch)
treec6b0224511a5678395704e80c2a6b09554b5cb82 /linden/indra/newview/linux_tools
parentMerge test release. (diff)
downloadmeta-impy-d057e71bcd0a93a18edda2659c49fdf537031d49.zip
meta-impy-d057e71bcd0a93a18edda2659c49fdf537031d49.tar.gz
meta-impy-d057e71bcd0a93a18edda2659c49fdf537031d49.tar.bz2
meta-impy-d057e71bcd0a93a18edda2659c49fdf537031d49.tar.xz
Trying the new 64bit libs and adding the adjustments needed.
(Cherry picked by Jacek from 13412855)
Diffstat (limited to 'linden/indra/newview/linux_tools')
-rwxr-xr-xlinden/indra/newview/linux_tools/wrapper.sh45
1 files changed, 27 insertions, 18 deletions
diff --git a/linden/indra/newview/linux_tools/wrapper.sh b/linden/indra/newview/linux_tools/wrapper.sh
index 00d91f4..cb07784 100755
--- a/linden/indra/newview/linux_tools/wrapper.sh
+++ b/linden/indra/newview/linux_tools/wrapper.sh
@@ -48,10 +48,13 @@
48## - GStreamer is automatically disabled - for now - on 64-bit systems due 48## - GStreamer is automatically disabled - for now - on 64-bit systems due
49## to common fatal incompatibilities; remove/comment these lines if you want 49## to common fatal incompatibilities; remove/comment these lines if you want
50## to try anyway. 50## to try anyway.
51if [ "`uname -m`" = "x86_64" ]; then 51
52 export LL_DISABLE_GSTREAMER=x 52#FIXME:->
53 echo '64-bit Linux detected: Disabling GStreamer (streaming video and music) by default; edit ./secondlife to re-enable.' 53#if [ "`uname -m`" = "x86_64" ]; then
54fi 54# export LL_DISABLE_GSTREAMER=x
55# echo '64-bit Linux detected: Disabling GStreamer (streaming video and music) by default; edit ./secondlife to re-enable.'
56#fi
57#FIXME:<-
55 58
56## Everything below this line is just for advanced troubleshooters. 59## Everything below this line is just for advanced troubleshooters.
57##------------------------------------------------------------------- 60##-------------------------------------------------------------------
@@ -115,8 +118,11 @@ if [ -n "$LL_TCMALLOC" ]; then
115fi 118fi
116 119
117export GST_PLUGIN_PATH="${GST_PLUGIN_PATH}:${RUN_PATH}/lib/gstreamer-plugins/" 120export GST_PLUGIN_PATH="${GST_PLUGIN_PATH}:${RUN_PATH}/lib/gstreamer-plugins/"
118 121if [ "`uname -m`" = "x86_64" ]; then
119export SL_ENV='LD_LIBRARY_PATH="`pwd`"/lib:"`pwd`"/app_settings/mozilla-runtime-linux-i686:"${LD_LIBRARY_PATH}"' 122 export SL_ENV='LD_LIBRARY_PATH="`pwd`"/lib:"`pwd`"/app_settings/mozilla-runtime-linux-x86_64:"${LD_LIBRARY_PATH}"'
123else
124 export SL_ENV='LD_LIBRARY_PATH="`pwd`"/lib:"`pwd`"/app_settings/mozilla-runtime-linux-i686:"${LD_LIBRARY_PATH}"'
125fi
120export SL_CMD='$LL_WRAPPER bin/do-not-directly-run-imprudence-bin' 126export SL_CMD='$LL_WRAPPER bin/do-not-directly-run-imprudence-bin'
121export SL_OPT="`cat gridargs.dat` $@" 127export SL_OPT="`cat gridargs.dat` $@"
122 128
@@ -129,17 +135,20 @@ if [ -n "$LL_RUN_ERR" ]; then
129 if [ "$LL_RUN_ERR" = "runerr" ]; then 135 if [ "$LL_RUN_ERR" = "runerr" ]; then
130 # generic error running the binary 136 # generic error running the binary
131 echo '*** Bad shutdown. ***' 137 echo '*** Bad shutdown. ***'
132 if [ "`uname -m`" = "x86_64" ]; then 138
133 echo 139#FIXME: ->
134 cat << EOFMARKER 140# if [ "`uname -m`" = "x86_64" ]; then
135You are running the Imprudence Viewer on a x86_64 platform. The 141# echo
136most common problems when launching the Viewer (particularly 142# cat << EOFMARKER
137'bin/do-not-directly-run-imprudence-bin: not found' and 'error while 143#You are running the Imprudence Viewer on a x86_64 platform. The
138loading shared libraries') may be solved by installing your Linux 144#most common problems when launching the Viewer (particularly
139distribution's 32-bit compatibility packages. 145#'bin/do-not-directly-run-imprudence-bin: not found' and 'error while
140For example, on Ubuntu and other Debian-based Linuxes you might run: 146#loading shared libraries') may be solved by installing your Linux
141$ sudo apt-get install ia32-libs ia32-libs-gtk ia32-libs-kde ia32-libs-sdl 147#distribution's 32-bit compatibility packages.
142EOFMARKER 148#For example, on Ubuntu and other Debian-based Linuxes you might run:
143 fi 149#$ sudo apt-get install ia32-libs ia32-libs-gtk ia32-libs-kde ia32-libs-sdl
150#EOFMARKER
151# fi
152#FIXME: <-
144 fi 153 fi
145fi 154fi