Hi All:

I'm trying to build PDL on a linux box and I get the following

make[2]: Leaving directory `/home/gederer/PDL_243/PDL-2.4.3/Basic/Core'
make[2]: Entering directory `/home/gederer/PDL_243/PDL-2.4.3/Basic/Bad'
/usr/local/bin/perl -I/home/gederer/PDL_243/PDL-2.4.3/blib/lib -I/home/gederer/PDL_243/PDL-2.4.3/blib/arch "-MPDL::PP qw/PDL::Bad PDL::Bad Bad/" bad.pd
The type =double= does not have a typemap entry!
make[2]: *** [Bad.pm] Error 2
make[2]: Leaving directory `/home/gederer/PDL_243/PDL-2.4.3/Basic/Bad'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/home/gederer/PDL_243/PDL-2.4.3/Basic'
make: *** [subdirs] Error 2

This same error happens whether I build the 2.4.3 version or the most recent version from CVS. My perldl.conf has flags set as follows:

# Do we want routines to handle bad values?
#   saying no will make PDL a bit faster
# true  -> yes
# false -> no, undef -> no
#
#    WITH_BADVAL => 0,
   WITH_BADVAL => 1,

# if WITH_BADVAL == 1, do we use NaN/Inf to represent badvalues
# (not convinced setting this results in faster code)
#
   BADVAL_USENAN => 0,
#    BADVAL_USENAN => 1,

# the original BADVAL implementation assigned bad-values on pdl-types,
# not per pdl, setting the following to one will make it a pdl-variable
# THIS IS AN EXPERIMENTAL FEATURE -- BEWARE...

   BADVAL_PER_PDL => 0,
#    BADVAL_PER_PDL => 1,

When I ran
   perl Makefile.PLL --prefix=/home/gederer/usr
I got
...
Writing Makefile for PDL::Core

Congratulations - building PDL with bad value support (WITH_BADVAL=1)
       + using -FLT_MAX/-DBL_MAX for floating-point bad values

Writing Makefile for PDL::Bad
...

Any suggestions?

Thanks,
--greg


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

Reply via email to