UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hey. I am trying to install Wine on a 64 bit version of Ubuntu. I cannot get it to work though.
I get this error:
Quote:
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.
I check my config.log and this is in it:
Quote:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by Wine configure 20050830, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ ./configure --x-libraries=/usr/X11R6/lib
## --------- ##
## Platform. ##
## --------- ##
hostname = CVU
uname -m = x86_64
uname -r = 2.6.12-10-amd64-generic
uname -s = Linux
uname -v = #1 Fri Nov 18 11:51:07 UTC 2005
configure:1424: checking build system type
configure:1442: result: x86_64-unknown-linux-gnu
configure:1450: checking host system type
configure:1464: result: x86_64-unknown-linux-gnu
configure:1504: checking whether make sets $(MAKE)
configure:1524: result: yes
configure:1579: checking for gcc
configure:1605: result: gcc -m32
configure:1849: checking for C compiler version
configure:1852: gcc -m32 --version </dev/null >&5
gcc (GCC) 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:1855: $? = 0
configure:1857: gcc -m32 -v </dev/null >&5
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr --with-gxx-include-dir=/usr/include/c++/4.0.2 --enable-shared --with-system-zlib --libexecdir=/usr/lib --enable-nls --without-included-gettext --enable-threads=posix --program-suffix=-4.0 --enable-__cxa_atexit --enable-libstdcxx-allocator=mt --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-gc=boehm --enable-java-awt=gtk-default --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr --disable-werror --enable-checking=release x86_64-linux-gnu
Thread model: posix
gcc version 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)
configure:1860: $? = 0
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 "20050830"
| #define PACKAGE_STRING "Wine 20050830"
| #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.
I have run WINE on a x86-64 kernel. I was using Mandriva 2006. I didn't compile WINE myself, though. If you want to do that, you may have to force it to make x86 binaries. It will run, but it may not compile.
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
Then your system is running in a mixed mode environment (32 and 64-bit).
With an x86_64 based system you have choices, 32-bit only, mixed mode and 64-bit only. Many distributions (SuSE, Red Hat, Fedora and Mandriva) are mixed mode environments. Wine is not 64-bit compliant (yet). And you installed a pre-built binary package, much different then building from source like Ubuntu does.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.