Menu

#270 Facing issue while installing Gnuplot

open
nobody
None
3
2021-06-23
2021-06-14
No

Hi Team,

I am facing the below errors while installing GnuPlot 5.4.2.

Make Error:

In file included from wxterminal/wxt_gui.cpp:95:0:
wxterminal/wxt_gui.h:71:23: fatal error: wx/wxprec.h: No such file or directory
#include <wx wxprec.h="">
^
compilation terminated.
make[4]: [wxterminal/wxt_gui.o] Error 1
make[4]: Leaving directory /home/scratch/ramesh/gnuplot/gnuplot-5.4.2/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory/home/scratch/ramesh/gnuplot/gnuplot-5.4.2/src'
make[2]:
[all] Error 2
make[2]: Leaving directory /home/scratch/ramesh/gnuplot/gnuplot-5.4.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/home/scratch/ramesh/gnuplot/gnuplot-5.4.2'
make: *** [all] Error 2</wx>

Below is the configure output:

./configure --prefix=/pkg/OSS-gnuplot-/5.4.2/x86_64-linux
./configure: line 2708: 0: command not found
checking for a BSD-compatible install... tr.dynamic: no tr.dynamic policy could be found for the command 'ginstall'.
/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define EXTENSIONS... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for gcc... gcc
checking whether we are using the GNU Objective C compiler... no
checking whether gcc accepts -g... no
checking dependency style of gcc... gcc3
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for preprocessor stringizing operator... yes
checking whether ln -s works... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for off_t... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for struct tm.tm_gmtoff... yes
checking for struct tm.__tm_gmtoff... no
checking for pkg-config... /pkg/fs-foundation-/dynamic/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBCERF... yes
checking for library containing cdawson... none required
checking for emacs... emacs
checking for tex... tex
checking for latex... latex
checking for pdflatex... pdflatex
checking for dvips... dvips
checking for troff... troff
checking for latex2html... latex2html
checking for kpsewhich... kpsewhich
checking for texhash... texhash
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for MS-DOS/djgpp/libGRX... no
checking for Mac OS X... no
checking for BeOS... no
checking for Alpha/AXP CPU... no
checking for sin... no
checking for sin in -lm... yes
checking for ANSI C header files... (cached) yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking sys/bsdtypes.h usability... no
checking sys/bsdtypes.h presence... no
checking for sys/bsdtypes.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking sys/systeminfo.h usability... no
checking sys/systeminfo.h presence... no
checking for sys/systeminfo.h... no
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking libc.h usability... no
checking libc.h presence... no
checking for libc.h... no
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking sgtty.h usability... yes
checking sgtty.h presence... yes
checking for sgtty.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking values.h usability... yes
checking values.h presence... yes
checking for values.h... yes
checking for dirent.h... (cached) yes
checking for inttypes.h... (cached) yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking whether stat file-mode macros are broken... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for library containing dlopen... -ldl
checking for unistd.h... yes
checking if errno variable is declared... yes
checking for size_t... yes
checking for time_t in time.h... yes
checking for atexit... yes
checking for memcpy... yes
checking for memmove... yes
checking for memset... yes
checking for on_exit... yes
checking for bcopy... yes
checking for bzero... yes
checking for setvbuf... yes
checking for strerror... yes
checking for strchr... yes
checking for strrchr... yes
checking for strstr... yes
checking for index... yes
checking for rindex... yes
checking for erf... yes
checking for erfc... yes
checking for gamma... yes
checking for lgamma... yes
checking for tgamma... yes
checking for getcwd... yes
checking for poll... yes
checking for pclose... yes
checking for popen... yes
checking for fdopen... yes
checking for select... yes
checking for sleep... yes
checking for stpcpy... yes
checking for strcspn... yes
checking for strdup... yes
checking for strndup... yes
checking for strnlen... yes
checking for strcasecmp... yes
checking for stricmp... no
checking for strncasecmp... yes
checking for strnicmp... no
checking for sysinfo... yes
checking for tcgetattr... yes
checking for vfprintf... yes
checking for doprnt... no
checking for uname... yes
checking for usleep... yes
checking whether signgam is declared... yes
checking for sigsetjmp... yes
checking if malloc(0) returns 0... no
checking for sys/select.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set ,struct timeval
checking for tputs in -lncurses... yes
checking for remove_history in -lreadline... yes
checking for library containing rl_ding... -lreadline
checking for library containing rl_forced_update_display... none required
checking for library containing rl_reset_after_signal... none required
checking for library containing _rl_signal_handler... none required
checking for library containing rl_pending_signal... no
checking for library containing rl_complete_with_tilde_expansion... none required
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking for deflate in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for libgd... yes
checking for gdlib-config... /pkg/fs-foundation-/dynamic/bin/gdlib-config
tr.dynamic: no tr.dynamic policy could be found for the command 'gdlib-config'.
tr.dynamic: no tr.dynamic policy could be found for the command 'gdlib-config'.
tr.dynamic: no tr.dynamic policy could be found for the command 'gdlib-config'.
checking for gdImageCreateTrueColor in -lgd... no
configure: WARNING: libgd not found or too old, version >= 2.0 is required
checking for library containing iconv_open... none required
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for LUA... no
checking for LUA... no
checking for LUA... no
checking for LUA... no
configure: WARNING: Could not find support for lua using pkg-config.
checking for library containing luaL_openlibs... no
checking for multi-byte support in x11... checking for XmbDrawString in -lX11... yes
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking how to run the C++ preprocessor... c++ -E
checking for wx-config... /pkg/fs-foundation-/dynamic/bin/wx-config
tr.dynamic: no tr.dynamic policy could be found for the command 'wx-config'.
expr: syntax error
expr: syntax error
tr.dynamic: no tr.dynamic policy could be found for the command 'wx-config'.
expr: syntax error
checking for CAIROPANGO... yes
tr.dynamic: no tr.dynamic policy could be found for the command 'wx-config'.
tr.dynamic: no tr.dynamic policy could be found for the command 'wx-config'.
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
tr.dynamic: no tr.dynamic policy could be found for the command 'wx-config'.
checking for CAIROPDF... yes
checking for CAIROEPS... yes
checking for QT... yes
The Qt terminal will use Qt5.
checking for vfork.h... (cached) no
checking for fork... (cached) yes
checking for vfork... (cached) yes
checking for working fork... (cached) yes
checking for working vfork... (cached) yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config/Makefile
config.status: creating demo/Makefile
config.status: creating demo/plugin/Makefile
config.status: creating docs/Makefile
config.status: creating m4/Makefile
config.status: creating man/Makefile
config.status: creating share/Makefile
config.status: creating share/LaTeX/Makefile
config.status: creating src/Makefile
config.status: creating src/beos/Makefile
config.status: creating src/wxterminal/Makefile
config.status: creating src/qtterminal/Makefile
config.status: creating term/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default commands

** Configuration summary for gnuplot 5.4.2:

gnuplot will be compiled with the following terminals:

Standalone terminals: yes (included by default)
canvas, cgm, context, dumb, dxf, emf, epslatex,
fig, hpgl, metafont, metapost, pcl5, postscript,
pict2e, pslatex, pstex, pstricks, svg, texdraw, tkcanvas

dot-matrix terminals: no (use --with-bitmap-terminals to enable)
epson, nec, okidata, tandy, and seiko dp414 printers
hp500c, hpdj, hpljii, hppj, pbm, sixel, starc

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 terminal: no (use --with-ggi to enable, requires libggi)
gpic terminal: no (use --with-gpic to enable)
tgif terminal: no (use --with-tgif to enable)
mif terminal (FrameMaker 3): no (use --with-mif to enable)
ReGIS terminal: no (use --with-regis to enable)
caca terminal: no (use --with-caca to enable)
aqua terminal (OSX): no

Other terminals that can be enabled but have no ./configure option:
eepic, emtex, hp2623a, hp2648, imagen, kyocera, latex, qms, tpic
pm (makefile.os2), be (BeOS), svga (MSDOS/djgpp), windows

X Window System terminal: yes (multi-byte fonts OK)
(enable plotting to windows opened by external apps)
libgd-based png, jpeg, and gif terminals: no (requires libgd, see config.log)
cairo-based pdf and png terminals: yes
lua/TikZ terminal: no
wxt terminal: yes
Qt terminal: yes (qt5)

gnuplot will be compiled with the following configurable features:

Mouse support in interactive terminals: yes
Typing <space> in plot window raises console: yes
Readline library: GNU readline library with -lncurses
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 from libcerf: yes
plugin support for loading external functions: yes
Statistical summary of data ("stats" command): yes</space>

gnuplot will install the following additional materials:

TeX files will be installed in /usr/share/texlive/texmf-local///tex/latex/gnuplot
(use --with-texdir=DIR to change)
PostScript prologue files: ${datarootdir}/gnuplot/5.4/PostScript/
Help file: ${datarootdir}/gnuplot/5.4/gnuplot.gih

Discussion

  • Ethan Merritt

    Ethan Merritt - 2021-06-14

    These error messages show that various packages have not been installed, or perhaps were installed in a non-standard place:

    configure: WARNING: Could not find support for lua using pkg-config.
    checking for gdlib-config... /pkg/fs-foundation-/dynamic/bin/gdlib-config

    Because of this, your build of gnuplot will not contain the lua/tikz and libgd (png/gif/jpeg/sixel) terminals. There is also apparently a problem with your wxgtk package installation .

    On my machine these support packages are provided by

     lua-5.2.4
    lib64wxgtku3.0-devel-3.0.4
    lib64gd-devel-2.2.5
    

    Since you don't tell us the distribution or version of your operating system, I can't give any more specific advise about the names of the additional support packages you might need to install.

     
  • Pankaj Jadhav

    Pankaj Jadhav - 2021-06-23

    Hi Ethan,

    Thanks for your response.

    I am using Red Hat Enterprise Linux Server release 7.9 (Maipo)
    Kindly help me to required support packages for this tool .

    Regards & Thanks
    Pankaj J

     
    • Ethan Merritt

      Ethan Merritt - 2021-06-23

      I am not a RHEL user, but I would suggest starting with
      wxGTK3-devel-3.0.4
      lua-devel-5.1.4
      gd-devel-2.0.35

      I found these versions listed as available for RHEL 7. These are not the lastest version of their respective libraries but they may be the most recent packaged for RHEL7. These packages may of course pull in other packages as dependencies.

      It is strange that your log shows that the wxt terminal is being built even though the wx-config commands are failing. I have not seen that before. The wx-config configuration tool should be part of wxGTK3-devel, so if you have that installed but the configure script is still not finding wx-config then I think you may have to take your question to Redhat support rather than asking here.

       

Log in to post a comment.