plplot-9.5.0

Help
Inkosta
2008-05-23
2013-03-15
  • Inkosta
    Inkosta
    2008-05-23

    Hi,
    I'm trying to install gdl-0.9, but make command outputs the message shown below.
    Could you help me to fix the problem?
    cheers, Incosta

    -----------------------make output--------------
    make  all-recursive
    make[1]: Entering directory `/home/ivan/gdl-0.9'
    Making all in src
    make[2]: Entering directory `/home/ivan/gdl-0.9/src'
    Making all in antlr
    make[3]: Entering directory `/home/ivan/gdl-0.9/src/antlr'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/home/ivan/gdl-0.9/src/antlr'
    make[3]: Entering directory `/home/ivan/gdl-0.9/src'
    g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/magick -I/usr/include/netcdf-3 -I/usr/include/hdf -I/usr/include/hdf -I/usr/include/hdf5 -I/usr/include/python2.5     -g -O2 -MT gdl-plot3d_nr.o -MD -MP -MF .deps/gdl-plot3d_nr.Tpo -c -o gdl-plot3d_nr.o `test -f 'plot3d_nr.cpp' || echo './'`plot3d_nr.cpp
    /usr/include/plplot/plplotP.h: In function ‘void lib::plgrid3(PLFLT)’:
    /usr/include/plplot/plplotP.h:404: error: too many arguments to function ‘void pldtik(PLFLT, PLFLT, PLFLT*, PLINT*)’
    plot3d_nr.cpp:223: error: at this point in file
    make[3]: *** [gdl-plot3d_nr.o] Error 1
    make[3]: Leaving directory `/home/ivan/gdl-0.9/src'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/ivan/gdl-0.9/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/ivan/gdl-0.9'
    make: *** [all] Error 2

     
    • Inkosta
      Inkosta
      2008-05-23

      Sorry, plplot-5.9.0, not plplot-9.5.0 as I have written in my previous message. 

       
    • Werner Smekal
      Werner Smekal
      2008-12-02

      Sorry for the very late answer, but just if someone else finds this message: gdl uses an internal API which was changed in revision 8082. Add a FALSE in line 223 of plot3d_nr.cpp to the pldtik call. This should fix it. Read the mailing list discussion here: http://tinyurl.com/5bst7n

      Regards,
      Werner