Results 1 to 7 of 7
Attempting to 'compile' Wine from 'source' but got the following error after running the command: apt-get --build source wine
Here are the instructions for doing this: http://www.winehq.org/site/download-deb
Also, this is ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-28-2006 #1Just Joined!
- Join Date
- Oct 2006
- Posts
- 12
Build command 'cd wine-0.9.23~winehq0~ubuntu~6.06 && dpkg-buildpackage -b -uc' failed
Attempting to 'compile' Wine from 'source' but got the following error after running the command: apt-get --build source wine
Here are the instructions for doing this: http://www.winehq.org/site/download-deb
Also, this is my first post at linuxforums.org, if I need to give more information let me know. Thank yous in advance.
...
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.23~winehq0~ubuntu~6.06 && dpkg-buildpackage -b -uc' failed.
E: Child process failed
- 10-28-2006 #2
prefix 'sudo' before apt-get command.
Code:sudo apt-get --build source wine
casperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 10-28-2006 #3Just Joined!
- Join Date
- Oct 2006
- Posts
- 12
Yes, did that. Same results though.
- 10-28-2006 #4whats in config.log?configure: error: C compiler cannot create executables
See `config.log' for more details.
casperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 10-28-2006 #5Just Joined!
- Join Date
- Oct 2006
- Posts
- 12
part of config.log
Damn, I was gonna post that... I found it and it's pretty long, but here is what I thought could be useful info... also where the error is reported:
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../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:2420: $? = 1
configure:2458: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "Wine"
| #define PACKAGE_TARNAME "wine"
| #define PACKAGE_VERSION "0.9.23"
| #define PACKAGE_STRING "Wine 0.9.23"
| #define PACKAGE_BUGREPORT "wine-devel@winehq.org"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2465: error: C compiler cannot create executables
See `config.log' for more details.
All of the skipping incompatibles and cannot find -lc. I don't know what it means, but could be part of the prob.
- 10-28-2006 #6
Perhaps you forgot the first step ? Install the build dependencies.
Code:sudo apt-get build-dep wine sudo apt-get source -b wine
"To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."
-Bruce Lee
- 10-28-2006 #7Just Joined!
- Join Date
- Oct 2006
- Posts
- 12
Nope, did that as well..
But what is the second command you posted?
I never entered that.. sudo apt-get source -b wine..
same as sudo apt-get --build source wine?
hesitant to enter it as it might make things worse


Reply With Quote
