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.

> (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?

> 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
> 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


------------------------------------------------------------------------------
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