perl-PDL

Patrick Dupre Patrick.Dupre at univ-littoral.fr
Sun Mar 17 21:46:58 UTC 2013


Hello,

Using perl (on fedora 16 x86_64), I got the following error message:

PDL::Graphics::PLplot needs to be recompiled against the newly  
installed PDL at /usr/lib64/perl5/DynaLoader.pm line 213.

I checked that the 2 packages perl-PDL and perl-PDL-Graphics-PLplot  
were properly
updated.
Then, I decided to recomplie both (rpmbuild --rebuild) and I got the error:

Extracting Core.xs (WITH bad value support)
/usr/bin/perl /usr/local/share/perl5/ExtUtils/xsubpp  -typemap  
/usr/share/perl5/ExtUtils/typemap -typemap typemap Core.xs > Core.xsc  
&& mv Core.xsc Core.c
Could not find a typemap for C type 'PDL_Long *'.
The following C types are mapped by the current typemap:
'AV *', 'Boolean', 'CV *', 'FILE *', 'FileHandle', 'HV *', 'I16',  
'I32', 'I8', 'IV', 'InOutStream', 'InputStream', 'Logical', 'NV',  
'OutputStream', 'PerlIO *', 'Result', 'STRLEN', 'SV *', 'SVREF',  
'SysRet', 'SysRetLong', 'Time_t *', 'U16', 'U32', 'U8', 'UV', 'bool',  
'bool_t', 'caddr_t', 'char', 'char *', 'char **', 'const char *',  
'double', 'float', 'int', 'long', 'pdl *', 'pdl_trans *', 'short',  
'size_t', 'ssize_t', 'time_t', 'unsigned', 'unsigned char', 'unsigned  
char *', 'unsigned int', 'unsigned long', 'unsigned long *', 'unsigned  
short', 'void *', 'wchar_t', 'wchar_t *'
  in Core.xs, line 1144
make[2]: *** [Core.o] Error 1
make[2]: Leaving directory `/root/rpmbuild/BUILD/PDL-2.4.9/Basic/Core'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/root/rpmbuild/BUILD/PDL-2.4.9/Basic'
make: *** [subdirs] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.bkKnYR (%build)


Checking cpan, it looks like that I need another version of perl-PDL
(http://mailman.jach.hawaii.edu/pipermail/perldl/2011-October/005439.html):
PDL-2.4.9_008.tar.gz

But the question is how the availblae perl-PDL package has been compiled?

Any idea how I could fix this issue?

Thank.


-- 
============================================================================
  Patrick DUPRÉ                                  | | email: pdupre at kegtux.org
  Laboratoire de Physico-Chimie de l'Atmosphère  | |
  Université du Littoral-Côte d'Opale            | |
  Tel.  (33)-(0)3 28 23 76 12                    | | Fax: 03 28 65 82 44
  189A, avenue Maurice Schumann                  | | 59140 Dunkerque, France
============================================================================




More information about the users mailing list