Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

well, my whole perl/openssl issue escalted to me deciding to reinstall perl, however when installing from the tarball, while i run make i am getting these errors:

cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory

and lots of this sort of stuff:

perlio.c: In function `PerlIO_ungetc':
perlio.c:4441: warning: unused variable `Perl___notused'
perlio.c: In function `PerlIO_putc':
perlio.c:4454: warning: unused variable `Perl___notused'
perlio.c: In function `PerlIO_puts':
perlio.c:4463: warning: unused variable `Perl___notused'
perlio.c: In function `PerlIO_rewind':
perlio.c:4472: warning: unused variable `Perl___notused'
perlio.c: In function `PerlIO_vprintf':
perlio.c:4481: warning: unused variable `Perl___notused'

now i am at a complete loss as perl is now screwed. how can i sort this out? I'm running Mac OS X 10.2 Server and the version of perl is 5.8.0.

If i try and use the command cpan, after the "installation" (it completes, but its not working like it should) i get:

dyld: perl Undefined symbols:
_Perl_sv_2pv
_perl_get_sv
Trace/BPT trap

thanks very much to anyone that can give me some pointers peace out :)

Replies are listed 'Best First'.
Re: perl wont make properly
by Abigail-II (Bishop) on Sep 02, 2003 at 14:19 UTC
    cc1: warning: changing search order for system directory "/usr/local/i +nclude" cc1: warning: as it has already been specified as a non-system directo +ry perlio.c: In function `PerlIO_ungetc': perlio.c:4441: warning: unused variable `Perl___notused' ...

    These are actual warnings, not errors. They shouldn't prevent perl from being compiled.

    If i try and use the command cpan

    What are you trying to do with the cpan command?

    Abigail

      nothing, just cpan, it wont run.

      >cpan
      >dyld: perl Undefined symbols:
      _Perl_sv_2pv
      _perl_get_sv
      Trace/BPT trap

      thanks
        Looks like it's linking with a wrong library, a library was missing when perl was linked, or the library is incorrect. Were you successful in running make test after making perl?

        Abigail

Re: perl wont make properly
by wirrwarr (Monk) on Sep 02, 2003 at 15:22 UTC
    The "Undefined symbols" smells like a dynamic library problem. Did you configure perl to use a shared perl library (I think that's possible)? And do you have this older perl you are talking about still installed? Maybe the new perl tries to use an old library.

    You should probably post how you configured the build.

    hope that helps,

    daniel.