Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

withnail

macrumors regular
Original poster
Feb 8, 2003
103
0
I am running 10.2 and am trying to upgrade to Perl 5.8.0 and am getting a bit of resistance from the Configure script. It seems to have this issue with gcc:


Code:
Use which C compiler? [cc]  
 
Checking for GNU cc in disguise and/or its version number...
try.c:1:19: stdio.h: No such file or directory
 
*** WHOA THERE!!! ***
    Your C compiler "cc" doesn't seem to be working!
    You'd better start hunting for one and let me know about it.

I am new to OS X, but not Perl nor UNIX, and I can't get this to work! I can't detect anything wrong with gcc (v3.1 via Apple Developer Tools). Has anyone else seen this and/or have any advice?
 
...those were the exact directions I used to do the upgrade, but it still failed at the Configure stage. It's kinda weird since I can't figure out what it thinks is wrong with cc. Guess I'll poke around in hints/darwin.sh and see if there's anything in there.
 
resolved...

Apparently the C header files are not part of the core "Apple Developer Tools" package. They are part of the "Developer SDK" package. I installed this and am now happily, if a bit impatiently, watching Perl make in a terminal... :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.