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
MF wrote:
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...:
-cut-
MF, ./tools/wineinstall is deprecated and will be removed shortly. Your compile problem may have been caused by running it. Please (since you have already run ./tools/wineinstall) do this:
sudo make uninstall make distclean rm -rf ~/.wine sudo rm -rf ~/.wine ./configure make dep make sudo make install
That should kill any remnants of wine lying around the system, and rebuild it from scratch. Once it is installed, just run wineprefixcreate and winecfg to configure and make wine ready for use. Then run your program with wine <program_name> and hope everything works as it does under windows.
Of course if you get the errors you reported before, please feel free to report it back here, including the output like you did before as an attachment.
Tom
Tom, Robert,
First and above all thanks for your kind answers. First time I post for help (I usually get myself out of trouble by reading other people's q&a) and I was touched by the "net magic"...
Installing the ia32-libs-dev package and running the uninstall / install procedure supressed the compiler error message.
I now get an error when trying to run wineprefixcreate : quote cp: cannot stat `/wine/wine-0.9.11~winehq1/tools/../share/wine/wine.inf': No such file or directory unquote
winecfg is simply "not found"
under /usr/local/bin/ I only have: wine wine-kthread wine-preloader wine-pthread
I reattach the config.log
Is there a binary package for the x86_64 bit architecture planned for a not too distant future ?
With kind regards, Miguel
On Sun, 2006-04-02 at 16:34 +0100, Robert Shearman wrote:
MF wrote:
cut
configure:1933: error: C compiler cannot create executables See `config.log' for more details.
You need to install the ia32-libs-dev package.
On Sun, 2006-04-02 at 09:33 -0500, Tom Spear (Dustin Booker, Dustin Navea) wrote:
MF wrote:
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...:
-cut-
MF, ./tools/wineinstall is deprecated and will be removed shortly. Your compile problem may have been caused by running it. Please (since you have already run ./tools/wineinstall) do this:
sudo make uninstall make distclean rm -rf ~/.wine sudo rm -rf ~/.wine ./configure make dep make sudo make install
That should kill any remnants of wine lying around the system, and rebuild it from scratch. Once it is installed, just run wineprefixcreate and winecfg to configure and make wine ready for use. Then run your program with wine <program_name> and hope everything works as it does under windows.
Of course if you get the errors you reported before, please feel free to report it back here, including the output like you did before as an attachment.
Tom
MF wrote:
Tom, Robert,
First and above all thanks for your kind answers. First time I post for help (I usually get myself out of trouble by reading other people's q&a) and I was touched by the "net magic"...
Installing the ia32-libs-dev package and running the uninstall / install procedure supressed the compiler error message.
I now get an error when trying to run wineprefixcreate : quote cp: cannot stat `/wine/wine-0.9.11~winehq1/tools/../share/wine/wine.inf': No such file or directory unquote
winecfg is simply "not found"
under /usr/local/bin/ I only have: wine wine-kthread wine-preloader wine-pthread
I reattach the config.log
Is there a binary package for the x86_64 bit architecture planned for a not too distant future ?
With kind regards, Miguel
-cut-
I'm not sure what causes this, but you can manually compile winecfg by going to your build dir and doing cd ./programs/winecfg and doing make && sudo make install
As for wineprefixcreate I'm not sure. try running make && sudo make install again (without doing make distclean or anything else) and see if that just happens to create it. If not, go thru all the steps over again, with 1 minor change.. When you run make dep change the command line to this:
make dep && make && sudo make install &>build.log
Then when it drops you back to the command line (after silently rebuilding), attach the file here.
If you want to see what it does while still logging the output, just run tail -f build.log
Hope that helps
Tom
Hi,
On Tue, Apr 04, 2006 at 01:13:09AM +0200, MF wrote:
I reattach the config.log
Whoa, that's 838kB, could you *please* gzip it before attaching? (probably like 50kB or so then)
I don't have any trouble with large mails, but many other people do.
What about the wine-devel mail size limit? I remember it was 40kB or so some time ago...
Andreas
MF wrote:
configure:1862: gcc -m32 -V </dev/null >&5 gcc: '-V' must come at the start of the command line configure:1865: $? = 1 configure:1888: checking for C compiler default output file name configure:1891: gcc -m32 conftest.c >&5 /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../libc.so when searching for -lc /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../libc.a when searching for -lc /usr/bin/ld: skipping incompatible /usr/bin/../lib/libc.so when searching for -lc /usr/bin/ld: skipping incompatible /usr/bin/../lib/libc.a when searching for -lc /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc /usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc /usr/bin/ld: cannot find -lc collect2: ld returned 1 exit status configure:1894: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "Wine" | #define PACKAGE_TARNAME "wine" | #define PACKAGE_VERSION "0.9.10" | #define PACKAGE_STRING "Wine 0.9.10" | #define PACKAGE_BUGREPORT "wine-devel@winehq.org" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:1933: error: C compiler cannot create executables See `config.log' for more details.
You need to install the ia32-libs-dev package.