Another thing that makes testing go faster: Edit the perldl.conf file to disable all the optional component that you don't need for build testing. Some of the libraries take a long time to configure and build---time you don't need to spend every time you change an option for the HDF stuff.
--Chris Sisyphus wrote: > ----- Original Message ----- > From: "P Kishor" <[email protected]> > >>>> ----- >>>> [11:39 PM] /usr/local/lib$ls libh* >>>> libhdf5.6.dylib* libhdf5.dylib@ libhdf5.settings >>>> libhdf5_hl.a libhdf5_hl.la* libhdf5.a >>>> libhdf5.la* libhdf5_hl.0.dylib* libhdf5_hl.dylib@ > > Which of those do you need to link to ? > (I don't have the hdf library, or a mac ... so I'm not in a position to test > any of this.) > > Assuming you need to link libhdf5.a, you could change the PDL::IO::HDF > section in perldl.conf from: > > # Whether or not to build the PDL::IO::HDF module > # 0 -> don't use > # true -> force use > WITH_HDF => undef, > HDF_LIBS => undef, > HDF_INC => undef, > > to: > > # Whether or not to build the PDL::IO::HDF module > # 0 -> don't use > # true -> force use > WITH_HDF => 1, > HDF_LIBS => '-L/usr/local/lib -lhdf5', > HDF_INC => '-I/usr/local/include', > > and see if that helps. Or perhaps that section instead needs to be: > > # Whether or not to build the PDL::IO::HDF module > # 0 -> don't use > # true -> force use > WITH_HDF => 1, > HDF_LIBS => '/usr/local/lib', > HDF_INC => '/usr/local/include', > > (Just something you can try while you're waiting for someone who knows this > stuff to come forward.) > > Make your changes to perldl.conf, then run: > make realclean > perl Makefile.PL > make test > > Cheers, > Rob > > > _______________________________________________ > Perldl mailing list > [email protected] > http://mailman.jach.hawaii.edu/mailman/listinfo/perldl > > > ------------------------------------------------------------------------ > > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 8.0.237 / Virus Database: 270.11.7/1982 - Release Date: 03/03/09 > 16:09:00 > _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
