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.
Just lauch it as root and it will install/do everything.
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.
You will also have to use these aliases:
Works for me, in case You have any problems, this thread is the place to yell
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
Just lauch it as root and it will install/do everything.
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"
Works for me, in case You have any problems, this thread is the place to yell
