I upgraded from Leopard (Mac OS X 10.5.x) to Snow Leopard (Mac OS X
10.6.x 64 bit) and from Perl 5.10 to Perl 5.12.1 and found that PDL
2.4.6 broke. So, I reinstalled PDL, but in the process, found that
Proj.4 was now broken as well. So, I reinstalled Proj.4 4.7.0
(successful), and then re-installed PDL 2.4.6, and was successful
(without PLplot). That said, every time I start perldl (the PDL
shell), I get the following message --
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>
One major problem, however. PDL::NetCDF doesn't work anymore. Turns
out, now I have to recompile libnetcdf, so I downloaded netCDF v.
4.1.1 and tried to configure it, but I get the following error --
checking if Fortran "byte" is C "signed char"... configure: error:
Could not link conftestf.o and conftest.o
configure fails. I searched around and found the following
Process: netCDF Problem: “checking if Fortran "byte" is C "signed
char"... configure: error: Could not link conftestf.o and conftest.o
--compilation exited abnormally with code 1”
Fix: The problem is that the ifort is 64-bit and the gcc is 32-bit.
Changed CC in .tcshrc: setenv CC "/usr/bin/gcc -arch x86_64
-mmacosx-version-min=10.5”
at http://www.atmos.umd.edu/~drb/install/CMAQ.pdf (warning: PDF file)
However, setting the CC env variable as above doesn't help at all. I
get the following error
configure: finding C compiler
checking whether the C compiler works... no
configure: error: in `/Users/punkish/Projects/netcdf-4.1.1':
configure: error: C compiler cannot create executables
See `config.log' for more details.
Any suggestions?
--
Puneet Kishor
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl