[gobolinux-users] Wine 0.9.0: wineprefixcreate error ...incompatible with gobolinux

Anshuman Aggarwal anshuman at brillgene.com
Thu Jul 5 01:12:37 UTC 2007


Here is the error:

$ wineprefixcreate
/System/Links/Executables/wineprefixcreate=/System/Links/Executables/wineprefixcreate
cp: cannot stat `/System/Links/Executables/../share/wine/wine.inf': No 
such file or directory

I've traced it to this point in the wineprefixcreate script:
--------------------------------
cat wineprefixcreate:

}

set -e

bindir=""
echo "$0="$0
case "$0" in
  */*)
    # $0 contains a path, use it
    bindir=`dirname "$0"`
    ;;
  *)
    # no directory in $0, search in PATH
    saved_ifs=$IFS
    IFS=:
    for d in $PATH
    do
      IFS=$saved_ifs
      if [ -x "$d/$0" ]
      then
        bindir="$d"
        break
      fi
    done
    ;;
esac

bindir=`cd "$bindir" && pwd`
dlldir="$bindir/../lib/wine"
datadir="$bindir/../share/wine"

-------------------------
Question is: what is the right solution for this? Obviously the 
gobostructure is not working for this script...

Do we patch the script or is there a solution we can send upstream?

Thanks,
Anshuman


More information about the gobolinux-users mailing list