Thanks for the help.
I've copied the contents of /Developer/usr/ into /usr as suggested. Now
bootstrap gets past that, but gives the following:
Checking package... looks good (fink-0.31.0).
Checking system... i386-apple-darwin11.1.0
Under Mac OS X 10.7.1, Fink must be bootstrapped or updated with gcc 4.2,
however, you currently have gcc (unknown version) selected. To correct
this problem, run the command:
sudo gcc_select 4.2
You may need to install a more recent version of the Developer Tools
(Apple's XCode) to be able to do so.
gcc is at version 4.2.1, and there is no gcc_select to be found.
Jason.
On 11/09/2011, at 2:38 PM, Alexander Hansen wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 9/10/11 6:38 PM, Scaryfish wrote:
>> Hi,
>>
>> I'm trying to install fink 0.31.0 on Mac OS 10.7.1, via the source
>> install method (as the website says). I do have Xcode 1.4
>> installed. When I run bootstrap, and select (1) Use sudo, it gives
>> the following:
>>
>> Checking cc... not found. ERROR: There is no C compiler on your
>> system. Make sure that the Developer Tools are installed.
>>
>> I do have Xcode installed.
>
> This installs the utilities in /Developer/usr/bin, and I have manually
> added this to the path (both for my user and for root).
>
> Fink doesn't use your user environment, and symlinking for root isn't
> a good idea.
>
> Running "which cc" gives /Developer/usr/bin/cc and running "echo
> $PATH" gives
> /bin:/sbin:/usr/bin:/usr/local/bin:/usr/sbin:/usr/local/sbin:/Developer/usr/bin
>>
>> cc -v gives: Using built-in specs. Target: i686-apple-darwin10
>> Configured with: /var/tmp/gcc/gcc-5666.3~6/src/configure
>> --disable-checking --enable-werror --prefix=/usr
>> --mandir=/share/man --enable-languages=c,objc,c++,obj-c++
>> --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/
>> --with-slibdir=/usr/lib --build=i686-apple-darwin10
>> --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10
>> --target=i686-apple-darwin10
>> --with-gxx-include-dir=/include/c++/4.2.1 Thread model: posix gcc
>> version 4.2.1 (Apple Inc. build 5666) (dot 3)
>>
>> I have tried symlinking cc to /bin in case fink is specifically
>> looking there, but this does not help.
>
> It isn't looking in /bin.
>
>
> I have tried running bootstrap as my user, using sudo, and as root.
>>
>> Any ideas why the bootstrap script isn't seeing the compiler?
>>
>> Cheers,
>>
>> Jason.
>
> fink is looking for build tools in /usr/bin. I believe that's
> hardcoded, and monkeying around with the PATH isn't going to help at
> all. I believe we're using /usr/bin/clang and /usr/bin/clang++ as our
> cc and c++ compliers, respectively, even at bootstrap.
>
> My own Xcode install also provided copies of the appropriate stuff in
> /usr as well as in /Developer/usr. I believe we've had a report of
> Xcode 4.1 only putting files in /Developer/usr if downloaded from
> connect.apple.com rather than the App Store.
>
> I'm not sure they're completely identical, but unless anybody here
> gives a good reason not to do it, I'd recommend copying the contents
> of /Developer/usr into /usr, using e.g. "sudo cp -r /Developer/usr/*
> /usr/" or other command line tools rather than the Finder, since the
> latter option will do nasty things like replacing your /usr/bin
> directory rather than adding to it.
> - --
> Alexander Hansen, Ph.D.
> Fink User Liaison
> http://finkakh.wordpress.com/
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk5sHzkACgkQB8UpO3rKjQ/4TgCfbpghNev4eO6ADgY2s4v4Ze6i
> CY8AoJoNUnSa4NL9Zf4bqEKhdxi880qN
> =IMAl
> -----END PGP SIGNATURE-----
------------------------------------------------------------------------------
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users