Leslie: Great, I'm glad it worked for you. Regards,
Doug [email protected] Software Engineer UCAR - COSMIC, Tel. (303) 497-2611 On Mon, 21 Sep 2009, Leslie(Pete) Boyd wrote: > > Hi Doug, > > Thanks. > > Just as you suggest, I "tweaked" the Makefile.PL script and > added my location for NetCDF and it installed! > > Thanks again for the response...have a nice day! > >> Date: Mon, 21 Sep 2009 09:46:36 -0600 (MDT) >> From: Doug Hunt <[email protected]> >> X-X-Sender: [email protected] >> To: "Leslie(Pete) Boyd" <[email protected]> >> cc: [email protected] >> Subject: Re: CPANPLUS and PDL::NetCDF >> User-Agent: Alpine 1.10 (LRH 962 2008-03-14) >> MIME-Version: 1.0 >> X-PMX-Version: 5.4.2.338381, Antispam-Engine: 2.6.0.325393, Antispam-Data: > 2009.9.21.153617 >> X-PerlMx-Spam: Gauge=IIIIIII, Probability=7%, Report='BODY_SIZE_3000_3999 0, > BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, FROM_EDU_TLD 0, > __BOUNCE_CHALLENGE_SUBJ 0, __C230066_P5 0, __CP_URI_IN_BODY 0, __CT 0, > __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, > __RUS_OBFU_PHONE 0, __SANE_MSGID 0, __TO_MALFORMED_2 0, __USER_AGENT 0' >> >> Hi Leslie: Both PDL and PDL::NetCDF require some manual tuning to >> install, so they don't install automatically from the cpan shell. >> >> The approach I always take is to download the latest PDL from CPAN: >> >> http://search.cpan.org/CPAN/authors/id/C/CH/CHM/PDL-2.4.4.tar.gz >> >> and install it manually: >> >> 1) Untar >> 2) Install prereqs: >> >> 'Astro::FITS::Header' => 0, >> 'File::Spec' => 0.6, >> 'Filter::Util::Call' => 0, # for PDL::NiceSlice >> 'Text::Balanced' => 0, # for PDL::NiceSlice >> 'Inline' => 0.43, >> >> *These* you can install with the cpan shell! >> >> 3) Install PDL: >> >> perl Makefile.PL >> make >> make test >> make install >> >> If this does not work, then I would edit the ./perldl.conf file to get rid >> of any external packages you won't need (stuff like TRI_D, SLATEC, etc). >> I would set WITH_3D to zero, for example and perhaps other WITH_ flags. >> >> Once PDL is installed, then download PDL::NetCDF from CPAN: >> >> http://search.cpan.org/CPAN/authors/id/D/DH/DHUNT/PDL-NetCDF-4.02.tar.gz >> >> The trick here is to tell the PDL-NetCDF module where to find the netCDF >> libraries and headers. Some standard locations are encoded in the module, >> but for anything non-standard, you must specify the location with >> environment variables: >> >> NETCDF_LIBDIR and NETCDF_INCDIR. In my case I do this: >> >> (untar PDL-NetCDF-4.02.tar.gz and cd to top directory) >> export NETCDF_LIBDIR=/ops/tools/lib >> export NETCDF_INCDIR=/ops/tools/include >> perl Makefile.PL >> make >> make test >> make install >> >> Of course, to do this, you must have installed the netCDF library >> (available from http://www.unidata.ucar.edu/software/netcdf/) >> >> Other folks on the PDL list may have some better or more current ideas, >> please chime in! >> >> Regards, >> >> Doug Hunt >> >> [email protected] >> Software Engineer >> UCAR - COSMIC, Tel. (303) 497-2611 >> >> On Fri, 18 Sep 2009, Leslie(Pete) Boyd wrote: >> >>> >>> Hi Douglas, >>> >>> I am attempting to install the PDL::NetCDF module using cpanp >>> on a SGI Altix 3700. >>> >>> Getting the below message from cpanp. >>> >>> Any suggestions? >>> >>> Thanks. >>> >>> Going to read /tmp/.cpan/sources/modules/03modlist.data.gz >>> Going to write /tmp/.cpan/Metadata >>> Running install for module PDL::NetCDF >>> >>> The module PDL::NetCDF isn't available on CPAN. >>> >>> Either the module has not yet been uploaded to CPAN, or it is >>> temporary unavailable. Please contact the author to find out >>> more about the status. Try 'i PDL::NetCDF'. >>> >>> cpan> i PDL::NetCDF >>> Strange distribution name [PDL::NetCDF] >>> Module id = PDL::NetCDF >>> DESCRIPTION Reads/Writes NetCDF files from/to PDL objs >>> CPAN_USERID DHUNT (Douglas Hunt <[email protected]>) >>> CPAN_VERSION undef >>> CPAN_FILE Contact Author Douglas Hunt <[email protected]> >>> DSLI_STATUS RdcO (released,developer,C,object-oriented) >>> INST_FILE (not installed) >>> >>> >>> cpan> >>> >>> >>> ****************** >>> Leslie(Pete) Boyd >>> Contractor: The rich man isn't the one who has the most, >>> Vision Technoligies but the one who needs the least. >>> Senior Systems Engineer >>> US EPA Rm. E460 --- IN GOD WE TRUST -- >>> 919/541-1438 >>> ****************** >>> >>> >>> ------------- End Forwarded Message ------------- >>> >>> >>> ****************** >>> Leslie(Pete) Boyd >>> Contractor: The rich man isn't the one who has the most, >>> Vision Technoligies but the one who needs the least. >>> Senior Systems Engineer >>> US EPA Rm. E460 --- IN GOD WE TRUST -- >>> 919/541-1438 >>> ****************** >>> >>> > > ****************** > Leslie(Pete) Boyd > Contractor: The rich man isn't the one who has the most, > Vision Technoligies but the one who needs the least. > Senior Systems Engineer > US EPA Rm. E460 --- IN GOD WE TRUST -- > 919/541-1438 > ****************** > > _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
