In article <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] (Jason F.B.) wrote:

> Error: Unable to locate installed Perl libraries or Perl source code.

> (You get this message, because MakeMaker could not find 
> "/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/perl.h")

> ld: -undefined: unknown argument: dynamic_lookup

All of these problems are, as mentioned, related to your need to install 
Xcode (formerly called the Developer Tools).  I just wanted to clarify 
what's going on, for the curious:

The first two errors there are related to the fact that Apple does not 
install CORE/perl.h (nor many other pieces to Perl, required for 
development) unless you install a portion of the dev tools/Xcode.  I'm not 
sure which portion, but probably listed as something like "BSD Tools" or 
something.

The other error is because you're not using gcc 3.3, and perl 5.8.1 is set 
to use gcc 3.3 by default.  This should be automatically fixed by installing 
Xcode.  If you have gcc 3.3 installed and you still get the error, use 
gcc_select to switch to using it.

  [EMAIL PROTECTED] pudge]$ gcc -v
  Reading specs from /usr/libexec/gcc/darwin/ppc/2.95.2/specs
  Apple Computer, Inc. version gcc-938, based on gcc version 2.95.2 19991024 
(release)
  [EMAIL PROTECTED] pudge]$ sudo gcc_select 3.3
  Default compiler has been set to:
  gcc version 3.3 20030304 (Apple Computer, Inc. build 1495)

-- 
Chris Nandor                      [EMAIL PROTECTED]    http://pudge.net/
Open Source Development Network    [EMAIL PROTECTED]     http://osdn.com/

Reply via email to