#43523: plplot @5.9.9: update to 5.10.0 --------------------------------+----------------------- Reporter: cartasegna.luca@… | Owner: takeshi@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: plplot | --------------------------------+----------------------- Comment (by gnwiii@…): After upgrading plplot on Snow Leopard, gnudatalanguage must be rebuilt, but the build fails because {{{include/plot/plConfig.h}}} references a non-existent file {{{plplot_config.h}}}. The comments in {{{plConfig.h}}} indicate that {{{plplot_config.h}}} should not be installed, so it appears the test: {{{ #ifdef HAVE_CONFIG_H # include <plplot_config.h> #endif }}} in {{{plConfig.h}}} should be adjusted. This issue has been discussed at [https://bugs.gentoo.org/show_bug.cgi?id=498234]. A workaround is to change the test, e.g.: {{{ #ifdef HAVE_PLPLOT_CONFIG_H # include <plplot_config.h> #endif }}} This change gets past the missing include file. == bonus content for those who just want to get gnudatalanguage working == After the include problem has been resolved, gnudatalanguage still fails to build due to: {{{ .../plotting_contour.cpp:814:37: error: 'class GDLGStream' has no member named 'wid' }}} To use plplot >= 5.9.10, copy the following block (from [http://gnudatalanguage.cvs.sourceforge.net/viewvc/gnudatalanguage/gdl/src/gd...]): {{{ 178 // uncomment for plplot >= 5.9.10 179 // void wid( PLINT w) { this->width( w);} }}} and remove the {{{//}}} from the second line. -- Ticket URL: <https://trac.macports.org/ticket/43523#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X