Menu

Problem in installation

2022-03-30
2022-04-02
  • Pramod Sharma

    Pramod Sharma - 2022-03-30

    Hi,

    I followed steps;
    (i) ./prepare
    (ii) ./configure
    (ii) make
    But I'm getting error as follows;

    In file included from term.h:342,
    from term.c:1212:
    ../term/pslatex.trm: In function ‘EPSLATEX_common_init’:
    ../term/pslatex.trm:431:50: error: ‘GP_CAIRO_SCALE’ undeclared (first use in this function)

    ........
    ........so on

    please help.

     
  • Tatsuro MATSUOKA

    Please upload here your config.log file as an attachment file.
    We can see that how your configragtion phase were proceeded.

    And please describe your build enviromment, version of gnuplot source
    ex. Ubuntu 20.04, with gcc, g++-9. gnuplot-5.4.3.

     

    Last edit: Tatsuro MATSUOKA 2022-03-31
  • Pramod Sharma

    Pramod Sharma - 2022-04-01

    Thank you for your reply.
    Required details are as follow;
    Ubuntu 20.04, gcc 9.4.0, g++ 9.4.0, gnuplot branch-5-4-stable

    I have also added "config.log" file. I think there is error related to gcc.

    Thanks

     
  • Tatsuro MATSUOKA

    The below is the configration summary in config.log.

     ** Configuration summary for gnuplot 5.5:
    
     gnuplot will be compiled with the following terminals:
    
       Standalone terminals: yes (included by default)
         canvas, cgm, context, dumb, dxf, emf, epslatex,
         fig, hpgl, pcl5, postscript,
         pict2e, pslatex, pstex, pstricks, svg, texdraw, tkcanvas
    
       dot-matrix terminals: no (use --with-bitmap-terminals to enable)
         printers: epson, nec, okidata, tandy, seiko dpu414 
                   hp500c, hpdj, hpljii, hppj, starc
         other:    block pbm 
    
       tektronix terminal emulators: yes ( --without-tektronix to disable)
         tek410x tek40 vttek xterm kc_tek40 km_tek40 selanar sixeltek bitgraph
         note: not needed for sixel graphics output to vt100-series emulators
    
       Platform-specific, legacy, or specialized terminals omitted by default:
         ggi       :  no   (use --with-ggi to enable, requires libggi)
         gpic      :  no   (use --with-gpic to enable)
         tgif      :  no   (use --with-tgif to enable)
         metafont  :  no   (use --with-metafont to enable)
         metapost  :  no   (use --with-metapost to enable)
         ReGIS     :  no   (use --with-regis to enable)
         caca      :  no   (use --with-caca to enable)
         aqua (OSX):  no
    
       Other terminals that can be enabled but have no ./configure option:
         eepic, emtex, hp2623a, hp2648, imagen, kyocera, latex, mif, tpic 
         qms, pm (makefile.os2), be (BeOS), svga (MSDOS/djgpp), windows
    
       x11 (X Window System) : no (requires X libraries)
       libgd-based png, jpeg, gif, and sixel terminals: no (requires libgd,  see config.log) 
       cairo-based terminals: no (requires cairo>=1.2, pango>=1.22, glib>=2.28)
       webp terminal: no (requires cairo, pango, libwebp, libwebpmux)
       lua/TikZ terminal: no 
       wxt terminal: no (requires C++, wxWidgets>2.6, cairo>0.9, pango>1.22)
       Qt terminal: no (use --with-qt or --with-qt=qt4 to enable
    
     gnuplot will be compiled with the following configurable features:
    
       Mouse support in interactive terminals: no
       Typing <space> in plot window raises console: yes
       Readline library: builtin minimal (use --with-readline=gnu for GNU readline)
       Command-line history file: yes
       Check current directory for .gnuplot file: no (use --with-cwdrc to enable)
       Sort help/subtopic tables by column: no (use --without-row-help to enable)
       cerf() and other special functions: no (libcerf not found)
       Library containing Amos routines for complex functions not found
       Complex exponential integral cexint from libamos: no
       plugin support for loading external functions: yes 
       Statistical summary of data ("stats" command): yes
    
     gnuplot will install the following additional materials:
    
       TeX files will be installed in /usr/local/share/texmf/tex/latex/gnuplot
                                    (use --with-texdir=DIR to change)
       PostScript prologue files: ${datarootdir}/gnuplot/5.5/PostScript/
       Help file: ${datarootdir}/gnuplot/5.5/gnuplot.gih
    

    Your source is master branch (the development branch (version 5.5) but not branch-5-4-stable.
    Your build lacks the preparation of external dependencies.

    The easist way to get dependencies for gnuplot on Ubuntu is to use

    $ sudo apt build-dep gnuplot
    

    Before using the above, read and follow the below:
    https://askubuntu.com/questions/496549/error-you-must-put-some-source-uris-in-your-sources-list

     

    Last edit: Tatsuro MATSUOKA 2022-04-01
  • Tatsuro MATSUOKA

    For 5.5, two extra librariles should be installed for webp terminal andLibrary containing Amos routines for complex functions if you need those features.

    $ sudo apt install libwebp-dev
    $ sudo apt install libopenspecfun-dev
    
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.