Menu

#147 'plplot_config.h' file not found

None
closed-fixed
nobody
None
5
2014-12-02
2014-07-02
Ken Mankoff
No

I'm trying to install 3rd party software (GDL) that relies on plplot. I have plplot 5.10.0 installed on OS X from HomeBrew, and 5.9.11 tarball and latest svn.

GDL reports,

In file included from /usr/local/Cellar/plplot/5.10.0/include/plplot/plstream.h:32:
In file included from /usr/local/Cellar/plplot/5.10.0/include/plplot/plplot.h:36:
/usr/local/Cellar/plplot/5.10.0/include/plplot/plConfig.h:48:12: fatal error:
      'plplot_config.h' file not found
#  include <plplot_config.h>
           ^
1 error generated.

There is no plplot_config.h that I can find. It seems like there has been a similar bug report a few weeks ago from macports/Octave users here: https://trac.macports.org/ticket/43985

Discussion

  • Alan W. Irwin

    Alan W. Irwin - 2014-07-11

    plplot_config.h is not installed for the reasons given in that file and also in plConfig.h. Furthermore, it appears to me your build is looking for that file because you have incorrectly #defined the PLPLOT_HAVE_CONFIG_H macro for your builds against PLplot. My guess is that dropping that macro definition in your builds should completely solve this issue. Please let me know the results of that experiment, and we can take it from there.

     
  • Alan W. Irwin

    Alan W. Irwin - 2014-07-11
    • status: open --> pending
    • assigned_to: Alan W. Irwin
    • Group: -->
     
  • Alan W. Irwin

    Alan W. Irwin - 2014-07-11

    Thanks for those references which reminded me that the source of this issue was that released versions of PLplot used the HAVE_CONFIG_H macro which nameclashed with other software causing the issue you have described. That nameclash has been fixed in the latest PLplot svn trunk version, but it will be a while (at least several months) before that will be released. Meanwhile, I am closing this bug and also suggest you build your own version of PLplot from svn trunk if you don't want to wait for the release of PLplot 5.11.0 and its propagation through Homebrew.

     
  • Alan W. Irwin

    Alan W. Irwin - 2014-07-11
    • status: pending --> closed-fixed
    • assigned_to: Alan W. Irwin --> nobody
     

Log in to post a comment.