diff options
author | Armin Weatherwax | 2009-12-04 11:03:07 +0100 |
---|---|---|
committer | Jacek Antonelli | 2010-04-28 23:04:21 -0500 |
commit | 1fc0936f2eff90370404fa3c03fb64a266ac06bd (patch) | |
tree | 97ff3ea39f8350ae16cd23c95fbcec4c0e77cb95 /linden/indra/newview/linux_tools/wrapper.sh | |
parent | Updated ChangeLog.txt and RELEASE_NOTES.txt for version 1.2.2. (diff) | |
download | meta-impy-1fc0936f2eff90370404fa3c03fb64a266ac06bd.zip meta-impy-1fc0936f2eff90370404fa3c03fb64a266ac06bd.tar.gz meta-impy-1fc0936f2eff90370404fa3c03fb64a266ac06bd.tar.bz2 meta-impy-1fc0936f2eff90370404fa3c03fb64a266ac06bd.tar.xz |
Trying the new 64bit libs and adding the adjustments needed.
(Backported from d057e71bc) @nochangelog
Diffstat (limited to 'linden/indra/newview/linux_tools/wrapper.sh')
-rwxr-xr-x | linden/indra/newview/linux_tools/wrapper.sh | 50 |
1 files changed, 35 insertions, 15 deletions
diff --git a/linden/indra/newview/linux_tools/wrapper.sh b/linden/indra/newview/linux_tools/wrapper.sh index 2834947..d6db100 100755 --- a/linden/indra/newview/linux_tools/wrapper.sh +++ b/linden/indra/newview/linux_tools/wrapper.sh | |||
@@ -41,6 +41,20 @@ | |||
41 | ## driver bug, try enabling this option and report whether it helps: | 41 | ## driver bug, try enabling this option and report whether it helps: |
42 | #export LL_ATI_MOUSE_CURSOR_BUG=x | 42 | #export LL_ATI_MOUSE_CURSOR_BUG=x |
43 | 43 | ||
44 | ## - If you experience crashes with streaming video and music, you can | ||
45 | ## disable these by enabling this option: | ||
46 | #export LL_DISABLE_GSTREAMER=x | ||
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:<- | ||
44 | 58 | ||
45 | ## Everything below this line is just for advanced troubleshooters. | 59 | ## Everything below this line is just for advanced troubleshooters. |
46 | ##------------------------------------------------------------------- | 60 | ##------------------------------------------------------------------- |
@@ -106,8 +120,11 @@ if [ -n "$LL_TCMALLOC" ]; then | |||
106 | fi | 120 | fi |
107 | 121 | ||
108 | export GST_PLUGIN_PATH="${GST_PLUGIN_PATH}:${RUN_PATH}/lib/gstreamer-plugins/" | 122 | export GST_PLUGIN_PATH="${GST_PLUGIN_PATH}:${RUN_PATH}/lib/gstreamer-plugins/" |
109 | 123 | if [ "`uname -m`" = "x86_64" ]; then | |
110 | export SL_ENV='LD_LIBRARY_PATH="`pwd`"/lib:"`pwd`"/app_settings/mozilla-runtime-linux-i686:"${LD_LIBRARY_PATH}"' | 124 | export SL_ENV='LD_LIBRARY_PATH="`pwd`"/lib:"`pwd`"/app_settings/mozilla-runtime-linux-x86_64:"${LD_LIBRARY_PATH}"' |
125 | else | ||
126 | export SL_ENV='LD_LIBRARY_PATH="`pwd`"/lib:"`pwd`"/app_settings/mozilla-runtime-linux-i686:"${LD_LIBRARY_PATH}"' | ||
127 | fi | ||
111 | export SL_CMD='$LL_WRAPPER bin/do-not-directly-run-imprudence-bin' | 128 | export SL_CMD='$LL_WRAPPER bin/do-not-directly-run-imprudence-bin' |
112 | export SL_OPT="`cat gridargs.dat` $@" | 129 | export SL_OPT="`cat gridargs.dat` $@" |
113 | 130 | ||
@@ -119,18 +136,21 @@ if [ -n "$LL_RUN_ERR" ]; then | |||
119 | LL_RUN_ERR_MSG="" | 136 | LL_RUN_ERR_MSG="" |
120 | if [ "$LL_RUN_ERR" = "runerr" ]; then | 137 | if [ "$LL_RUN_ERR" = "runerr" ]; then |
121 | # generic error running the binary | 138 | # generic error running the binary |
122 | echo '*** Unclean shutdown. ***' | 139 | echo '*** Bad shutdown. ***' |
123 | if [ "`uname -m`" = "x86_64" ]; then | 140 | |
124 | echo | 141 | #FIXME: -> |
125 | cat << EOFMARKER | 142 | # if [ "`uname -m`" = "x86_64" ]; then |
126 | You are running the Imprudence Viewer on a x86_64 platform. The | 143 | # echo |
127 | most common problems when launching the Viewer (particularly | 144 | # cat << EOFMARKER |
128 | 'bin/do-not-directly-run-imprudence-bin: not found' and 'error while | 145 | #You are running the Imprudence Viewer on a x86_64 platform. The |
129 | loading shared libraries') may be solved by installing your Linux | 146 | #most common problems when launching the Viewer (particularly |
130 | distribution's 32-bit compatibility packages. | 147 | #'bin/do-not-directly-run-imprudence-bin: not found' and 'error while |
131 | For example, on Ubuntu and other Debian-based Linuxes you might run: | 148 | #loading shared libraries') may be solved by installing your Linux |
132 | $ sudo apt-get install ia32-libs ia32-libs-gtk ia32-libs-kde ia32-libs-sdl | 149 | #distribution's 32-bit compatibility packages. |
133 | EOFMARKER | 150 | #For example, on Ubuntu and other Debian-based Linuxes you might run: |
134 | fi | 151 | #$ sudo apt-get install ia32-libs ia32-libs-gtk ia32-libs-kde ia32-libs-sdl |
152 | #EOFMARKER | ||
153 | # fi | ||
154 | #FIXME: <- | ||
135 | fi | 155 | fi |
136 | fi | 156 | fi |