-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/7/10 10:05 AM, Chip G. wrote:
> On Nov 6, 2010, at 23:06, Alexander Hansen wrote:
> 
>> [let's not crosspost and scatter the thread over several lists--the 
>> post-error message is canned, and doesn't distinguish between real 
>> maintainers and Fink lists]
> 
> Sorry, just following the instructions.

No worries.

> 
>> (you didn't report your OS version and Fink architecture)
> 
> OS X 10.6.4. Not sure what you mean by Fink architecture, but I'm running 
> version 0.29.15 in the rsync mode. What else do you want to know?
> 

32 or 64 bit.

>> Did you check the config.log file in the dpkg build directory 
>> (/sw/src/fink.build/dpkg-1.10.21-1229/dpkg-1.10.21) for more details, as it 
>> says above?  "Cannot create executables" errors typically occur when 
>> something needed in a compiler test is missing on a system, or a library of 
>> the wrong architecture from outside of your Fink tree is getting linked, but 
>> there's no way to tell what the problem is just from the console output.
>>
>> Check the config.log file at point(s) where it it mentions "checking for C 
>> compiler default output file name" and it should give an actual error 
>> message from the command
> 
> This is what it has in that vicinity:
> 
>> gcc (GCC) 4.2.3Copyright (C) 2007 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:1922: $? = 0
>> configure:1924: gcc -v </dev/null >&5
>> Using built-in specs.
>> Target: i686-apple-darwin9
>> Configured with: ../gcc-4.2.3/configure --prefix=/sw --prefix=/sw/lib/gcc4.2 
>> --mandir=/sw/share/man --infodir=/sw/share/info 
>> --enable-languages=c,c++,fortran,
>> objc,java --with-arch=nocona --with-tune=generic --host=i686-apple-darwin9 
>> --with-gmp=/sw --with-libiconv-prefix=/sw --with-system-zlib 
>> --x-includes=/usr/X11R
>> 6/include --x-libraries=/usr/X11R6/lib
>> Thread model: posix
>> gcc version 4.2.3

This is suspicious.

>> configure:1927: $? = 0
>> configure:1929: gcc -V </dev/null >&5
>> gcc: '-V' must come at the start of the command line
>> configure:1932: $? = 1
>> configure:1955: checking for C compiler default output file name
>> configure:1958: gcc -I/sw/include -I/sw/include -L/sw/lib conftest.c  >&5
>> cc1: error: unrecognized command line option "-arch"
>> configure:1961: $? = 1
>> configure: failed program was:
>> | /* confdefs.h.  */
>> | 
>> | #define PACKAGE_NAME ""
>> | #define PACKAGE_TARNAME ""
>> | #define PACKAGE_VERSION ""
>> | #define PACKAGE_STRING ""
>> | #define PACKAGE_BUGREPORT ""
>> | /* end confdefs.h.  */
>> | 
>> | int
>> | main ()
>> | {
>> | 
>> |   ;
>> |   return 0;
>> | }
>> configure:2000: error: C compiler cannot create executables
>> See `config.log' for more details.
> 
> There are three more sections after that, cache variables, output variables 
> and confdefs.
> 
> 
> --
>     Chip
> 
> 

Where did you get the gcc-4.2.3 from?  That's not from a released Xcode
3.2.x, and appears not to support -arch.    Fink isn't set up to use
arbitrary compilers.  What do you get from "which gcc" ?

- -- 
Alexander Hansen, Ph.D.
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzWxUAACgkQB8UpO3rKjQ/BZACaAtSADB/dS6v+5CH1TFLKX7eu
1HUAnj9luffFvqbDENy6ETnO/y+CKJyp
=eSDP
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to