Hi,

I'm trying to install PDL from CPAN on an Ubuntu Lucid machine, but the
install fails with:

...
make[4]: Entering directory 
`/root/.cpanplus/5.10.1/build/PDL-2.4.9/Lib/GSL/SF/zeta'
make[4]: Leaving directory 
`/root/.cpanplus/5.10.1/build/PDL-2.4.9/Lib/GSL/SF/zeta'
make[3]: Leaving directory `/root/.cpanplus/5.10.1/build/PDL-2.4.9/Lib/GSL/SF'
make[2]: Leaving directory `/root/.cpanplus/5.10.1/build/PDL-2.4.9/Lib/GSL'
make[2]: Entering directory `/root/.cpanplus/5.10.1/build/PDL-2.4.9/Lib/FFTW'
****
 Skipping build of PDL::FFTW.
****
make[2]: Leaving directory `/root/.cpanplus/5.10.1/build/PDL-2.4.9/Lib/FFTW'
make[2]: Entering directory `/root/.cpanplus/5.10.1/build/PDL-2.4.9/Lib/GIS'
make[3]: Entering directory 
`/root/.cpanplus/5.10.1/build/PDL-2.4.9/Lib/GIS/Proj'
make[3]: Makefile: No such file or directory
make[3]: *** No rule to make target `Makefile'.  Stop.
make[3]: Leaving directory `/root/.cpanplus/5.10.1/build/PDL-2.4.9/Lib/GIS/Proj'
make[2]: *** [subdirs] Error 2
make[2]: Leaving directory `/root/.cpanplus/5.10.1/build/PDL-2.4.9/Lib/GIS'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/root/.cpanplus/5.10.1/build/PDL-2.4.9/Lib'
make: *** [subdirs] Error 2

[ERROR] [Tue Jul 19 20:17:45 2011] Unable to create a new distribution object 
for 'PDL::Core' -- cannot continue

(More than a little galling since I don't actually want GIS).

Any suggestions about what might be causing this?

I have tried with and without libproj-dev installed and have tried to
find other people with the same problem to no avail.

When I manually perl Makefile.PL in the offending dir, I get:

# perl Makefile.PL 
        PDL::GIS::Proj: Found /usr/lib64/libproj.so
Undefined subroutine &main::trylink called at Makefile.PL line 142.
BEGIN failed--compilation aborted at Makefile.PL line 171.

or

# perl Makefile.PL
        PDL::GIS::Proj: Found /usr/local/lib/libproj.a
 Testing support libraries for PDL::GIS::Proj:
        Cannot find Proj header file, proj_api.h.
        Please add the correct library path to Makefile.PL or install Proj.
 Skipping build of PDL::GIS::Proj.

Undefined subroutine &main::write_dummy_make called at Makefile.PL line 129.
BEGIN failed--compilation aborted at Makefile.PL line 171.

depending on whether libproj is installed or not.

thanks for any help



_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to