I tried to install PDL::Graphics::Prima, but it failed as it required
PDL::Drawing::Prima. I tried to install PDL::Graphics::Prima and it
failed with several errors. I attach the build.log and the output of
perl -V and pdl -V. I'm using PDL-2.006_92 on a Core i7 machine with linux
debian/stable AMD64.
Best regards,
Luis
--
o
W. Luis Mochán, | tel:(52)(777)329-1734 /<(*)
Instituto de Ciencias Físicas, UNAM | fax:(52)(777)317-5388 `>/ /\
Apdo. Postal 48-3, 62251 | (*)/\/ \
Cuernavaca, Morelos, México | [email protected] /\_/\__/
GPG: DD344B85, 2ADC B65A 5499 C2D3 4A3B 93F3 AE20 0F5E DD34 4B85
cpanm (App::cpanminus) 1.7001 on perl 5.018001 built for x86_64-linux
Work directory is /home/mochan/.cpanm/work/1381452020.10430
You have make /usr/bin/make
You have LWP 6.05
You have /bin/tar: tar (GNU tar) 1.26
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by John Gilmore and Jay Fenlason.
You have /usr/bin/unzip
Searching PDL::Drawing::Prima on cpanmetadb ...
--> Working on PDL::Drawing::Prima
Fetching
http://www.cpan.org/authors/id/D/DC/DCMERTENS/PDL-Drawing-Prima-0.09.tar.gz
-> OK
Unpacking PDL-Drawing-Prima-0.09.tar.gz
Entering PDL-Drawing-Prima-0.09
Checking configure dependencies from META.json
Checking if you have Module::Build 0.28 ... Yes (0.4007)
Checking if you have PDL v2.4.10 ... Yes (2.006_92)
Checking if you have Prima 1.33 ... Yes (1.37)
Checking if you have Module::Build 0.36 ... Yes (0.4007)
Configuring PDL-Drawing-Prima-0.09
Running Build.PL
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'PDL-Drawing-Prima' version '0.09'
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have PDL v2.4.10 ... Yes (2.006_92)
Checking if you have ExtUtils::ParseXS 3.0 ... Yes (3.18)
Checking if you have Prima 1.35 ... Yes (1.37)
Checking if you have ExtUtils::CBuilder 0 ... Yes (0.280210)
Building and testing PDL-Drawing-Prima-0.09
Building PDL-Drawing-Prima
minmaxforpair has no Macro for generic type N (has TBSULQFD)
minmaxforpair has no Macro for generic type N (has TBSULQFD)
minmaxforpair has no Macro for generic type N (has TBSULQFD)
minmaxforpair has no Macro for generic type N (has TBSULQFD)
cc
-I/home/mochan/perl5/perlbrew/perls/perl-5.18.1/lib/site_perl/5.18.1/x86_64-linux/PDL/Core
-I/home/mochan/perl5/perlbrew/perls/perl-5.18.1/lib/site_perl/5.18.1/x86_64-linux/Prima/CORE
-I/home/mochan/perl5/perlbrew/perls/perl-5.18.1/lib/site_perl/5.18.1/x86_64-linux/Prima/CORE/generic
-I/usr/local/include -I/usr/include/freetype2
-I/home/mochan/perl5/perlbrew/perls/perl-5.18.1/lib/5.18.1/x86_64-linux/CORE
-DXS_VERSION="0.09" -DVERSION="0.09" -fPIC -c -fno-strict-aliasing -pipe
-fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O2 -o lib/PDL/Drawing/Prima.o lib/PDL/Drawing/Prima.c
ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/PDL/Drawing/Prima/Prima.bs')
cc -shared -O2 -L/usr/local/lib -fstack-protector -o
blib/arch/auto/PDL/Drawing/Prima/Prima.so lib/PDL/Drawing/Prima.o
cc
-I/home/mochan/perl5/perlbrew/perls/perl-5.18.1/lib/site_perl/5.18.1/x86_64-linux/PDL/Core
-I/home/mochan/perl5/perlbrew/perls/perl-5.18.1/lib/site_perl/5.18.1/x86_64-linux/Prima/CORE
-I/home/mochan/perl5/perlbrew/perls/perl-5.18.1/lib/site_perl/5.18.1/x86_64-linux/Prima/CORE/generic
-I/usr/local/include -I/usr/include/freetype2
-I/home/mochan/perl5/perlbrew/perls/perl-5.18.1/lib/5.18.1/x86_64-linux/CORE
-DVERSION="0.09" -DXS_VERSION="0.09" -fPIC -c -fno-strict-aliasing -pipe
-fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O2 -o lib/PDL/Drawing/Prima/Utils.o
lib/PDL/Drawing/Prima/Utils.c
lib/PDL/Drawing/Prima/Utils.xs: In function ‘pdl_minmaxforpair_readdata’:
lib/PDL/Drawing/Prima/Utils.xs:8280:51: error: expected expression before ‘;’
token
lib/PDL/Drawing/Prima/Utils.xs:8281:47: error: expected expression before ‘;’
token
lib/PDL/Drawing/Prima/Utils.xs:8282:47: error: expected expression before ‘;’
token
lib/PDL/Drawing/Prima/Utils.xs:8283:47: error: expected expression before ‘;’
token
error building lib/PDL/Drawing/Prima/Utils.o from
'lib/PDL/Drawing/Prima/Utils.c' at
/home/mochan/perl5/perlbrew/perls/perl-5.18.1/lib/5.18.1/ExtUtils/CBuilder/Base.pm
line 177.
-> FAIL Installing PDL::Drawing::Prima failed. See
/home/mochan/.cpanm/work/1381452020.10430/build.log for details. Retry with
--force to force install it.
Summary of my perl5 (revision 5 version 18 subversion 1) configuration:
Platform:
osname=linux, osvers=3.2.0-4-amd64, archname=x86_64-linux
uname='linux gmunu 3.2.0-4-amd64 #1 smp debian 3.2.46-1+deb7u1 x86_64
gnulinux '
config_args='-de -Dprefix=/home/mochan/perl5/perlbrew/perls/perl-5.18.1
-Aeval:scriptdir=/home/mochan/perl5/perlbrew/perls/perl-5.18.1/bin'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.7.2', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /lib/x86_64-linux-gnu /lib/../lib
/usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib /usr/lib
libs=-lnsl -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.13'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib
-fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV
PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_MALLOC_WRAP
PERL_PRESERVE_IVUV PERL_SAWAMPERSAND USE_64_BIT_ALL
USE_64_BIT_INT USE_LARGE_FILES USE_LOCALE
USE_LOCALE_COLLATE USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
Built under linux
Compiled at Oct 10 2013 10:02:00
%ENV:
PERLBREW_BASHRC_VERSION="0.66"
PERLBREW_HOME="/home/mochan/.perlbrew"
PERLBREW_MANPATH="/home/mochan/perl5/perlbrew/perls/perl-5.18.1/man"
PERLBREW_PATH="/home/mochan/perl5/perlbrew/bin:/home/mochan/perl5/perlbrew/perls/perl-5.18.1/bin"
PERLBREW_PERL="perl-5.18.1"
PERLBREW_ROOT="/home/mochan/perl5/perlbrew"
PERLBREW_VERSION="0.66"
@INC:
/home/mochan/perl5/perlbrew/perls/perl-5.18.1/lib/site_perl/5.18.1/x86_64-linux
/home/mochan/perl5/perlbrew/perls/perl-5.18.1/lib/site_perl/5.18.1
/home/mochan/perl5/perlbrew/perls/perl-5.18.1/lib/5.18.1/x86_64-linux
/home/mochan/perl5/perlbrew/perls/perl-5.18.1/lib/5.18.1
.
Summary of my perl5 (revision 5 version 18 subversion 1) configuration:
Platform:
osname=linux, osvers=3.2.0-4-amd64, archname=x86_64-linux
uname='linux gmunu 3.2.0-4-amd64 #1 smp debian 3.2.46-1+deb7u1 x86_64
gnulinux '
config_args='-de -Dprefix=/home/mochan/perl5/perlbrew/perls/perl-5.18.1
-Aeval:scriptdir=/home/mochan/perl5/perlbrew/perls/perl-5.18.1/bin'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.7.2', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /lib/x86_64-linux-gnu /lib/../lib
/usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib /usr/lib
libs=-lnsl -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.13'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib
-fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV
PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_MALLOC_WRAP
PERL_PRESERVE_IVUV PERL_SAWAMPERSAND USE_64_BIT_ALL
USE_64_BIT_INT USE_LARGE_FILES USE_LOCALE
USE_LOCALE_COLLATE USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
Built under linux
Compiled at Oct 10 2013 10:02:00
%ENV:
PERLBREW_BASHRC_VERSION="0.66"
PERLBREW_HOME="/home/mochan/.perlbrew"
PERLBREW_MANPATH="/home/mochan/perl5/perlbrew/perls/perl-5.18.1/man"
PERLBREW_PATH="/home/mochan/perl5/perlbrew/bin:/home/mochan/perl5/perlbrew/perls/perl-5.18.1/bin"
PERLBREW_PERL="perl-5.18.1"
PERLBREW_ROOT="/home/mochan/perl5/perlbrew"
PERLBREW_VERSION="0.66"
@INC:
/home/mochan/perl5/perlbrew/perls/perl-5.18.1/lib/site_perl/5.18.1/x86_64-linux
/home/mochan/perl5/perlbrew/perls/perl-5.18.1/lib/site_perl/5.18.1
/home/mochan/perl5/perlbrew/perls/perl-5.18.1/lib/5.18.1/x86_64-linux
/home/mochan/perl5/perlbrew/perls/perl-5.18.1/lib/5.18.1
.
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl