I haven't been able to get Wine to build on AMD64 at all, even using the 3+ different howto's I've seen. This is why there still is no AMD64 package.
Seriously, if someone gets it working, update the wiki page and post here.
Thanks, Scott Ritchie
On Fri, 2006-09-22 at 16:04 -0400, Gerald Britton wrote:
OK -- I did all that stuff, but the build failed.
note, I used the command
sudo apt-get --build source wine
as per the page http://www.winehq.com/site/download-deb
below are the error messages from the build. the weird thing is I DO haev libdl.s0.2:
$ls -l /lib32/libdl.so.2 lrwxrwxrwx 1 root root 14 2006-08-28 22:22 /lib32/libdl.so.2 -> libdl-2.3.6.so
Error messages:
gcc -m32 -Wall -g -O2 -o sfnt2fnt sfnt2fnt.o -L../libs/wine -lwine ../libs/port/libwine_port.a -lfreetype -lz /usr/bin/ld: warning: libdl.so.2, needed by ../libs/wine/libwine.so, not found (try using -rpath or -rpath-link) ../libs/wine/libwine.so: undefined reference to `dlclose@GLIBC_2.0' ../libs/wine/libwine.so: undefined reference to `dlerror@GLIBC_2.0' ../libs/wine/libwine.so: undefined reference to `dlopen@GLIBC_2.1' ../libs/wine/libwine.so: undefined reference to `dlsym@GLIBC_2.0' ../libs/wine/libwine.so: undefined reference to `dladdr@GLIBC_2.0' collect2: ld returned 1 exit status make[2]: *** [sfnt2fnt] Error 1 make[2]: Leaving directory `/home/jerryb/wine-0.9.21~winehq0~ubuntu~6.06/tools' make[1]: *** [tools] Error 2 make[1]: Leaving directory `/home/jerryb/wine-0.9.21~winehq0~ubuntu~6.06' make: *** [build-stamp] Error 2 Build command 'cd wine-0.9.21~winehq0~ubuntu~6.06 && dpkg-buildpackage -b -uc' failed.
On 9/21/06, Neil Skrypuch ns03ja@brocku.ca wrote:
On Thursday, September 21, 2006 15:30, Gerald Britton wrote:
Hi -- I'm running ubuntu dapper on amd64. I want to compile wine but am hitting problems. I got the dependencies just fine, but the compile died. Here's what I get:
$ sudo apt-get -y --build source wine Reading package lists... Done Building dependency tree... Done Skipping the already downloaded file 'wine_0.9.21~winehq0~ubuntu~6.06-1.dsc' Skipping the already downloaded file 'wine_0.9.21~winehq0~ubuntu~6.06.orig.tar.gz' Skipping the already downloaded file 'wine_0.9.21~winehq0~ubuntu~6.06-1.diff.gz' Need to get 0B of source archives. Skipping unpack of already unpacked source in wine-0.9.21~winehq0~ubuntu~6.06 dpkg-buildpackage: source package is wine dpkg-buildpackage: source version is 0.9.21~winehq0~ubuntu~6.06-1 dpkg-buildpackage: source changed by Scott Ritchie scott@open-vote.org dpkg-buildpackage: host architecture amd64 debian/rules clean dh_testdir dh_testroot rm -f build-stamp # Add here commands to clean up after the build process. /usr/bin/make distclean make[1]: Entering directory `/home/jerryb/wine-0.9.21~winehq0~ubuntu~6.06' make[1]: *** No rule to make target `distclean'. Stop. make[1]: Leaving directory `/home/jerryb/wine-0.9.21~winehq0~ubuntu~6.06' make: [clean] Error 2 (ignored) #-/usr/bin/make -C documentation clean cp -f /usr/share/misc/config.sub config.sub cp -f /usr/share/misc/config.guess config.guess dh_clean debian/rules build dh_testdir # Add here commands to configure the package. CFLAGS="-Wall -g -O2" ./configure --host=x86_64-linux-gnu --build=x86_64-linux-gnu --prefix=/usr --mandir=${prefix}/share/man --infodir=${prefix}/share/info checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking whether make sets $(MAKE)... yes checking for x86_64-linux-gnu-gcc... gcc -m32 checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. make: *** [config.status] Error 77 Build command 'cd wine-0.9.21~winehq0~ubuntu~6.06 && dpkg-buildpackage -b -uc' failed. E: Child process failed
I attached the config.log. What must I do to complete the compiles?
You probably don't have any 32 bit emul libraries installed. See http://wiki.winehq.org/WineOn64bit for more details.
- Neil
note, I used the command sudo apt-get --build source wine
as per the page http://www.winehq.com/site/download-deb