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

On 1/5/12 3:39 PM, James McSwiggen wrote:
> I am having trouble installing fink using the ./bootstrap command.
>  Running Mac OS 10.7.2 Installed Xcode development tools (v4.2
> Build 4D199) Downloaded fink-0.31.5
> 
> When I run ./bootstrap I get the following.
> 
> RaNA-MacPro:fink-0.31.5 jmcswiggen$ ./bootstrap
> 
> Fink must be installed and run with superuser (root) privileges. 
> Fink can automatically try to become root when it's run from a user
> account. Since you're currently running this script as a normal
> user, the method you choose will also be used immediately for this
> script. Available methods:
> 
> (1)Use sudo (2)Use su (3)None, fink must be run as root
> 
> Choose a method: [1]
> 
> Password: Checking package... looks good (fink-0.31.5). Checking
> system... i386-apple-darwin11.2.0 This system is supported and
> tested. Distribution: 10.7 Architecture: x86_64 Checking cc... not
> found. ERROR: There is no C compiler on your system. Make sure that
> the Developer Tools are installed. RaNA-MacPro:fink-0.31.5
> jmcswiggen$ which c RaNA-MacPro:fink-0.31.5 jmcswiggen$ which cc 
> /Developer/usr/bin/cc RaNA-MacPro:fink-0.31.5 jmcswiggen$
> 
> 
> Fink bootstrap says that it can't find a C compiler, but the which
> cc command shows that cc is installed. I have also tried option
> "(2) su", and option "(3) None, fink must run as root", but all of
> them give the error about the C compiler. Anyone have suggestions?
> 
> 
> -- Jim
> 
> 
> 

fink is looking for /usr/bin/cc, not "first cc in the PATH".

I have:

$ ls -l /usr/bin/cc
lrwxr-xr-x 1 root wheel 12 Nov 18 10:47 /usr/bin/cc -> llvm-gcc-4.2

Verify whether you have /usr/bin/llvm-gcc-4.2, and if so, then use

cd /usr/bin
ln -s llvm-gcc-4.2 cc

to make that link.
- -- 
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/

iEYEARECAAYFAk8GOWUACgkQB8UpO3rKjQ9nBQCeLyEzN1t0leUzLWs0Qt3GHscf
PBkAnj7q5Ow1cl5TqTHkvcatMr8EqCBJ
=uwbO
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to