| Summary: | =dev-perl/PDL-2.4.11: Cannot compile test program: #include <plplot.h> | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
| Component: | Current packages | Assignee: | Gentoo Perl team <perl> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Bug Depends on: | 599548 | ||
| Bug Blocks: | |||
| Attachments: | build.log | ||
|
Description
Juergen Rose
2016-02-01 06:12:31 UTC
I am still failing to compile this for 32-Bit gentoo system running under VirtualBox.
Having this test file test.c:
#include <plplot.h>
main() { printf ("%d",sizeof (PLFLT)); }
it fails to compile with 'gcc test.c', but it works with 'gcc -I /usr/include/plplot test.c'. And running the resulting a.out, it gives 8.
Any further idea?
It still fails. If I go to /var/tmp/portage/dev-perl/PDL-2.4.11/work/PDL-2.4.11/perldl.conf, and run 'perl Makefile', it fails with:
root@lynxvirt:/var/tmp/portage/dev-perl/PDL-2.4.11/work/PDL-2.4.11/Graphics/PLplot(33)# perl Makefile.PL
Checking PDL::Graphics::PLplot...
Bad value support required! (Turn on WITH_BADVAL in perldl.conf)
Not building PDL::Graphics::PLplot
Undefined subroutine &main::write_dummy_make called at Makefile.PL line 274.
If I look for perldl.conf under /var/tmp/portage/dev-perl/PDL-2.4.11/work/PDL-2.4.11/, I find:
root@lynxvirt:/var/tmp/portage/dev-perl/PDL-2.4.11(40)# find . -name perldl.conf -ls
162214 12 -rw-r--r-- 1 portage portage 10105 Jan 3 2012 ./work/PDL-2.4.11/debian/perldl.conf
178272 8 -rwxr-xr-x 1 portage portage 7890 Aug 4 01:05 ./work/PDL-2.4.11/perldl.conf
Grepping for BADVAL in work/PDL-2.4.11/perldl.conf I find that WITH_BADVAL is set:
root@lynxvirt:/var/tmp/portage/dev-perl/PDL-2.4.11(41)# grep -I BADVAL work/PDL-2.4.11/perldl.conf
# WITH_BADVAL => 1,
WITH_BADVAL => 1,
# if WITH_BADVAL == 1, do we use NaN/Inf to represent badvalues
BADVAL_USENAN => 0,
# BADVAL_USENAN => 1,
# The original BADVAL implementation assigned bad-values on pdl-types,
BADVAL_PER_PDL => 0,
# BADVAL_PER_PDL => 1,
root@lynxvirt:/var/tmp/portage/dev-perl/PDL-2.4.11(42)#
The .../work/PDL-2.4.11/perldl.conf is identical with those on other working systems. What could I still check.
Please test 2.17.0 (just committed) Reopen if the latest bump does not fix it. commit 51fd4fb2277b7117039a9572f242dd39ffd322cb Author: David Seifert <soap@gentoo.org> Date: Sat Feb 18 20:09:44 2017 +0100 sci-libs/plplot: Version bump to 5.12.0 Bug: https://bugs.gentoo.org/show_bug.cgi?id=529382 Bug: https://bugs.gentoo.org/show_bug.cgi?id=554156 Bug: https://bugs.gentoo.org/show_bug.cgi?id=585114 |