|
||||
HOWTO: WINE on amd64 (faster/binary way)
Since some longer time amd64 users can run WINE without a problem, but additional complete i386 environment is requied, as http://wiki.freebsd.org/Wine states, you will have to build i386 version, then build WINE and so (which of course takes time). In this guide You will learn how to install WINE on amd64 system without compiling a single file, everything will be achieved using already built packages/data sets.
Use this script below to add both i386 complete environment under /compat/i386 and wine packages along with appreciate dependencies. Code:
#! /bin/sh URL=ftp.freebsd.org/pub/FreeBSD/releases/i386/$( uname -r | egrep -o ".*-[A-Z]+[0-9]*" )/base DIR=/compat/i386 mkdir -p ${DIR} export DESTDIR=${DIR} pkg_add -r wget wget -r -c ftp://${URL} cd ${URL} chmod +x install.sh yes | ./install.sh cp /etc/resolv.conf ${DIR}/etc/ cat > ${DIR}/chroot.sh << __EOF /etc/rc.d/ldconfig start export MACHINE=i386 export UNAME_p=i386 export UNAME_m=i386 pkg_add -r wine __EOF chroot ${DIR} /bin/sh chroot.sh rm ${DIR}/chroot.sh Tested, works great with Heroes ]I[ game, devfs is not needed for it, but in case some other game/application will yell about it, just mount it. # mount -t devfs devfs /compat/i386/dev You will also have to use these aliases: Code:
# alias winecfg="LD_32_LIBRARY_PATH=/compat/i386/usr/local/lib PATH=/compat/i386/usr/local/bin:$PATH /compat/i386/usr/local/bin/winecfg" # alias wine32="LD_32_LIBRARY_PATH=/compat/i386/usr/local/lib PATH=/compat/i386/usr/local/bin:$PATH /compat/i386/usr/local/bin/wine" EDIT: I have just tried IVORAS amd64 wine pacakges from here: http://people.freebsd.org/~ivoras/wine/ ... they work great, do not bother using my HOWTO and go straight to his download page
__________________
religions, worst damnation of mankind "If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”. vermaden's: links resources deviantart spreadbsd Last edited by vermaden; 9th February 2011 at 11:25 AM. |
|
|||
Works under chroot
Hey great script thanks. The install went fine for me, but when I try to run wine I get this
Code:
> /compat/i386/usr/local/bin/wine ELF interpreter /libexec/ld-elf.so.1 not found Abort Code:
# wine /tmp/IE8-WindowsServer2003-x64-ENU.exe fixme:crypt:SystemFunction036 couldn't open /dev/urandom fixme:crypt:SystemFunction036 couldn't open /dev/urandom err:service:validate_context_handle Handle is of an invalid type (1, 2) err:service:validate_context_handle Handle is of an invalid type (1, 2) Application tried to create a window, but no driver could be loaded. Make sure that your X server is running and that $DISPLAY is set correctly. Application tried to create a window, but no driver could be loaded. Make sure that your X server is running and that $DISPLAY is set correctly. |
|
||||
Hi, here (on the 1st post):
Quote:
__________________
religions, worst damnation of mankind "If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”. vermaden's: links resources deviantart spreadbsd |
|
|||
I have the same problem as tariqc and I have tried launching the war3 blizzard downloader [I]outside[I] the chroot with
Code:
wine32 Downloader_Warcraft3_Reign_of_Chaos_enGB.exe When running Code:
wine Downloader_Warcraft3_Reign_of_Chaos_enGB.exe Code:
wine32: Command not found. Furthermore, should I install xorg and the nvidia-driver in the chroot? Best regards |
|
||||
@Fleet
Maybe I wasnt clear enought with the HOWTO, after You have installed the /compat/i386 with the script (or by hand), put these commands into the terminal to test if it works: Code:
prompt % alias winecfg="LD_32_LIBRARY_PATH=/compat/i386/usr/local/lib PATH=/compat/i386/usr/local/bin:$PATH /compat/i386/usr/local/bin/winecfg" prompt % winecfg
__________________
religions, worst damnation of mankind "If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”. vermaden's: links resources deviantart spreadbsd |
|
||||
I have just tried IVORAS amd64 wine pacakges from here: http://people.freebsd.org/~ivoras/wine/
... they work great, do not bother using my HOWTO and go straight to his download page
__________________
religions, worst damnation of mankind "If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”. vermaden's: links resources deviantart spreadbsd |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
HOWTO: Lightest XFCE - Making XFCE lighter and faster | vermaden | Guides | 27 | 2nd September 2010 12:24 PM |
FreeBSD amd64 nVidia Binary Driver | vermaden | FreeBSD General | 5 | 2nd January 2010 08:25 PM |
Faster PHP | White | OpenBSD General | 6 | 19th August 2009 09:11 AM |
I386 ELF32 binary on AMD64 system can't find shared libraries | Gemini | FreeBSD General | 0 | 9th December 2008 06:49 AM |
Wine on FreeBSD 7.0 amd64 | BlueJayofEvil | FreeBSD Ports and Packages | 13 | 29th July 2008 12:22 AM |