NOTE: The decoders
mailing list is no longer active. The list archives are made available for historical reasons.
Geff Underwood wrote:
We're trying to extract the zone forecasts for NWX, and are having trouble with the script "ldmConnect". We're running HP-UX 9.03, ldm 5.0.5, and perl 5.004_04. The ldmd logfile gets lines like this: Jan 29 19:42:28 pinky pqact[776]: pipe_dbufput: \ ldmConnect-e.zone9801data/gempak/nwx/pubprod/zone write error and the console gets this: BEGIN failed--compliation aborted at \ /users/ldm/decoders/bin/ldmConnect line 9. Can't locate File/Path.pm in @INC at \ /users/ldm/decoders/bin/ldmConnect line 9.
Geff, The problem is that Path.pm doesn't exist or @INC doesn't contain the path to Path.pmPath.pm should be in dir
/usr/local/lib/perl5/File % ls /usr/local/lib/perl5/File Path.pm Find.pm Copy.pm CheckTree.pm Basename.pmIf the perl install wasn't complete then the perl modules (pm) files are missing. The install must be complete because ldmConnect uses other pm's. The perl install process usually does a good job.
If you can locate Path.pm anywhere on the system, then the @INC array (search path for pm is wrong). That's easy to correct. At the second line in ldmConnect add: push( @INC, <additional path here> ) ; #path needs to be in quotes To find out the present path use debug mode: % perl -d ldmConnect % p "@INC" % q Hope this helps, Robb... _______________________________________________________________________________ Robb Kambic Unidata Program Center Software Engineer Univ. Corp for Atmospheric Research rkambic@xxxxxxxxxxxxxxxx WWW: http://www.unidata.ucar.edu/ =========================================================================
decoders
archives: