Hi Using CRUX 2.2 (now) I upgrade my Crux server from 2.1 --> 2.2 Crux (I read the ServerMigration Doc.) Everything went fine, but after update Perl from 5.8.6 to 5.8.8 via prt-get nothing of my application work anymore. The application search for the 5.8.6 and not to 5.8.8 . I got errors like Can't locate Text/ParseWords.pm in @INC (@INC contains: /usr/lib/perl5/5.8.6/linux /usr/lib/perl5/5.8.6 and so on But the Text/ParseWords.pm is under /usr/lib/perl5/5.8.8 :-) Anyone who can help me, could this be an Environment config ?? Thanks Regards /Jörg Mvh Jörg Schulz Senior Konsult Linux/Unix/Novell/Windows/Networking SYSteam Kalmar AB Strömgatan 15 Box 99 S-391 21 Kalmar Direkt 0480-456638 Mobil 0708-157806 E-Post jorg.schulz@systeam.se HYPERLINK "http://www.systeam.se"http://www.systeam.se -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.17.7/647 - Release Date: 2007-01-23 08:02
On Wed, 24 Jan 2007, Jorg.Schulz@systeam.se wrote:
Everything went fine, but after update Perl from 5.8.6 to 5.8.8 via prt-get nothing of my application work anymore.
You can't rely on add on modules to work across installations. That's where CPAN.pm's autobundle comes particularly useful. But then endless discussions tend to arise as to whether it's better to use perl's own module installation facilities or distro's tools. Of course both approaches have their own advantages, and there's a potential solution saving the best of both worlds, but someone should took care of writing some code to exploit it, and I would like to be the one, only I've not found the time yet...
The application search for the 5.8.6 and not to 5.8.8 .
I got errors like �Can't locate Text/ParseWords.pm in @INC (@INC contains: /usr/lib/perl5/5.8.6/linux /usr/lib/perl5/5.8.6� and so on
That's quite strange because Text::ParseWords is a core module.
But the �Text/ParseWords.pm� is under /usr/lib/perl5/5.8.8� :-)
Anyone who can help me, could this be an Environment config ??
Well, there's certainly something wrong going on. What does perl -le 'print for @INC' print out? In doubt, you may want to experiment with adding directories to the PERL5LIB environment variable. Michele -- Mary had a little lamb;/Its fleece was green as limes. And every even number greater than two/Is the sum of two primes. - Robert Israel in sci.math, "Re: all math problems reduce to linguistics"
Sorry for off-topic, but maybe you can point a pretty way to have both 'libperl.a' and 'libperl.so' installed from one build. Current core/perl has only 'libperl.a'. Some distributions seems to solve that by running make 2 times (one time with "-Duseshrplib=true", second - without) and putting things together, others just use a shared version. For example, having a shared library is essential to compile latest net-snmp with "--enable-embedded-perl" (which stops me from updating contrib/net-snmp). Other uses may arise. See the bug #152[1] for the possible solution. [1] https://crux.nu/bugs/?do=details&id=152 -- Mikhail Kolesnik ICQ: 260259143 IRC: mike_k at freenode/#crux, rusnet/#yalta
participants (3)
-
Jorg.Schulz@systeam.se
-
Michele Dondi
-
Mikhail Kolesnik