perl troubles.

Shawn Guillemette list at pc-remedies.net
Mon Oct 25 07:04:45 PDT 2004


Attempting to install perl 5.8 on a newly install FreeBSD 4.10 Machine. 

I have done the following.. 

Compiled Kernel with IPFW support

Install cvsup and updated the ports tree.... 

then cd /usr/ports/databases/mysql40-server
make install

and cd /usr/ports/www/apache13-modssl
make install


I then did php 

cd /usr/ports/lang/php4

make install

and moved on to perl 

# cd /usr/ports/lang/perl5.8
# make install ENABLE_SUIDPERL=yes

When install perl 5.8 from the ports I I get this 


#cd /usr/ports/lang/perl5.8/
make install ENABLE_SUIDPERL=yes

and got this

 /usr/local/man/man1/xsubpp.1
  /usr/local/man/man1/a2p.1
  /usr/local/man/man1/find2perl.1
  /usr/local/man/man1/s2p.1
install -c -o root -g wheel -m 555 /usr/ports/lang/perl5.8/work/use.perl
/usr/local/bin/use.perl
/bin/mkdir -p /usr/local/lib/perl5/5.8.5/BSDPAN/.
install -c -o root -g wheel -m 444
/usr/ports/lang/perl5.8/work/BSDPAN-5.8.5/BSDPAN.pm
/usr/local/lib/perl5/5.8.5/BSDPAN/BSDPAN.pm
/bin/mkdir -p /usr/local/lib/perl5/5.8.5/BSDPAN/BSDPAN
install -c -o root -g wheel -m 444
/usr/ports/lang/perl5.8/work/BSDPAN-5.8.5/BSDPAN/Override.pm
/usr/local/lib/perl5/5.8.5/BSDPAN/BSDPAN/Override.pm
/bin/mkdir -p /usr/local/lib/perl5/5.8.5/BSDPAN/.
install -c -o root -g wheel -m 444
/usr/ports/lang/perl5.8/work/BSDPAN-5.8.5/Config.pm
/usr/local/lib/perl5/5.8.5/BSDPAN/Config.pm
/bin/mkdir -p /usr/local/lib/perl5/5.8.5/BSDPAN/ExtUtils
install -c -o root -g wheel -m 444
/usr/ports/lang/perl5.8/work/BSDPAN-5.8.5/ExtUtils/MM_Unix.pm
/usr/local/lib/perl5/5.8.5/BSDPAN/ExtUtils/MM_Unix.pm
/bin/mkdir -p /usr/local/lib/perl5/5.8.5/BSDPAN/ExtUtils
install -c -o root -g wheel -m 444
/usr/ports/lang/perl5.8/work/BSDPAN-5.8.5/ExtUtils/Packlist.pm
/usr/local/lib/perl5/5.8.5/BSDPAN/ExtUtils/Packlist.pm
/usr/libexec/ld-elf.so.1: /usr/local/bin/perl: Undefined symbol
"PL_exit_flags"
*** Error code 1


Also of I issue 

use.perl system  I get this

# use.perl system
/usr/libexec/ld-elf.so.1: /usr/local/bin/perl: Undefined symbol "PL_exit_flags"



and is If use use.perl port

# use.perl port
/usr/libexec/ld-elf.so.1: /usr/local/bin/perl: Undefined symbol "PL_exit_flags"


I did look at /usr/ports/UPDATING

 AFFECTS: users of lang/perl5.8
  AUTHOR: tobez at FreeBSD.org, mat at FreeBSD.org, marcus at FreeBSD.org

  lang/perl5.8 has been updated to 5.8.5. you should update everything
  depending on perl, that is:
    * first, upgrade your perl5.8 installation.
    * run "use.perl port", so that the system knows you have 5.8.5.
    * now, run some magic incantations to upgrade all ports depending on perl,
      that is run something like :
      portupgrade -f `(pkg_info -R perl-5.8.5 |tail +4; \
        find /usr/local/lib/perl5/site_perl/5.8.[124] -type f -print0 \
        | xargs -0 pkg_which -fv | sed -e '/: ?/d' -e 's/.*: //')|sort -u`
      This is likely to fail for a few ports, you'll have to upgrade them
      afterwards.
      Please note, that this last step is, strictly speaking, not necessary,
      if you are upgrading from 5.8.4.  But it is cleaner to do so anyway.


This is I cant get past the first step. 

 * first, upgrade your perl5.8 installation.
I take it they mean to cd to the ports tree and make install .. 
Well that fails on me. 






More information about the freebsd-questions mailing list