Problems with PATH and wine
when i try to configure wine once winelauncher is started it tells me
ERROR: Unable to finde winesetup in your PATH or in /opt/wine/bin how do i get it into my path? this error message doesn't appear in console, it appears in winelauncher when i start it. |
in your .profile or .bash_profile or .bashrc or whatever shell you use edit your path line ------>
PATH=$PATH:/path/to/winesetup export PATH |
# /etc/profile
# System wide environment and startup programs, for login setup # Functions and aliases go in /etc/bashrc pathmunge () { if ! echo $PATH | /bin/egrep -q "(^|:)$1($|:)" ; then if [ "$2" = "after" ] ; then PATH=$PATH:$1:/path/to/winesetup export PATH <---((this is what i added)) else PATH=$1:$PATH fi fi } # Path manipulation if [ `id -u` = 0 ]; then pathmunge /sbin pathmunge /usr/sbin pathmunge /usr/local/sbin fi pathmunge /usr/X11R6/bin after unset pathmunge # No core files by default ulimit -S -c 0 > /dev/null 2>&1 USER="`id -un`" LOGNAME=$USER MAIL="/var/spool/mail/$USER" HOSTNAME=`/bin/hostname` HISTSIZE=1000 if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]; then INPUTRC=/etc/inputrc fi export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC for i in /etc/profile.d/*.sh ; do if [ -r "$i" ]; then . $i fi done unset i if [ $LD_LIBRARY_PATH ] then if ! set | grep LD_LIBRARY_PATH | grep /usr/X11R6/lib:/usr/X11R6/lib/modules > /dev/null then LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/X11R6/lib:/usr/share:/usr/X11R6/lib/modules export LD_LIBRARY_PATH fi else LD_LIBRARY_PATH=/usr/X11R6/lib:/usr/X11R6/lib/modules export LD_LIBRARY_PATH fi I don't think i did it right |
All times are GMT -5. The time now is 05:23 PM. |