James Keenan via RT wrote on Sun, Jan 27, 2008 at 04:32:59PM PST:
> ...
> Determining what C compiler and linker to use...Compilation failed with
> '/usr/bin/gcc-3.3'
> 
> Here's the output with -verbose-step=7 (inter::progs).
> 
> Determining what C compiler and linker to use...
>  ccflags: -fno-common -no-cpp-precomp  -pipe -I/usr/local/include -pipe
> -fno-common -Wno-long-double 
> /usr/bin/gcc-3.3 -fno-common -no-cpp-precomp  -pipe -I/usr/local/include
> -pipe -fno-common -Wno-long-double   -I./include -c test.c
> /usr/bin/g++-3.3 -undefined dynamic_lookup test.o  -o test  -lm
> ld: flag: -undefined dynamic_lookup can't be used with
> MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1
> Compilation failed with '/usr/bin/gcc-3.3'
> 
> So the patch prevents me from building with the C-compiler I know I have
> to use.  Back to the drawing boards.
It looks like the flag has a problem with the environment variable (not
the compiler) and others appear to have had the same issue:
    http://mail.python.org/pipermail/pythonmac-sig/2005-October/015190.html
    
http://reprocessed.org/blog/archives/2005/07/27/compiling_postgresql_and_psycopg_119_on_mac_os_x_104_tiger.html
    http://lua-users.org/lists/lua-l/2005-03/msg00349.html

Could you try setting MACOSX_DEPLOYMENT_TARGET to 10.4 to see if that
fixes the problem?

- David

-- 
"The implication--that something which I and most undergraduates could
master without extraordinary pains would have been too hard for Plato,
Dante, Hooker, and Pascal--did not yet strike me as absurd."
    -- C.S. Lewis, Miracles

Reply via email to