I'm trying to upgrade Perl on a Jaguar system and it's telling me it can't find cc, or it can't use it:

=== output from './configure' with perl5.8.1 ===

/usr/bin/ld: /usr/lib/libSystem.dylib load command 9 unknown cmd field
Uh-oh, the C compiler '/usr/bin/cc' doesn't seem to be working.
/usr/bin/ld: /usr/lib/libSystem.dylib load command 9 unknown cmd field
Uh-oh, the C compiler '/usr/bin/cc' doesn't seem to be working.
You need to find a working C compiler.
Either (purchase and) install the C compiler supplied by your OS vendor,
or for a free C compiler try http://gcc.gnu.org/
I cannot continue any further, aborting.

=== end output ===

it it helps at all, the darwinports installer told me something slightly different:

=== output from './configure' with darwinports ===

checking for gcc... no
checking for cc... cc
checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details.


=== end output ===

any idea what might be going on? Dev Tools are installed. If I try to install them again it says they're up to date.

cc is there in /usr/bin/cc and "/usr/bin/cc -v" gives me the following:

Reading specs from /usr/libexec/gcc/darwin/ppc/2.95.2/specs
Apple Computer, Inc. version gcc-934.3, based on gcc version 2.95.2 19991024 (release)



TIA ------------------------------------------------------------ "Have You Validated Your Code?" John Horner (+612 / 02) 9333 2110 Senior Developer, ABC Online http://www.abc.net.au/ ------------------------------------------------------------

Reply via email to