[MacPorts] #38435: p5.12-pdl:info:configure Cannot compile test program
#38435: p5.12-pdl:info:configure Cannot compile test program --------------------+-------------------------------- Reporter: bs@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: --------------------+-------------------------------- Doing a "port install p5-pdl" on a fresh install of MacPorts 2.1.3 on Mac OS X v10.6.8 Snow Leopard fails. This seems not to be a duplicate of the PDL-related tickets I've found in the database. I've tried the various suggestions discussed in these tickets, however without success. The full error message is: :info:configure ERROR from evaluation of /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-pdl/p5.12-pdl/work/PDL-2.4.6/Graphics/Makefile.PL: ERROR from evaluation of /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-pdl/p5.12-pdl/work/PDL-2.4.6/Graphics/PLplot/Makefile.PL: Cannot compile test program: #include <plplot.h> :info:configure main () { printf ("%d", sizeof (PLFLT)); } I don't understand this. The main.log file is attached. Any help would be greatly appreciated. -- Ticket URL: <https://trac.macports.org/ticket/38435> MacPorts <http://www.macports.org/> Ports system for OS X
#38435: p5.12-pdl: Cannot compile test program: #include <plplot.h> ------------------------+------------------- Reporter: bs@… | Owner: tim@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: p5.12-pdl | ------------------------+------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => tim@… * port: => p5.12-pdl Old description:
Doing a "port install p5-pdl" on a fresh install of MacPorts 2.1.3 on Mac OS X v10.6.8 Snow Leopard fails. This seems not to be a duplicate of the PDL-related tickets I've found in the database. I've tried the various suggestions discussed in these tickets, however without success.
The full error message is:
:info:configure ERROR from evaluation of /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-pdl/p5.12-pdl/work/PDL-2.4.6/Graphics/Makefile.PL: ERROR from evaluation of /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-pdl/p5.12-pdl/work/PDL-2.4.6/Graphics/PLplot/Makefile.PL: Cannot compile test program: #include <plplot.h> :info:configure main () { printf ("%d", sizeof (PLFLT)); }
I don't understand this. The main.log file is attached. Any help would be greatly appreciated.
New description: Doing a "port install p5-pdl" on a fresh install of MacPorts 2.1.3 on Mac OS X v10.6.8 Snow Leopard fails. This seems not to be a duplicate of the PDL-related tickets I've found in the database. I've tried the various suggestions discussed in these tickets, however without success. The full error message is: {{{ :info:configure ERROR from evaluation of /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-pdl/p5.12-pdl/work/PDL-2.4.6/Graphics/Makefile.PL: ERROR from evaluation of /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-pdl/p5.12-pdl/work/PDL-2.4.6/Graphics/PLplot/Makefile.PL: Cannot compile test program: #include <plplot.h> :info:configure main () { printf ("%d", sizeof (PLFLT)); } }}} I don't understand this. The main.log file is attached. Any help would be greatly appreciated. -- Comment: What version of Xcode do you have? I wonder if updating the port, as requested in #32031, would help. -- Ticket URL: <https://trac.macports.org/ticket/38435#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#38435: p5.12-pdl: Cannot compile test program: #include <plplot.h> ------------------------+------------------- Reporter: bs@… | Owner: tim@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: p5.12-pdl | ------------------------+------------------- Comment (by egall@…): Also what does `port installed plplot*` return for you? -- Ticket URL: <https://trac.macports.org/ticket/38435#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#38435: p5.12-pdl: Cannot compile test program: #include <plplot.h> ------------------------+------------------- Reporter: bs@… | Owner: tim@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: p5.12-pdl | ------------------------+------------------- Comment (by bs@…): Replying to [comment:1 ryandesign@…]:
What version of Xcode do you have?
"xcodebuild -version" tells me Xcode 4.2 Build version 4C199
I wonder if updating the port, as requested in #32031, would help.
I will comment on that. -- Ticket URL: <https://trac.macports.org/ticket/38435#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#38435: p5.12-pdl: Cannot compile test program: #include <plplot.h> ------------------------+------------------- Reporter: bs@… | Owner: tim@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: p5.12-pdl | ------------------------+------------------- Comment (by bs@…): Replying to [comment:2 egall@…]:
Also what does `port installed plplot*` return for you?
The following ports are currently installed: plplot @5.9.9_12+aquaterm+x11 (active) -- Ticket URL: <https://trac.macports.org/ticket/38435#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#38435: p5.12-pdl: Cannot compile test program: #include <plplot.h> ------------------------+------------------- Reporter: bs@… | Owner: tim@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: p5.12-pdl | ------------------------+------------------- Comment (by bs@…): Meanwhile I was successful installing the current version 2.4.11 of the PDL with MacPorts. However there were some issues to resolve: (1) When doing a port install perl5.12 a binary archive is downloaded and installed. The configuration files /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/Config.pm[[BR]] /opt/local/lib/perl5/5.12.4/darwin-thread-multi- 2level/Config_heavy.pl[[BR]] /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/CORE/config.h installed in this way contain a wrong C compiler pathname in the $cc variable used by perl: cc => '/usr/bin/gcc-4.2' This is hard-coded and cannot simply be overridden with the CC shell variable or a configure.compiler option. However there is no /usr/bin/gcc-4.2 when Xcode 4.2 is installed. I guess this comes from a different version of Xcode. installing Perl 5.12 instead from source with port -s install perl5.12 sets this variable to cc => '/usr/bin/clang' which works as long as Apple doesn't introduce yet another default C compiler :-) (2) Also the current PDL is still incompatible with Proj v4.8. Instead, Proj v4.7 has to be installed. (3) The PDL 2.4.11 requires another Perl module which does not (yet) have a Portfile, called Devel::CheckLib I have created corresponding Portfiles for Proj 4.7, Devel::CheckLib 0.98, and PDL 2.4.11. Attached please find a TAR archive with these. With kind regards, Burkhard. -- Ticket URL: <https://trac.macports.org/ticket/38435#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#38435: p5.12-pdl: Cannot compile test program: #include <plplot.h> ---------------------+------------------- Reporter: bs@… | Owner: tim@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: p5-pdl | ---------------------+------------------- Changes (by mf2k@…): * port: p5.12-pdl => p5-pdl Comment: Is this still a problem with version 2.7.0? -- Ticket URL: <https://trac.macports.org/ticket/38435#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#38435: p5.12-pdl: Cannot compile test program: #include <plplot.h> ---------------------+------------------- Reporter: bs@… | Owner: tim@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: p5-pdl | ---------------------+------------------- Comment (by bs@…): I did a "port install p5-pdl" on a clean MacPorts installation. This worked without problems, however with two differences to my original ticket: (a) Lacking a Snow Leopard machine with Xcode 4.2, I did the installation under OS X v10.9 Mavericks with Xcode 5.1.1. (b) The prefix "p5" meanwhile maps onto "p5.16", not onto "p5.12". All three issues mentioned in #comment:5 are resolved in this way. Best regards, Burkhard. -- Ticket URL: <https://trac.macports.org/ticket/38435#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#38435: p5.12-pdl: Cannot compile test program: #include <plplot.h> -------------------------+-------------------- Reporter: bs@… | Owner: tim@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: worksforme | Keywords: Port: p5-pdl | -------------------------+-------------------- Changes (by mf2k@…): * status: new => closed * resolution: => worksforme -- Ticket URL: <https://trac.macports.org/ticket/38435#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts