I'm setting fink up on a new iMac. It seems that the bootstrap
installation is not compatible with XCode 2.5.
XCode 2.5 is set up differently from the earlier versions, so that
multiple versions of XCode can be present at once. The developer
exectuables are no longer placed in /usr/bin - their default location
is in /XCode2.5/usr/bin.
I put sym links to /XCode2.5/usr/bin/cc and /XCode2.5/usr/bin/make in /
usr/bin so bootstrap would work. That seemed to work for a while, but
eventually things failed with:
checking for gcc... no
checking for gcc... no
checking for cc... cc
checking for C compiler default output file name... configure: error:
C compiler cannot create executables
See `config.log' for more details.
### execution of PERL=/usr/bin/perl failed, exit code 77
phase compiling: dpkg-bootstrap-1.10.21-1218 failed
So, I tried "sudo ln -s /XCode2.5/usr/bin/gcc /usr/bin/gcc"
Now bootstrap fails with:
Under Mac OS X 10.5.1, Fink must be bootstrapped or updated with gcc
4.0,
however, you currently have gcc (unknown version) selected. To correct
this problem, run the command:
sudo gcc_select 4.0
You may need to install a more recent version of the Developer Tools
(Apple's XCode) to be able to do so.
PowerMac:fink-0.27.8 xxx$ which gcc
/XCode2.5/usr/bin/gcc
PowerMac:fink-0.27.8 xxx$ gcc --version
i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build
5370)
Copyright (C) 2005 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.
PowerMac:fink-0.27.8 xxx$ sudo gcc_select 4.0
sudo: gcc_select: command not found
Looking in /XCode/usr/bin, I cannot see a gcc_select exectuable.
How should I proceed?
--
Kevin Horton
Ottawa, Canada
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users