Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Installing EVE on Linux: Difference between revisions

From EVE University Wiki
m typo
Line 107: Line 107:
:{{code|/bin/sh: {{Color|orange|warning}}: shell level (1000) too high, resetting to 1}}
:{{code|/bin/sh: {{Color|orange|warning}}: shell level (1000) too high, resetting to 1}}


This, and other errors, are likely due to the fact that on certain systems the 'dirname' and 'pwd' commands will return the location of the soft link, not of the shell script itself.
This, and other errors, are likely due to the fact that the 'dirname' and 'pwd' commands will return the location of the soft link, not of the shell script itself. Hence, we need to use readlink to follow every symlink in the path. Make the following changes to /path/to/evelauncher/evelauncher.sh:


As a workaround, make the following changes to /path/to/evelauncher/evelauncher.sh:
:{{code|#!/bin/sh <br>{{Color|green|appname<nowiki>=</nowiki>"evelauncher"<br>}}<br>{{Color|green|dirname<nowiki>=</nowiki>$(dirname "$(readlink -f "$BASH_SOURCE")")}}<br>tmp<nowiki>=</nowiki>"${dirname#?}"<br><br>if [ "${dirname%$tmp}" !<nowiki>=</nowiki> "/" ]; then<br>dirname<nowiki>=</nowiki>"$PWD/$dirname"<br>fi<br><br>LD_LIBRARY_PATH<nowiki>=</nowiki>"$dirname:$LD_LIBRARY_PATH"<br>export LD_LIBRARY_PATH<br>export QTDIR<nowiki>=</nowiki>$dirname<br>export QT_PLUGIN_PATH<nowiki>=</nowiki>$dirname/plugins<br>"$dirname/$appname" "$@"}}
 
:{{code|#!/bin/sh <br>{{Color|green|appname<nowiki>=</nowiki>"evelauncher"<br>}}<br>{{Color|green|dirname<nowiki>=</nowiki>"/path/to/evelauncher"}}<br>tmp<nowiki>=</nowiki>"${dirname#?}"<br><br>if [ "${dirname%$tmp}" !<nowiki>=</nowiki> "/" ]; then<br>{{Color|green|dirname<nowiki>=</nowiki>"/path/to/evelauncher"}}<br>fi<br>LD_LIBRARY_PATH<nowiki>=</nowiki>"$dirname:$LD_LIBRARY_PATH"<br>export LD_LIBRARY_PATH<br>export QTDIR<nowiki>=</nowiki>$dirname<br>export QT_PLUGIN_PATH<nowiki>=</nowiki>$dirname/plugins<br>"$dirname/$appname" "$@"}}
:'''Note:''' The first change is necessary only if you choose to give your soft link a different name.
:'''Note:''' The first change is necessary only if you choose to give your soft link a different name.


[[Category:Guides]]
[[Category:Guides]]