Hi,
I have problems in installing PDL.
When I type "make", I have

.
.
.
#define PDL_Q PDL_LL
Extracting pdl.h
/usr/bin/perl -I../../blib/arch -I../../blib/lib
-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi -I/usr/lib/perl5/5.8.8
pdlcore.h.PL pdlcore.h
Extracting pdlcore.h
/usr/bin/perl -I../../blib/arch -I../../blib/lib
-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi -I/usr/lib/perl5/5.8.8
pdlsimple.h.PL pdlsimple.h
adding...
#define PDL_U PDL_US
#define PDL_Q PDL_LL
Extracting pdlsimple.h (with variable substitutions)
Skip ../../blib/lib/PDL/Dbg.pm (unchanged)
Skip ../../blib/lib/PDL/Core/pdl.h (unchanged)
Skip ../../blib/lib/PDL/Core.pm (unchanged)
Skip ../../blib/lib/PDL/Config.pm (unchanged)
Skip ../../blib/lib/PDL/Types.pm (unchanged)
Skip ../../blib/lib/PDL/Char.pm (unchanged)
Skip ../../blib/lib/PDL/Basic.pm (unchanged)
Skip ../../blib/lib/PDL/Core/pdlthread.h (unchanged)
Skip ../../blib/lib/PDL/Core/ppport.h (unchanged)
Skip ../../blib/lib/PDL/Exporter.pm (unchanged)
Skip ../../blib/lib/PDL/Version.pm (unchanged)
Skip ../../blib/lib/PDL/Core/pdlcore.h (unchanged)
Skip ../../blib/lib/PDL/Core/pdlsimple.h (unchanged)
Skip ../../blib/lib/PDL/Core/typemap.pdl (unchanged)
Skip ../../blib/lib/PDL/Core/pdlmagic.h (unchanged)
Skip ../../blib/lib/PDL/Core/Dev.pm (unchanged)
/usr/bin/perl "-I../../blib/arch" "-I../../blib/lib" Core.xs.PL Core.xs
Extracting Core.xs (WITH bad value support)
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp  -typemap
/usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap  Core.xs > Core.xsc
&& mv Core.xsc Core.c
gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables   -DVERSION=\"2.4.4\" -DXS_VERSION=\"2.4.4\"
-fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE"  -DPDL_PTHREAD
Core.c
Core.xs: In function ‘XS_PDL_DESTROY’:
Core.xs:291: warning: statement with no effect
Core.xs:294: warning: format ‘%d’ expects type ‘int’, but argument 3 has
type ‘struct pdl *’
Core.c: In function ‘XS_PDL_get_trans’:
Core.c:322: warning: unused variable ‘RETVAL’
Core.xs: In function ‘XS_PDL_set_data_by_mmap’:
Core.xs:509: warning: format ‘%d’ expects type ‘int’, but argument 3 has
type ‘void *’
Core.xs:495: warning: ignoring return value of ‘ftruncate’, declared with
attribute warn_unused_result
Core.xs:496: warning: ignoring return value of ‘ftruncate’, declared with
attribute warn_unused_result
Core.c: In function ‘XS_PDL__Core_pdl_avref’:
Core.xs:906: warning: unused variable ‘i’
Core.c:1133: warning: unused variable ‘RETVAL’
Core.c: In function ‘XS_PDL_pdl_null’:
Core.c:1184: warning: unused variable ‘items’
Core.c: In function ‘XS_PDL_initialize’:
Core.c:1349: warning: unused variable ‘RETVAL’
Core.c: In function ‘XS_PDL_upd_data’:
Core.c:1420: warning: unused variable ‘targ’
Core.c:1419: warning: unused variable ‘RETVAL’
Core.c: In function ‘XS_PDL_getndims’:
Core.c:1478: warning: unused variable ‘ix’
Core.c: In function ‘XS_PDL_getdim’:
Core.c:1499: warning: unused variable ‘ix’
Core.c: In function ‘XS_PDL_sethdr’:
Core.xs:1176: warning: unused variable ‘hash’
Core.xs: In function ‘XS_PDL_threadover_n’:
Core.xs:1279: warning: suggest parentheses around assignment used as truth
value
Core.xs: In function ‘XS_PDL_threadover’:
Core.xs:1297: warning: unused variable ‘j’
Core.c: In function ‘XS_PDL__Core_listref_c’:
Core.xs:725: warning: ‘pdl_badval’ may be used uninitialized in this
function
/usr/bin/perl "-I../../blib/arch" "-I../../blib/lib" pdlcore.c.PL pdlcore.c
Extracting pdlcore.c (WITH bad value support)
     Trying finite: math.h...
.
.
.

I also have a lot of warnings like things above.  Eventually the compilation
fails.  Please advise me on the installation.

-- 
Best,
In-Suk Joung
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to