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

On 11/7/10 12:24 PM, Chip G. wrote:
> On Nov 7, 2010, at 10:26, Alexander Hansen wrote:
> 
>>> 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.
> 
> Not sure, but I believe that since I haven't done anything otherwise that it 
> must be 32.
> 
>>>> gcc version 4.2.3
>>
>> This is suspicious.
> 
> Why? Fink lists gcc 4.2.3-1000 as the latest version when I "fink list gcc".

Because our packages _aren't_ supposed to see fink-installed gcc's
unless specifically called for, since they don't necessarily build
packages the same way as the Xcode compilers do.

gcc42 is not supported on 10.6, anyway, as indicated by the "*i*" on
your other message (actually that means "newer than available", but in
this case there is not supposed to be an available version).

> 
>> 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" ?
> 
> Not sure I know specifically. But all I do is install Xcode from Apple and 
> run Fink. So it must've come from one of those sources. When I do "which gcc" 
> I get "/sw/bin/gcc". I see that I have version 4.2.1 installed at 
> /Developer/usr/bin/gcc and /usr/bin/gcc. Since the which is seeing the one in 
> sw I assume it came from Fink. But I can't recall specifically and am just 
> deducing it based on where it is and how I normally work. I don't install 
> anything in /sw unless Fink puts it there.
> 
> 
> --
>     Chip
> 
> 

You shouldn't have a /sw/bin/gcc at all, unless you have ccache-default
installed, and that is supposed to point to the ccache compiler, which
in turn is supposed to use Xcode's compilers.

Just to make sure everything's cleaned up in the Fink distribution, can
you please post the results of:

ls -l /sw/bin/gcc
dpkg -L /sw/bin/gcc

Then to fix your issue, run

fink remove --recursive gcc42 gcc42-shlibs

and you should be able to proceed.
- -- 
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/

iEYEARECAAYFAkzW6BAACgkQB8UpO3rKjQ8uTgCcDKFFaHgCz8jarXzxNNPqfkiY
2XUAn0SSuYGH/g3uWVXlLdNhVJMy7lOm
=8Teu
-----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