I am trying to install PDL2.4.6 on my 64-bit Mac Pro running OS
10.6.4.  I downloaded PDL (and what I thought were the appropriate dependent
modules) from CPAN, and my attempts to `make' PDL straight out of the box
seem to have run into a number of hiccups.   I have Perl 5.10.0 supplied
with Snow Leopard.   I am planning to use software that was developed with
PDL (not on Mac, however), and I am very, very new to Perl/PDL.

perldl -V gives:

Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
  Platform:
    osname=darwin, osvers=10.0, archname=darwin-thread-multi-2level
    uname='darwin neige.apple.com 10.0 darwin kernel version 10.0.0d8: tue
may 5 19:29:59 pdt 2009; root:xnu-1437.2~2release_i386 i386 '
    config_args='-ds -e -Dprefix=/usr -Dccflags=-g  -pipe  -Dldflags=
-Dman3ext=3pm -Duseithreads -Duseshrplib -Dinc_version_list=none
-Dcc=gcc-4.2'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc-4.2', ccflags ='-arch x86_64 -arch i386 -arch ppc -g -pipe
-fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include',
    optimize='-Os',
    cppflags='-g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing
-I/usr/local/include'
    ccversion='', gccversion='4.2.1 (Apple Inc. build 5646)',
gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='gcc-4.2 -mmacosx-version-min=10.6', ldflags ='-arch x86_64 -arch
i386 -arch ppc -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib
    libs=-ldbm -ldl -lm -lutil -lc
    perllibs=-ldl -lm -lutil -lc
    libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true,
libperl=libperl.dylib
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags='-arch x86_64 -arch i386 -arch ppc -bundle
-undefined dynamic_lookup -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
                        PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_ITHREADS
                        USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API
  Locally applied patches:
    /Library/Perl/Updates/<version> comes before system perl directories
    installprivlib and installarchlib points to the Updates directory
  Built under darwin
  Compiled at Jun 24 2009 00:35:28
  %ENV:
    PERL5LIB="/sw/lib/perl5:/sw/lib/perl5/darwin"
  @INC:
    /sw/lib/perl5/darwin-thread-multi-2level
    /sw/lib/perl5
    /sw/lib/perl5/darwin
    /Library/Perl/Updates/5.10.0/darwin-thread-multi-2level
    /Library/Perl/Updates/5.10.0
    /System/Library/Perl/5.10.0/darwin-thread-multi-2level
    /System/Library/Perl/5.10.0
    /Library/Perl/5.10.0/darwin-thread-multi-2level
    /Library/Perl/5.10.0
    /Network/Library/Perl/5.10.0/darwin-thread-multi-2level
    /Network/Library/Perl/5.10.0
    /Network/Library/Perl
    /System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level
    /System/Library/Perl/Extras/5.10.0



 I have also installed (successfully, I believe) Inline 0.46, FFTW 2.1.5,
GSL 1.16.    perl Makefile.PL seems to work OK, but when I run `make' I get
a barrage of warnings.    A small sample is :

chmod 755 ../../../blib/arch/auto/PDL/GSL/INTEG/INTEG.bundle
cp INTEG.bs ../../../blib/arch/auto/PDL/GSL/INTEG/INTEG.bs
chmod 644 ../../../blib/arch/auto/PDL/GSL/INTEG/INTEG.bs
Manifying ../../../blib/man3/PDL::GSL::INTEG.3pm
/usr/bin/perl -I/Users/patrickdurrell/kingphot/PDL-2.4.6/blib/lib
-I/Users/patrickdurrell/kingphot/PDL-2.4.6/blib/arch "-MPDL::PP
qw/PDL::GSL::INTERP PDL::GSL::INTERP INTERP/" gsl_interp.pd
Skip ../../../blib/lib/PDL/GSL/INTERP.pm (unchanged)
/usr/bin/perl /System/Library/Perl/5.10.0/ExtUtils/xsubpp  -typemap
/System/Library/Perl/5.10.0/ExtUtils/typemap -typemap
/Users/patrickdurrell/kingphot/PDL-2.4.6/Basic/Core/typemap.pdl -typemap
typemap  INTERP.xs > INTERP.xsc && mv INTERP.xsc INTERP.c
gcc-4.2 -c  -I/Users/patrickdurrell/kingphot/PDL-2.4.6/Basic/Core
-I/usr/local/include -arch x86_64 -arch i386 -arch ppc -g -pipe -fno-common
-DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include -Os
-DVERSION=\"2.4.6\" -DXS_VERSION=\"2.4.6\"
"-I/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE"   INTERP.c
INTERP.xs: In function ‘pdl_init_meat_readdata’:
INTERP.xs:210: warning: format not a string literal and no format arguments
INTERP.xs:254: warning: format not a string literal and no format arguments
INTERP.xs:298: warning: format not a string literal and no format arguments
INTERP.xs:342: warning: format not a string literal and no format arguments
INTERP.xs:386: warning: format not a string literal and no format arguments
INTERP.xs:430: warning: format not a string literal and no format arguments
INTERP.xs:474: warning: format not a string literal and no format arguments
INTERP.xs: In function ‘pdl_eval_meat_readdata’:
INTERP.xs:697: warning: format not a string literal and no format arguments
INTERP.xs:735: warning: format not a string literal and no format arguments
INTERP.xs:785: warning: format not a string literal and no format arguments
INTERP.xs:823: warning: format not a string literal and no format arguments
INTERP.xs:873: warning: format not a string literal and no format arguments
INTERP.xs:911: warning: format not a string literal and no format arguments
.....and many more lines like this.
--------------------------------------------------------------------------------------------------------------------
  The code I want to install that uses PDL needs some of these GSL libraries
(eg INTERP)...while the libraries are found in creating the Makefile (for
example, GSL:INTERP' - I not attached the output from this for clarity...),
but when I run `make test', I see that many of these same routines were not
installed:

ExtUtils::F77: Version 1.16
ok
t/flow......................ok
t/foo.......................ok
t/func......................ok
t/gauss.....................ok
t/gd_oo_tests...............skipped
        all skipped: Skipped: PDL::IO::GD requires the gd image library.
t/gd_tests..................skipped
        all skipped: Skipped: PDL::IO::GD requires the gd image library: No
such file or directory
t/gis_proj..................skipped
        all skipped: PDL::GIS::Proj requires the Proj module.
t/gsl_diff..................ok
t/gsl_integ.................ok
t/gsl_interp................skipped
        all skipped: PDL::GSL::INTERP not installed
t/gsl_mroot.................skipped
        all skipped: PDL::GSL::MROOT not installed
t/gsl_rng...................ok
t/gsl_sf....................ok
t/hdf_sd....................skipped
        all skipped: PDL::IO::HDF module not available.
t/hdf_vdata.................skipped
        all skipped: PDL::IO::HDF module not available.
t/hdf_vgroup................skipped
        all skipped: PDL::IO::HDF module not available.
t/hdrs......................ok


I wanted to ask if there is anything obvious that I am doing wrong...I have
looked online to see others have had some trouble installing PDL 2.4.6 on
Snow Leopard, but not very much, and from what I can tell, not (quite) the
same issues I seem to be having.   Thanks for your patience!
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to