On 20/09/13 11:55, Alison Waller wrote:
> Dear all,
>
> I am trying to install Fink for Mac OSX 10.8.4. However upon bootstrap I am
> getting an error that I need gcc4.2.
You are hitting a bug in fink with Xcode 5 that will hopefully be fixed
soon in a new release of fink.
If you want to bootstrap now, you can work around the bug by editing (in
the fink-0.35.1 directory) the two files bootstrap and
perlmod/Fink/Bootstrap.pm:
In boostrap, change the line 339
$max_xcode="4.9";
to
$max_xcode="5.0";
In perlmod/Fink/Bootstrap.pm, change the line
if (-x '/usr/bin/gcc') {
to
if (-x '/usr/bin/doesnotexist') {
Note that these are temporary hacks to get bootstrapping under way. The
real fix will look different,
> I have read some similar posts, and tried the 'moves' listed below, however I
> am still having problems.
>
> I have XCode 5, and I installed the command line tools.
Don't follow any advice that was given for similar problems with earlier
versions of Xcode. Anyway, you shouldn't change *anything* in /usr/bin;
the other posts were meant as first aid for those who already had
changed something there earlier.
> sudo ln -s /opt/local/bin/gcc-apple-4.2 /usr/bin/gcc
Since you already had /usr/bin/gcc, this command should not have done
anything. For the other one,
> sudo ln -s /opt/local/bin/gcc-apple-4.2 /usr/bin/gcc-4.2
I would advise to undo it and remove the symlink.
--
Martin
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners