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

teique teique at gmail.com
Tue Jul 10 01:33:50 UTC 2007


I run Wine 0.9.36 "flawlessly" (with game Soldat for ex.), tho I 
compiled it myself, no tricks, mainly just set the --prefix properly as 
I remember..
instead of patching I suggest updating to the latest :)

hisham.hm at gmail.com wrote:
> On 7/4/07, Anshuman Aggarwal <anshuman at brillgene.com> wrote:
>   
>> 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?
>>     
>
> Their script fails whenever the binary is symlinked. A fix for
> upstream would be to add
>
> bindir=`readlink "$bindir"`
>
> right after esac. In the mean time, we should add that to a patch.
>
> -- Hisham
> _______________________________________________
> gobolinux-users mailing list
> gobolinux-users at lists.gobolinux.org
> http://lists.gobolinux.org/mailman/listinfo/gobolinux-users
>
>   



More information about the gobolinux-users mailing list