|
I have been trying to install Astro::FITS::CFITSIO on my Mac OS X 10.5. I have 64-bit installations of Perl 5.8.8, CFITSIO library 3.060 (static not dynamic), and C Libraries (dynamic). I use Config.pm settings with a command-line setenv ARCHFLAGS -arch x86_64. I have no errors on make but when I run make test:
Loading................................Can't load 'blib/arch/auto/Astro/FITS/CFITSIO/CFITSIO.bundle
+' for module Astro::FITS::CFITSIO: dlopen(blib/arch/auto/Astro/FITS/CFITSIO/CFITSIO.bundle, 2): no
+ suitable image found. Did find:
blib/arch/auto/Astro/FITS/CFITSIO/CFITSIO.bundle: mach-o, but wrong architecture at /System/Librar
+y/Perl/5.8.8/darwin-thread-multi-2level/DynaLoader.pm line 230.
at test.pl line 26
Compilation failed in require at test.pl line 26.
BEGIN failed--compilation aborted at test.pl line 26.
make: *** [test_dynamic] Error 2
When I run file /phd/basics/perl_modules/Astro-FITS-CFITSIO-1.05/blib/arch/auto/Astro/FITS/CFITSIO/CFITSIO.bundle, I get
/phd/basics/perl_modules/Astro-FITS-CFITSIO-1.05/blib/arch/auto/Astro/FITS/CFITSIO/CFITSIO.bundle: Mach-O 64-bit bundle x86_64 so it appears to be in the correct format.
I tried including MYEXTLIB set for /phd/basics/perl_modules/cfitsio/lib/libcfitsio.a in the Makefile.PL but got the same results. Can Astro::FITS::CFITSIO be compiled in 64-bit memory? Is the problem with the test suite? I'd appreciate any suggestions.
Debra Baker
University of Maryland
|