Hi,
System: Dell Power Edge 830, Intel Dual Core, Linux Ubuntu 5.10, 64 bits version
Tried to compile Wine with the ./tools/wineinstall as per recommended procedure in readme file, from sources package downloaded with apt-get build-dep wine and apt-get --build source wine wich did not go 100% well...:
quote
Reading package lists... Done Building dependency tree... Done Need to get 13.5MB of source archives. Get:1 http://wine.sourceforge.net source/ wine 0.9.10~winehq1-2 (dsc) [1209B] Get:2 http://wine.sourceforge.net source/ wine 0.9.10~winehq1-2 (tar) [13.5MB] Get:3 http://wine.sourceforge.net source/ wine 0.9.10~winehq1-2 (diff) [47.0kB] Fetched 9537kB in 35s (268kB/s) dpkg-source: extracting wine in wine-0.9.10~winehq1 dpkg-source: unpacking wine_0.9.10~winehq1.orig.tar.gz dpkg-source: applying ./wine_0.9.10~winehq1-2.diff.gz dpkg-buildpackage: source package is wine dpkg-buildpackage: source version is 0.9.10~winehq1-2 dpkg-buildpackage: source changed by Scott Ritchie scott@open-vote.org dpkg-buildpackage: host architecture amd64 debian/rules clean dh_testdir dh_testroot dh_testroot: You must run this as root (or use fakeroot). make: *** [clean] Error 1 Build command 'cd wine-0.9.10~winehq1 && dpkg-buildpackage -b -uc' failed. E: Child process failed end quote
The directory "wine-0.9.10~winehq1" was created OK and the package source seemed to be there. So I tried "./tools/wineinstall" and got the following message:
quote configure: creating cache config.cache checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking whether make sets $(MAKE)... yes checking for gcc... gcc -m32 checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details.
Configure failed, aborting install.
end quote
re-did the whole thing after clean up and tried the dpkg command in sudo and got
quote ~/wine-0.9.10~winehq1$ sudo dpkg-buildpackage -b -uc
dpkg-buildpackage: source package is wine dpkg-buildpackage: source version is 0.9.10~winehq1-2 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/formig/wine-0.9.10~winehq1' make[1]: *** No rule to make target `distclean'. Stop. make[1]: Leaving directory `/home/formig/wine-0.9.10~winehq1' make: [clean] Error 2 (ignored) #-/usr/bin/make -C documentation clean 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
unquote
Seems to be an error with my C compiler ?
GCC IS 4:4.0.1-3
I attach config.log for more details.
Any idea ?
With kindest regards, Miguel