On Thu, Feb 14, 2002 at 02:47:19PM +0200, Afgin Shlomit wrote: > > I try to install libwww on solaris and first the 'make test' dont past > okay - I get : > robot/ua............Perl lib version (v5.6.1) doesn't match executable > version ( > 5.00503) at /usr/local/lib/perl5/5.6.1/sun4-solaris/Config.pm line 18.
This is not a LWP specific problem. It means you're mixing references to the old and new Perls. It is possible to use your own set of Perl modules with an existing Perl installation - I have done this on Solaris. It is also possible to do the reverse: install your own new Perl and use libraries of the previous Perl installation with it; I have done this on Solaris, too. But in the long run, the cleanest approach is to install a completely separate version of Perl and Perl modules that do not refer to any preexisting Perl installation. There are many places where these references can be set (Perl Configure, CPAN config, $PERLLIB variable, etc.) so you have to be careful. Documentation is in perldoc ExtUtils::MakeMaker and other places. I like to use the CPAN shell, configure it to use its own location for everything Perl, then reinstall the CPAN module, restart it, and reinstall Perl itself with it. But there are many different methods. Then when you want to move it to /usr/local, redo the installation from scratch. My installation notes are here: http://wwwis.win.tue.nl/~rp/perl-install/ -- Reinier
