Re: add @INC directory



William wrote:
Gunnar Hjalmarsson wrote:
You should have read the Install file before installing the new
version. All your questions are answered there; see in particular

http://search.cpan..org/~rgarcia/perl-5.10.0/INSTALL#Coexistence_with_earlier_versions_of_perl_5

You may now want to recompile perl to get the @INC you want.

Thanks, I have read more than half of it, but I am just too haste
especially for slow reader, lol. I have reinstalled all the modules
of old perl into new perl. Maybe it's better, in case I would need
the perl 5.8.8 again.

In any case it's not better for that reason. Sharing pure Perl modules
by including those directories in the @INC of the new version would not
have affected the way the old Perl version works.


I would love to share the modules between these two versions too, but when I try this "use Carp; use lib '/usr/local/lib/perl/5.8.8';" in perl-5.10 , I got the error below. The errors are so scary, maybe still better I reinstall all. Even when I reinstalled all I still getting few errors until I use 'recompile' in CPAN command.

/usr/sbin/apache2: symbol lookup error: /usr/local/lib/perl/5.8.8/auto/Storable/Storable.so: undefined symbol: Perl_Tstack_sp_ptr
/usr/sbin/apache2: symbol lookup error: /usr/local/lib/perl/5.8.8/auto/Storable/Storable.so: undefined symbol: Perl_Tstack_sp_ptr
/usr/sbin/apache2: symbol lookup error: /usr/local/lib/perl/5.8.8/auto/Storable/Storable.so: undefined symbol: Perl_Tstack_sp_ptr
/usr/sbin/apache2: symbol lookup error: /usr/local/lib/perl/5.8..8/auto/Storable/Storable.so: undefined symbol: Perl_Tstack_sp_ptr
/usr/sbin/apache2: symbol lookup error: /usr/local/lib/perl/5.8.8/auto/Storable/Storable.so: undefined symbol: Perl_Tstack_sp_ptr

Thanks.


Send instant messages to your online friends http://uk.messenger.yahoo.com
.



Relevant Pages

  • Re: remote installation of packages
    ... To those who use Perl on web accounts without shell access it would make a lot of sense. ... The approach works only for pure Perl modules. ...
    (comp.lang.perl.misc)
  • Re: add @INC directory
    ... You may now want to recompile perl to get the @INC you want. ... still better I reinstall all. ... Note that it's the /site_perl directories that contain pure Perl modules. ...
    (perl.beginners)
  • Re: add @INC directory
    ... William wrote: ... You may now want to recompile perl to get the @INC you want. ... I have reinstalled all the modules of old perl into new perl. ... Sharing pure Perl modules by including those directories in the @INC of the new version would not have affected the way the old Perl version works. ...
    (perl.beginners)
  • Re: a way to avoid recompiling perl?
    ... having to recompile perl each time it's invoked? ... Your perl binary itself isn't recompiled each time it's invoked! ... When you start running your Perl program, ... lightweight client process that could query the daemon. ...
    (perl.beginners)
  • Re: add @INC directory
    ... William wrote: ... You may now want to recompile perl to get the @INC you want. ... I have reinstalled all the modules of old perl into new perl. ... maybe still better I reinstall all. ...
    (perl.beginners)