Discussion:
[Pdl-porters] PDL-Drawing-Prima
Ingo Schmid
2013-10-25 13:35:59 UTC
Permalink
HiMartin,

I upgraded PDL and then had to recompile PDL::Drawing::Prima. I ended up
with this error!

Any help would be great.

Ingo


x86_64-pc-linux-gnu-gcc
-I/usr/lib64/perl5/vendor_perl/5.16.3/x86_64-linux-thread-multi/PDL/Core
-I//usr/lib64/perl5/vendor_perl/5.16.3/x86_64-linux-thread-multi/Prima/CORE
-I//usr/lib64/perl5/vendor_perl/5.16.3/x86_64-linux-thread-multi/Prima/CORE/generic
-I/usr/local/include -I/usr/include/freetype2 -I/usr/include/gtk-2.0
-I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1
-I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0
-I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include
-I/usr/lib64/perl5/5.16.3/x86_64-linux-thread-multi/CORE
-DXS_VERSION="0.09" -DVERSION="0.09" -fPIC -c -D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-O2 -pipe -march=core2 -fomit-frame-pointer -msse4 -msse4.1 -msse4.2
-mcx16 -msahf -O2 -pipe -march=core2 -fomit-frame-pointer -msse4
-msse4.1 -msse4.2 -mcx16 -msahf -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:26: error: expected expression
before ‘;’ token
(min_x_datap)[0] PDL_COMMENT("ACCESS()") = ;
^
lib/PDL/Drawing/Prima/Utils.xs:8281:22: error: expected expression
before ‘;’ token
(max_x_datap)[0] PDL_COMMENT("ACCESS()") = ;
^
lib/PDL/Drawing/Prima/Utils.xs:8282:22: error: expected expression
before ‘;’ token
(min_y_datap)[0] PDL_COMMENT("ACCESS()") = ;
^
lib/PDL/Drawing/Prima/Utils.xs:8283:22: error: expected expression
before ‘;’ token
(max_y_datap)[0] PDL_COMMENT("ACCESS()") = ;
^
error building lib/PDL/Drawing/Prima/Utils.o from
'lib/PDL/Drawing/Prima/Utils.c' at
/usr/lib64/perl5/vendor_perl/5.16.3/ExtUtils/CBuilder/Base.pm line 177.
David Mertens
2013-10-25 14:13:38 UTC
Permalink
Ingo -

In a bit of a hurry at the moment, but just to be clear, is this the
version from CPAN or Github? I have a few updates for PDL::Drawing::Prima
that are on my Github repo that haven't hit CPAN yet. To install the
version from github, try

cpanm git://github.com/run4flat/PDL-Drawing-Prima.git

I'll try to push my next CPAN release this weekend.

David
Hi Martin,
I upgraded PDL and then had to recompile PDL::Drawing::Prima. I ended up
with this error!
Any help would be great.
Ingo
x86_64-pc-linux-gnu-gcc
-I/usr/lib64/perl5/vendor_perl/5.16.3/x86_64-linux-thread-multi/PDL/Core
-I//usr/lib64/perl5/vendor_perl/5.16.3/x86_64-linux-thread-multi/Prima/CORE
-I//usr/lib64/perl5/vendor_perl/5.16.3/x86_64-linux-thread-multi/Prima/CORE/generic
-I/usr/local/include -I/usr/include/freetype2 -I/usr/include/gtk-2.0
-I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1
-I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16
-I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/lib64/perl5/5.16.3/x86_64-linux-thread-multi/CORE
-DXS_VERSION="0.09" -DVERSION="0.09" -fPIC -c -D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
-pipe -march=core2 -fomit-frame-pointer -msse4 -msse4.1 -msse4.2 -mcx16
-msahf -O2 -pipe -march=core2 -fomit-frame-pointer -msse4 -msse4.1 -msse4.2
-mcx16 -msahf -o lib/PDL/Drawing/Prima/Utils.o lib/PDL/Drawing/Prima/Utils.c
lib/PDL/Drawing/Prima/Utils.xs:8280:26: error: expected expression before
‘;’ token
(min_x_datap)[0] PDL_COMMENT("ACCESS()") = ;
^
lib/PDL/Drawing/Prima/Utils.xs:8281:22: error: expected expression before
‘;’ token
(max_x_datap)[0] PDL_COMMENT("ACCESS()") = ;
^
lib/PDL/Drawing/Prima/Utils.xs:8282:22: error: expected expression before
‘;’ token
(min_y_datap)[0] PDL_COMMENT("ACCESS()") = ;
^
lib/PDL/Drawing/Prima/Utils.xs:8283:22: error: expected expression before
‘;’ token
(max_y_datap)[0] PDL_COMMENT("ACCESS()") = ;
^
error building lib/PDL/Drawing/Prima/Utils.o from
'lib/PDL/Drawing/Prima/Utils.c' at
/usr/lib64/perl5/vendor_perl/5.16.3/ExtUtils/CBuilder/Base.pm line 177.
--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." -- Brian Kernighan
Ingo Schmid
2013-10-25 14:44:13 UTC
Permalink
thanks, that compiled !

Ingo
Post by David Mertens
Ingo -
In a bit of a hurry at the moment, but just to be clear, is this the
version from CPAN or Github? I have a few updates for
PDL::Drawing::Prima that are on my Github repo that haven't hit CPAN
yet. To install the version from github, try
cpanm git://github.com/run4flat/PDL-Drawing-Prima.git
<http://github.com/run4flat/PDL-Drawing-Prima.git>
I'll try to push my next CPAN release this weekend.
David
HiMartin,
I upgraded PDL and then had to recompile PDL::Drawing::Prima. I
ended up with this error!
Any help would be great.
Ingo
x86_64-pc-linux-gnu-gcc
-I/usr/lib64/perl5/vendor_perl/5.16.3/x86_64-linux-thread-multi/PDL/Core
-I//usr/lib64/perl5/vendor_perl/5.16.3/x86_64-linux-thread-multi/Prima/CORE
-I//usr/lib64/perl5/vendor_perl/5.16.3/x86_64-linux-thread-multi/Prima/CORE/generic
-I/usr/local/include -I/usr/include/freetype2
-I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include
-I/usr/include/pango-1.0 -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16
-I/usr/include/pango-1.0 -I/usr/include/harfbuzz
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include
-I/usr/lib64/perl5/5.16.3/x86_64-linux-thread-multi/CORE
-DXS_VERSION="0.09" -DVERSION="0.09" -fPIC -c -D_REENTRANT
-D_GNU_SOURCE -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O2 -pipe -march=core2 -fomit-frame-pointer
-msse4 -msse4.1 -msse4.2 -mcx16 -msahf -O2 -pipe -march=core2
-fomit-frame-pointer -msse4 -msse4.1 -msse4.2 -mcx16 -msahf -o
lib/PDL/Drawing/Prima/Utils.o lib/PDL/Drawing/Prima/Utils.c
lib/PDL/Drawing/Prima/Utils.xs: In function
lib/PDL/Drawing/Prima/Utils.xs:8280:26: error: expected expression
before ‘;’ token
(min_x_datap)[0] PDL_COMMENT("ACCESS()") = ;
^
lib/PDL/Drawing/Prima/Utils.xs:8281:22: error: expected expression
before ‘;’ token
(max_x_datap)[0] PDL_COMMENT("ACCESS()") = ;
^
lib/PDL/Drawing/Prima/Utils.xs:8282:22: error: expected expression
before ‘;’ token
(min_y_datap)[0] PDL_COMMENT("ACCESS()") = ;
^
lib/PDL/Drawing/Prima/Utils.xs:8283:22: error: expected expression
before ‘;’ token
(max_y_datap)[0] PDL_COMMENT("ACCESS()") = ;
^
error building lib/PDL/Drawing/Prima/Utils.o from
'lib/PDL/Drawing/Prima/Utils.c' at
/usr/lib64/perl5/vendor_perl/5.16.3/ExtUtils/CBuilder/Base.pm line 177.
--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." -- Brian Kernighan
Loading...