[Thread Prev][Thread Next][Index]
[las_users] MySQL/LAS 6.5.1.2/Mandriva 10.2 problem solved; now a perl path problem
Hello,
first I'd like to thank Rob for solving my problem with MySQL -
commenting out
#MYSQLD_OPTIONS="--skip-networking"
in
/etc/sysconfig/mysqld
did the trick. (This should probably be pointed out in the installation
documentation, as it will affect everyone with a recent version of MySQL.)
Now the LAS interface starts up as it should:
http://quercus.igpp.ucla.edu:8080/las/servlets/dataset
Select either dataset and any variable, and when it comes to actually
drawing a plot, an error occurs:
Can't locate MD5.pm in @INC (@INC contains: ../xml/perl ../xml/perl/TMAP
. ../xml/perl/install/lib/5.8.7 ../xml/perl/install/lib/site_perl/5.8.7
../xml/perl/install/lib/perl5/5.8.7
../xml/perl/install/lib/perl5/site_perl/5.8.7
/usr/lib/perl5/5.8.7/i386-linux /usr/lib/perl5/5.8.7
/usr/lib/perl5/site_perl/5.8.7/i386-linux /usr/lib/perl5/site_perl/5.8.7
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.7/i386-linux
/usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6
/usr/lib/perl5/vendor_perl/5.8.6/i386-linux
/usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4
/usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1
/usr/lib/perl5/vendor_perl) at ../xml/perl/LAS/Server.pm line 402.
BEGIN failed--compilation aborted at ../xml/perl/LAS/Server.pm line 402.
Compilation failed in require at /usr/local/las/server/LASserver.pl line 36.
BEGIN failed--compilation aborted at /usr/local/las/server/LASserver.pl
line 36.
Initially I had this problem with module PathConvert.pm. As it has been
discussed before, i.e.
http://ferret.pmel.noaa.gov/Ferret/LAS/Mail_Archives/fu_2003/msg00033.html
this module is deprecated. I replaced all occurrences of
File::PathConvert with File::Spec in these files:
xml/perl/LAS.pm
xml/perl/LASDB.pm
xml/perl/LASServlet.pm
xml/perl/LASUI.pm
xml/perl/LAS/Server.pm
For the release, this should be done in several *.pl and *.pl.in files
in the bin subdirectory as well, and that should be all to replace the
PathConvert module.
Back to MD5: I have the file in (starting from the $LASDIR):
xml/perl/install/lib/perl5/site_perl/5.8.7/MD5.pm
which seems to be a directory that's listed in the @INC path above - if
the starting point is one directory level below $LASDIR. If
server/LASserver.pl is the main routine, this is the case, so I don't
know why the module isn't found.
How can I fix this problem?
Thanks a lot!
-- Hartmut
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement