diff options
author | Armin Weatherwax | 2009-12-04 11:03:07 +0100 |
---|---|---|
committer | Jacek Antonelli | 2010-01-03 16:31:13 -0600 |
commit | d057e71bcd0a93a18edda2659c49fdf537031d49 (patch) | |
tree | c6b0224511a5678395704e80c2a6b09554b5cb82 /linden/indra/newview/linux_tools | |
parent | Merge test release. (diff) | |
download | meta-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-x | linden/indra/newview/linux_tools/wrapper.sh | 45 |
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. |
51 | if [ "`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 |
54 | fi | 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 | |||
115 | fi | 118 | fi |
116 | 119 | ||
117 | export GST_PLUGIN_PATH="${GST_PLUGIN_PATH}:${RUN_PATH}/lib/gstreamer-plugins/" | 120 | export GST_PLUGIN_PATH="${GST_PLUGIN_PATH}:${RUN_PATH}/lib/gstreamer-plugins/" |
118 | 121 | if [ "`uname -m`" = "x86_64" ]; then | |
119 | export 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}"' |
123 | else | ||
124 | export SL_ENV='LD_LIBRARY_PATH="`pwd`"/lib:"`pwd`"/app_settings/mozilla-runtime-linux-i686:"${LD_LIBRARY_PATH}"' | ||
125 | fi | ||
120 | export SL_CMD='$LL_WRAPPER bin/do-not-directly-run-imprudence-bin' | 126 | export SL_CMD='$LL_WRAPPER bin/do-not-directly-run-imprudence-bin' |
121 | export SL_OPT="`cat gridargs.dat` $@" | 127 | export 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 |
135 | You are running the Imprudence Viewer on a x86_64 platform. The | 141 | # echo |
136 | most 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 |
138 | loading shared libraries') may be solved by installing your Linux | 144 | #most common problems when launching the Viewer (particularly |
139 | distribution's 32-bit compatibility packages. | 145 | #'bin/do-not-directly-run-imprudence-bin: not found' and 'error while |
140 | For 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. |
142 | EOFMARKER | 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 |
145 | fi | 154 | fi |