#222 make fails with Error 2

closed-out-of-date
nobody
None
1
2010-01-05
2009-10-16
No

PDL-2.4.4 Perl 5.8.8 Mac OS X 10.5.8 Leopard

I downloaded and am trying to manually install PDL-2.4.4. I am able to generate the makefile successfully, but I get an Error 2 at the end of the make output along with another error stating "The type =double= does not have a typemap entry!".

> The type =double= does not have a typemap entry!
> make[2]: *** [Bad.pm] Error 2
> make[1]: *** [subdirs] Error 2
> make: *** [subdirs] Error 2

If I continue with make test, I get the following errors:

> The type =int= does not have a typemap entry!
> make[2]: *** [Ops.pm] Error 2
> make[1]: *** [subdirs] Error 2
> make: *** [subdirs] Error 2

... and then make install ends with:

> The type =int= does not have a typemap entry!
> make[2]: *** [Primitive.pm] Error 2
> make[1]: *** [subdirs] Error 2
> make: *** [subdirs] Error 2

I checked my typemap file, and it seems to contain the appropriate TYPEMAP, INPUT, and OUTPUT statements for both double and int data types.

I've attached a file -- mgstick__PDL-244-make-logs.txt -- containing the complete bash output logs from perl Makefile.pl, make, make test, and make install.

Discussion

  • Michael Stickland

    Complete bash output logs from perl Makefile.pl, make, make test, and make install.

     
  • Michael Stickland

    Please let me know if you need additional information.

    You can contact me at mgstick@sandia.gov.

     
  • Chris Marshall

    Chris Marshall - 2009-10-16

    Fixed in the current CPAN developers release CHM/PDL-2.4.4_136.tar.gz

     
  • Chris Marshall

    Chris Marshall - 2009-10-16
    • status: open --> pending-out-of-date
     
  • Michael Stickland

    Thanks. I'll try that one.

     
  • Michael Stickland

    • status: pending-out-of-date --> open
     
  • Chris Marshall

    Chris Marshall - 2009-10-16
    • priority: 5 --> 1
    • status: open --> open-out-of-date
     
  • Chris Marshall

    Chris Marshall - 2009-10-16
    • status: open-out-of-date --> pending-out-of-date
     
  • Michael Stickland

    When running perl Makefile.pl for PDL-2.4.4_136, I get the following Warnings:

    > Warning: the following files are missing in your kit:
    > Changes
    > Please inform the author.

    ... and:

    > WARNING: Unknown cpu type i386! Not setting $hdf_defs. (This may not be a bad thing)
    > Final $hdf_defs flags: ''
    >
    > Cannot find hdf library, libdf.a.
    > Please add the correct library path to Makefile.PL or install HDF
    > Cannot find hdf header file, hdf.h.
    > Please add the correct library path to Makefile.PL or install HDF
    >
    > Skipping build of PDL::IO::HDF.
    >
    > writing dummy Makefile
    > Cannot find GD library, .
    > Please add the correct library path to Makefile.PL or install GD
    > .Cannot find GD header file, .
    > Please add the correct library path to Makefile.PL or install GD.
    >
    > Skipping build of PDL::IO::GD.

    The first is just FYI, but why isn't cpu type i386 recognized? Will installing HDF4 (and GD) fix this?

    These warnings are followed later by:

    > Writing Makefile for PDL::Slatec
    > no GSL link info (libgsl probably not available)
    > no GSL include info (libgsl probably not available)
    >
    > no GSL version info found (gsl-config not installed?)
    >
    >
    > Not building GSL modules: GSL version UNKNOWN VERSION found, need at least 1.3
    >
    > writing dummy Makefile
    >
    > Skipping build of PDL::FFTW.
    >
    > writing dummy Makefile
    > Testing support libraries for PDL::GIS::Proj:
    > Cannot find Proj library, libproj.a.
    > Please add the correct library path to Makefile.PL or install 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.
    >
    > writing dummy Makefile
    > Writing Makefile for PDL::Lib::GIS
    > Writing Makefile for PDL::Transform::Cartography
    > Testing support libraries for PDL::Transform::Proj4:
    > Cannot find Proj4 library, libproj.a.
    > Please add the correct library path to Makefile.PL or install Proj4.
    > Cannot find Proj4 header file, proj_api.h.
    > Please add the correct library path to Makefile.PL or install Proj4.
    > Skipping build of PDL::Transform::Proj4.

    What additional dependencies do I need to install for this PDL install to work smoothly/fully on Mac OSX?

    -Michael

     
  • Michael Stickland

    • status: pending-out-of-date --> open-out-of-date
     
  • Chris Marshall

    Chris Marshall - 2009-12-21

    There have been many bugs fixed since PDL-2.4.4_136 (which was not an official release). I've marked this Pending to close in 2 weeks unless you update the ticket with similar problems from PDL-2.4.5_005 or higher.

     
  • Chris Marshall

    Chris Marshall - 2009-12-21
    • status: open-out-of-date --> pending-out-of-date
     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending-out-of-date --> closed-out-of-date
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks