Hi Doug:

[EMAIL PROTECTED]:~ % perl -V
Summary of my perl (revision 5 version 8 subversion 4) configuration:
Platform:
  osname=linux, osvers=2.4.21-15.elsmp, archname=i686-linux
uname='linux modaps.nascom.nasa.gov 2.4.21-15.elsmp #1 smp thu apr 22 00:18:
24 edt 2004 i686 i686 i386 gnulinux '
config_args='-Uinstallusrbinperl -Dinstallprefix=/nfs/depot/rhe-3.0/perl-5.8
.4 -des'
  hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=unde
f
  useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
  use64bitint=undef use64bitall=undef uselongdouble=undef
  usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SO
URCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
  optimize='-O2',
  cppflags='-fno-strict-aliasing -I/usr/local/include -I/usr/include/gdbm'
ccversion='', gccversion='3.2.3 20030502 (Red Hat Linux 3.2.3-34)', gccosand
vers=''
  intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
  d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize
=8
  alignbytes=4, prototype=define
Linker and Libraries:
  ld='cc', ldflags =' -L/usr/local/lib'
  libpth=/usr/local/lib /lib /usr/lib
  libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
  perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
  libc=/lib/libc-2.3.2.so, so=so, useshrplib=false, libperl=libperl.a
  gnulibc_version='2.3.2'
Dynamic Linking:
  dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
  cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under linux
Compiled at May 26 2004 22:50:34
%ENV:
  PERLLIB="/MODAPSint/lib:/usr/local/lib/perl"
@INC:
  /MODAPSint/lib
  /usr/local/lib/perl
  /usr/local/lib/perl
  /usr/local/lib/perl
  /usr/local/lib/perl
  /usr/local/lib/perl
  /usr/local/lib/perl
  .
Thanks,
--greg

Douglas Burke wrote:

Greg,

Could you send the output of 'perl -V'.

Ta,
Doug

Greg Ederer wrote:
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






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

Reply via email to