compiling wine for amd64

Neil Skrypuch ns03ja at brocku.ca
Thu Sep 21 22:05:54 CDT 2006


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 at 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



More information about the wine-devel mailing list