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

On 10/8/10 7:56 PM, Don Blaheta wrote:
> I was just switching over to 10.5/unstable and recompiling a boatload of
> packages, and one kept failing: gmp.  Looking closely at the make output
> it seemed to be looking for "gcc-4.2", which apparently doesn't get
> installed by the gcc42 package (which I do have installed).  If I create
> a symlink from gcc-4.2 to gcc-4 (which is, in fact, version 4.2.4, at
> least at the moment), as well as from g++-4.2 to g++-4 (likewise), it
> seems to compile just fine.  So I seem to have solved my own problem,
> but I thought I'd pass the fix upstream.
> 

Don't create symlinks in your system area.  You don't have gcc-4.2
because your Xcode is too old:

$ fink info gcc4.2
Information about 9718 packages read in 0 seconds.

gcc4.2-4.2.1-5664: [virtual package representing the gcc 4.2.1 compiler]
 This package represents the gcc 4.2.1 compiler,
 which is part of the Apple developer tools (also known as
 XCode on Mac OS X 10.3 and above).  The latest versions of
 the Apple developer tools are always available from Apple at:
...

You need Xcode 3.1 or later (no reason not to use 3.1.4)

Changing where g++4 points may well cause problems for you on future
builds, because our packages typically are set up to work with Xcode
compilers, unless otherwise noted.

To the maintainer:  it might be worth putting in an extra builddepend on
xcode ( >= 3.1 ), as that's more human-readable than 'gcc4.2'.
- -- 
Alexander Hansen
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyvuZAACgkQB8UpO3rKjQ9tygCgniGiSU7QVqnhKisYUpdMScR2
3HQAn1NzFk8oIPxzK4p6Nqm0HniszGoZ
=346Q
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to