On Sun, May 30, 2010 at 3:07 PM, P Kishor <[email protected]> wrote:
> On Sun, May 30, 2010 at 3:04 PM, Chris Marshall <[email protected]> wrote:
>> On 5/30/2010 3:53 PM, P Kishor wrote:
>>>
>>> punk...@lucknow ~/Projects$perldl
>>> defined(%hash) is deprecated at /usr/local/bin/perldl line 61.
>>> (Maybe you should just omit the defined()?)
>>> perlDL shell v1.352
>>> ..
>>> perldl>
>>
>> That is a new warning in perl 5.12. It has already been
>> fixed in PDL git. The log for the change says: remove
>> the 'defined' from 'defined %PDL::Confg' in order to
>> avoid the deprecation warning that perl-5.12 issues wrt
>> this practice.
>>
>>
>
> Ok, thanks. I won't worry about that for now. PDL, at large, seems to
> be working otherwise. But I am unable to re-build libnetcdf, and
> hence, PDL::NetCDF. By the way, my earlier report about C compiler
> unable to create executables was wrong. I had a typo in my env
> variable. Setting it correctly brings me back to square one --
>
> checking nm flags...
> checking for C-equivalent to Fortran routine "SUB"... sub_
> checking for Fortran "byte"... yes
> checking for Fortran "integer*2"... yes
> checking if Fortran "byte" is C "signed char"... configure: error:
> Could not link conftestf.o and conftest.o
>
>
While building libnetcdf, if I turn off support for hdf5 and f77, I am
able to build it, but the arch is wrong. I did the following
./configure --prefix=/usr/local/netcdf --disable-f77 --disable-netcdf-4
then did a make && make install, but I get the following error
PDL/NetCDF/NetCDF.bundle \
-L/usr/local/netcdf/lib -lnetcdf \
ld: warning: in /usr/local/lib/libnetcdf.a, file was built for
unsupported file format which is not the architecture being linked
(x86_64)
chmod 755 blib/arch/auto/PDL/NetCDF/NetCDF.bundle
cp NetCDF.bs blib/arch/auto/PDL/NetCDF/NetCDF.bs
chmod 644 blib/arch/auto/PDL/NetCDF/NetCDF.bs
Manifying blib/man3/PDL::NetCDF.3
punk...@lucknow ~/Projects/PDL-NetCDF-4.03$
I thought stuff automatically build 64-bits on Mac OS X 10.6.x, but I guess not.
Any suggestions?
--
Puneet Kishor http://www.punkish.org
Carbon Model http://carbonmodel.org
Charter Member, Open Source Geospatial Foundation http://www.osgeo.org
Science Commons Fellow, http://sciencecommons.org/about/whoweare/kishor
Nelson Institute, UW-Madison http://www.nelson.wisc.edu
-----------------------------------------------------------------------
Assertions are politics; backing up assertions with evidence is science
=======================================================================
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl