aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/linux_tools/wrapper.sh
diff options
context:
space:
mode:
authorArmin Weatherwax2010-03-12 11:24:34 +0100
committerJacek Antonelli2010-03-13 01:29:23 -0600
commitdbc1ee5f75971a52116a6a331ba1ca98b4662532 (patch)
tree13fbf1adc33a926b627f04e98b453010197f3cd4 /linden/indra/newview/linux_tools/wrapper.sh
parentVWR-2425: Pie menu remains after switch to Mouselook. (diff)
downloadmeta-impy-dbc1ee5f75971a52116a6a331ba1ca98b4662532.zip
meta-impy-dbc1ee5f75971a52116a6a331ba1ca98b4662532.tar.gz
meta-impy-dbc1ee5f75971a52116a6a331ba1ca98b4662532.tar.bz2
meta-impy-dbc1ee5f75971a52116a6a331ba1ca98b4662532.tar.xz
Set correct paths when running in 32bit mode on 64bit Linux.
Diffstat (limited to 'linden/indra/newview/linux_tools/wrapper.sh')
-rwxr-xr-xlinden/indra/newview/linux_tools/wrapper.sh28
1 files changed, 3 insertions, 25 deletions
diff --git a/linden/indra/newview/linux_tools/wrapper.sh b/linden/indra/newview/linux_tools/wrapper.sh
index 93258f4..8a81843 100755
--- a/linden/indra/newview/linux_tools/wrapper.sh
+++ b/linden/indra/newview/linux_tools/wrapper.sh
@@ -45,16 +45,6 @@
45## disable these by enabling this option: 45## disable these by enabling this option:
46#export LL_DISABLE_GSTREAMER=x 46#export LL_DISABLE_GSTREAMER=x
47 47
48## - GStreamer is automatically disabled - for now - on 64-bit systems due
49## to common fatal incompatibilities; remove/comment these lines if you want
50## to try anyway.
51
52#FIXME:->
53#if [ "`uname -m`" = "x86_64" ]; then
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:<-
58 48
59## Everything below this line is just for advanced troubleshooters. 49## Everything below this line is just for advanced troubleshooters.
60##------------------------------------------------------------------- 50##-------------------------------------------------------------------
@@ -117,7 +107,7 @@ if [ -n "$LL_TCMALLOC" ]; then
117 fi 107 fi
118fi 108fi
119 109
120if [ "`uname -m`" = "x86_64" ]; then 110if ([ "`uname -m`" = "x86_64" ] && [ -d ${RUN_PATH}/app_settings/mozilla-runtime-linux-x86_64/ ]); then
121 export GST_PLUGIN_PATH="${GST_PLUGIN_PATH}:${RUN_PATH}/lib64/gstreamer-plugins/" 111 export GST_PLUGIN_PATH="${GST_PLUGIN_PATH}:${RUN_PATH}/lib64/gstreamer-plugins/"
122 112
123 export SL_ENV='LD_LIBRARY_PATH="`pwd`"/lib64:"`pwd`"/lib32:"`pwd`"/app_settings/mozilla-runtime-linux-x86_64:"${LD_LIBRARY_PATH}"' 113 export SL_ENV='LD_LIBRARY_PATH="`pwd`"/lib64:"`pwd`"/lib32:"`pwd`"/app_settings/mozilla-runtime-linux-x86_64:"${LD_LIBRARY_PATH}"'
@@ -125,6 +115,7 @@ else
125 export GST_PLUGIN_PATH="${GST_PLUGIN_PATH}:${RUN_PATH}/lib/gstreamer-plugins/" 115 export GST_PLUGIN_PATH="${GST_PLUGIN_PATH}:${RUN_PATH}/lib/gstreamer-plugins/"
126 export SL_ENV='LD_LIBRARY_PATH="`pwd`"/lib:"`pwd`"/app_settings/mozilla-runtime-linux-i686:"${LD_LIBRARY_PATH}"' 116 export SL_ENV='LD_LIBRARY_PATH="`pwd`"/lib:"`pwd`"/app_settings/mozilla-runtime-linux-i686:"${LD_LIBRARY_PATH}"'
127fi 117fi
118
128export SL_CMD='$LL_WRAPPER bin/do-not-directly-run-imprudence-bin' 119export SL_CMD='$LL_WRAPPER bin/do-not-directly-run-imprudence-bin'
129export SL_OPT="`cat gridargs.dat` $@" 120export SL_OPT="`cat gridargs.dat` $@"
130 121
@@ -138,19 +129,6 @@ if [ -n "$LL_RUN_ERR" ]; then
138 # generic error running the binary 129 # generic error running the binary
139 echo '*** Bad shutdown. ***' 130 echo '*** Bad shutdown. ***'
140 131
141#FIXME: -> 132
142# if [ "`uname -m`" = "x86_64" ]; then
143# echo
144# cat << EOFMARKER
145#You are running the Imprudence Viewer on a x86_64 platform. The
146#most common problems when launching the Viewer (particularly
147#'bin/do-not-directly-run-imprudence-bin: not found' and 'error while
148#loading shared libraries') may be solved by installing your Linux
149#distribution's 32-bit compatibility packages.
150#For example, on Ubuntu and other Debian-based Linuxes you might run:
151#$ sudo apt-get install ia32-libs ia32-libs-gtk ia32-libs-kde ia32-libs-sdl
152#EOFMARKER
153# fi
154#FIXME: <-
155 fi 133 fi
156fi 134fi