https://bugs.winehq.org/show_bug.cgi?id=37979
Bug ID: 37979 Summary: Problem Installing/Compiling Wine 1.1.27 on Mac OS X Product: Wine Version: 1.1.27 Hardware: x86-64 OS: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: setupapi Assignee: wine-bugs@winehq.org Reporter: rhezrhez@gmail.com
OS: Mac OS X 10.8.5 gcc/g++ version: 4.6.0
Error occurred after typing ./configure
config log dump:
gcc (GCC) 4.6.0 Copyright (C) 2011 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:2737: $? = 0 configure:2744: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-apple-darwin10.7.0/4.6.0/lto-wrapper Target: x86_64-apple-darwin10.7.0 Configured with: ../gcc-4.6.0/configure --enable-languages=fortran,c++ Thread model: posix gcc version 4.6.0 (GCC) configure:2748: $? = 0 configure:2755: gcc -V >&5 gcc: error: unrecognized option '-V' gcc: fatal error: no input files compilation terminated. configure:2759: $? = 1 configure:2782: checking for C compiler default output file name configure:2804: gcc conftest.c >&5 gcc: error trying to exec 'as': execvp: No such file or directory configure:2808: $? = 1 configure:2846: result: configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "Wine" | #define PACKAGE_TARNAME "wine" | #define PACKAGE_VERSION "1.1.27" | #define PACKAGE_STRING "Wine 1.1.27" | #define PACKAGE_BUGREPORT "wine-devel@winehq.org" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | }
I see two errors. Also an incomplete code file. Where is it located? Advice?
https://bugs.winehq.org/show_bug.cgi?id=37979
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|setupapi |-unknown
https://bugs.winehq.org/show_bug.cgi?id=37979
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID
--- Comment #1 from Austin English austinenglish@gmail.com --- 1.1.27 is years old, 1.7.35 is the latest release.
https://bugs.winehq.org/show_bug.cgi?id=37979
rhez rhezrhez@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Installer Status|RESOLVED |UNCONFIRMED Resolution|INVALID |---
--- Comment #2 from rhez rhezrhez@gmail.com --- Whoops, sorry, didn't know I had to scroll down the sourceforge page to get the latest release. Anyways, here's the config log dump for 1.7.35:
gcc (GCC) 4.6.0 Copyright (C) 2011 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:3922: $? = 0 configure:3911: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-apple-darwin10.7.0/4.6.0/lto-wrapper Target: x86_64-apple-darwin10.7.0 Configured with: ../gcc-4.6.0/configure --enable-languages=fortran,c++ Thread model: posix gcc version 4.6.0 (GCC) configure:3922: $? = 0 configure:3911: gcc -V >&5 gcc: error: unrecognized option '-V' gcc: fatal error: no input files compilation terminated. configure:3922: $? = 1 configure:3911: gcc -qversion >&5 gcc: error: unrecognized option '-qversion' gcc: fatal error: no input files compilation terminated. configure:3922: $? = 1 configure:3942: checking whether the C compiler works configure:3964: gcc conftest.c >&5 gcc: error trying to exec 'as': execvp: No such file or directory configure:3968: $? = 1 configure:4006: result: no configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Wine" | #define PACKAGE_TARNAME "wine" | #define PACKAGE_VERSION "1.7.35" | #define PACKAGE_STRING "Wine 1.7.35" | #define PACKAGE_BUGREPORT "wine-devel@winehq.org" | #define PACKAGE_URL "http://www.winehq.org" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | }
https://bugs.winehq.org/show_bug.cgi?id=37979
rhez rhezrhez@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Problem |Problem |Installing/Compiling Wine |Installing/Compiling Wine |1.1.27 on Mac OS X |1.7.35 on Mac OS X
https://bugs.winehq.org/show_bug.cgi?id=37979
rhez rhezrhez@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.1.27 |1.7.35
https://bugs.winehq.org/show_bug.cgi?id=37979
Ken Thomases ken@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID
--- Comment #3 from Ken Thomases ken@codeweavers.com --- (In reply to rhez from comment #2)
configure:3911: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-apple-darwin10.7.0/4.6.0/ lto-wrapper Target: x86_64-apple-darwin10.7.0 Configured with: ../gcc-4.6.0/configure --enable-languages=fortran,c++ Thread model: posix gcc version 4.6.0 (GCC)
You appear to be using a non-standard (self-built) compiler and tool chain.
configure:3942: checking whether the C compiler works configure:3964: gcc conftest.c >&5 gcc: error trying to exec 'as': execvp: No such file or directory
Your tool chain is missing an assembler. It basically can't compile anything. As shown:
configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Wine" | #define PACKAGE_TARNAME "wine" | #define PACKAGE_VERSION "1.7.35" | #define PACKAGE_STRING "Wine 1.7.35" | #define PACKAGE_BUGREPORT "wine-devel@winehq.org" | #define PACKAGE_URL "http://www.winehq.org" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | }
This is very nearly the simplest possible program and your gcc can't build it. This has nothing to do with Wine and everything to do with your system configuration.
Fix your compiler and tool chain or switch to using the compiler and tool chain that Apple supplies (Xcode or the Command Line Tools package).
https://bugs.winehq.org/show_bug.cgi?id=37979
rhez rhezrhez@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|INVALID |FIXED
--- Comment #4 from rhez rhezrhez@gmail.com --- Whoops, you're right, I was using an older version of gcc. Going to install 4.9 instead. Thanks and sorry about this.
https://bugs.winehq.org/show_bug.cgi?id=37979
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |INVALID
https://bugs.winehq.org/show_bug.cgi?id=37979
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED CC| |nerv@dawncrow.de
--- Comment #5 from André H. nerv@dawncrow.de --- closing invalid