sommaire

dapper 6.06 amd64 wine-0.9.25 

 Le 21/11/2006, à 12:16

je viens de le recompiler suivant ce tuto http://ubuntuforums.org/showthread.php?p=1768306#post1768306

Re: Wine 0.9.25 AMD64
also if anyone wants to build wine themselve, follow this guide, and download this* copy of libsicuuc.a, copy it to /usr/lib32, and then edit the wine dir/dll/gdi32/Makefile so that it says "EXTRALIBS = /usr/lib32/libsicuuc.a /usr/lib/libsicudata.a -lstdc++ -lgcc_s" instead of "EXTRALIBS = /usr/lib/libsicuuc.a /usr/lib/libsicudata.a -lstdc++ -lgcc_s"

and then use "LDFLAGS="-L/lib32 -L/usr/lib32 -Wl,-rpath,/lib32 -Wl,-rpath,/usr/lib32" CC="gcc-3.4 -m32" ./configure" to configure it, and then do make depend && make all - then use sudo checkinstall to make the .deb

1. Get the source
Download Wine from sourceforge or ibiblio.
2. Install packages and make symbolic links in /usr/lib32


sudo aptitude install build-essential flex bison libc6-i386 libc6-dev-i386
sudo aptitude install libasound2-dev libaudiofile-dev libesd0-dev libjack0.100.0-dev
sudo aptitude install libaudio-dev libcapi20-dev liblcms1-dev libcupsys2-dev
sudo aptitude install libsane-dev libfreetype6-dev fontforge freeglut3-dev
sudo aptitude install libexpat1-dev libfontconfig1-dev libgcrypt11-dev libglib1.2-dev
sudo aptitude install libglib2.0-dev libgnutls-dev libgpg-error-dev libice-dev
sudo aptitude install libieee1284-3-dev libjpeg62-dev libldap2-dev libltdl3-dev
sudo aptitude install libmad0-dev libmng-dev libncurses5-dev libogg-dev
sudo aptitude install libopencdk8-dev libpng12-dev libqt3-mt-dev libsm-dev
sudo aptitude install libtasn1-3-dev libusb-dev libvorbis-dev libx11-dev
sudo aptitude install libxcursor-dev libxext-dev libxft-dev libxi-dev
sudo aptitude install libxml2-dev libxmu-dev libxrandr-dev libxrender-dev
sudo aptitude install libxslt1-dev libxt-dev libxv-dev render-dev
sudo aptitude install unixodbc-dev x-dev zlib1g-dev xlibs-dev
sudo aptitude install libxxf86dga-dev libxxf86vm-dev libungif4-dev libssl-dev
sudo aptitude install libgphoto2-dev ia32-libs

Wine will not compile if you install libicu34-dev listed at Recommended Packages on 32bit. No bi-directional text support.

sudo ln -s /usr/lib32/libX11.so.6 /usr/lib32/libX11.so
sudo ln -s /usr/lib32/libXext.so.6 /usr/lib32/libXext.so
sudo ln -s /usr/lib32/libfreetype.so.6 /usr/lib32/libfreetype.so
sudo ln -s /usr/lib32/libz.so.1 /usr/lib32/libz.so
sudo ln -s /usr/lib32/libGL.so.1 /usr/lib32/libGL.so
sudo ln -s /usr/lib32/libGLU.so.1 /usr/lib32/libGLU.so
sudo ln -s /usr/lib32/libXrender.so.1 /usr/lib32/libXrender.so

1 telecharger libsicuuc.a   http://www.box.net/public/dnvzg6maep  , le copier  dans /usr/lib32

2 editer le fichier wine dir/dll/gdi32/Makefile so
modifier EXTRALIBS

EXTRALIBS = /usr/lib32/libsicuuc.a /usr/lib/libsicudata.a -lstdc++ -lgcc_s


puis

LDFLAGS="-L/lib32 -L/usr/lib32 -Wl,-rpath,/lib32 -Wl,-rpath,/usr/lib32" CC="gcc-3.4 -m32" ./configure

puis

make depend && make all

puis

pour creer le deb
sudo checkinstall

javais un problème lors du make , bon âpres avoir installé paquet libicu34-dev (pourtant sur le site de wine ils disent que wine ne se compileras pas si le paquet libicu34-dev est installé    sad

Warning: Wine will not compile if you install libicu34-dev listed at Recommended Packages on 32bit. No bi-directional text support.


un peu plus d 'infos et surtout comment créer la lib libsicuuc.a

Code:

STEP 1: Download ICU library source from
http://www-306.ibm.com/software/globalization/icu/downloads.jsp

STEP 2: Untar what you just downloaded
$ tar zxvf icu-3.4.1.tgz

STEP 3: Run the configure script in this manner:
$ LDFLAGS="-L/lib32 -L/usr/lib32 -Wl,-rpath,/lib32
-Wl,-rpath,/usr/lib32" CC="gcc -m32" CXX="g++ -m32" ./configure

STEP 4: Build the ICU libraries
$ make

STEP 5: Manually create the libsicuuc.a archive:
$ ar t /usr/lib/libsicuuc.a | sed -e 's/ao$/o/' | perl -e 'while(<>){
chomp($_); print "find . -name $_ | xargs ar uv libsicuuc.a\n"; }' >
mkar.sh
$ sh mkar.sh

STEP 6: Copy the archive to /usr/lib32
$ cp libsicuuc.a /usr/lib32/

STEP 7: Hack the wine dlls/gdi/Makefile to include the archive you just
copied to /usr/lib32
Change:
EXTRALIBS = /usr/lib/libsicuuc.a /usr/lib/libsicudata.a -lstdc++
-lgcc_s
-to-
EXTRALIBS = /usr/lib32/libsicuuc.a /usr/lib/libsicudata.a -lstdc++
-lgcc_s

STEP 8: Continue with the 'make all' step in compiling wine.

After doing this, I had a working version of wine. Kind of a pain to
go through, but I was expecting worse.

http://groups.google.com/group/comp.emu … 7ed0e138ad