[freetds] Mac OS 10.5 configure problem: C compiler error
Robert B Carter
rcarter0 at gmail.com
Thu Jun 18 17:27:00 EDT 2009
Hello--
I'm trying to configure FreeTDS on a Mac running OS 10.5.7, but the
configure process hangs up with the message "configure: error: C
compiler cannot create executables".
I'm new to GNU, so I have no idea how to troubleshoot any gcc issues.
Below is a segment from the config.log file, which I abridged down to
what appears to my untrained eye to be the point where things start to
go wrong. My guess is that it has something to do with the "gcc -V </
dev/null >&5" line, which gets the response "argument to '-V' is
missing". But I don't really know what that means, or how to fix it.
-------------------start quote------------------------------------
configure:2470: gcc -v </dev/null >&5
Using built-in specs.
Target: i686-apple-darwin8
Configured with: /var/tmp/gcc/gcc-5370~2/src/configure --disable-
checking -enable-werror --prefix=/usr --mandir=/share/man --enable-
languages=c,objc,c++,obj-c++ --program-transform-name$
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5370)
configure:2473: $? = 0
configure:2475: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:2478: $? = 1
configure:2501: checking for C compiler default output file name
configure:2504: gcc conftest.c >&5
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: /usr/lib/gcc/i686-apple-
darwin8/4.0.1/../../../libSystem.dylib unknown flags (type) of section
6 (__TEXT,__literal16) in load command 0
collect2: ld returned 1 exit status
configure:2507: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
| #define PACKAGE_VERSION "0.82"
| #define PACKAGE_STRING "FreeTDS 0.82"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "freetds"
| #define VERSION "0.82"
| #define _GNU_SOURCE 1
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2546: error: C compiler cannot create executables
See `config.log' for more details.
-------------------end quote------------------------------------
Advice would be much appreciated. Thanks!
--Robert
More information about the FreeTDS
mailing list