carminat (49) [Avatar] Offline
#1
In order to fully exploit the new functionalities documented in the second edition of Gnuplot in Action, I have downloaded and installed gnuplot 5.0 (patchlevel 5)

Gnuplot starts and works, but it seems it lacks some terminals (even the wxt): if I try to generate a graph I get the error message
WARNING: Plotting with an 'unknown' terminal.
No output will be generated. Please select a terminal with 'set terminal'.


On the other hand the set terminal command returns the following list:
Available terminal types:
canvas HTML Canvas object
cgm Computer Graphics Metafile
context ConTeXt with MetaFun (for PDF documents)
corel EPS format for CorelDRAW
dumb ascii art for anything that prints text
dxf dxf-file for AutoCad (default size 120x80)
eepic EEPIC -- extended LaTeX picture environment
emf Enhanced Metafile format
emtex LaTeX picture environment with emTeX specials
epslatex LaTeX picture environment using graphicx package
fig FIG graphics language for XFIG graphics editor
hpgl HP7475 and relatives [number of pens] [eject]
latex LaTeX picture environment
mf Metafont plotting standard
mp MetaPost plotting standard
pcl5 HP Designjet 750C, HP Laserjet III/IV, etc. (many options)
postscript PostScript graphics, including EPSF embedded files (*.eps)
pslatex LaTeX picture environment with PostScript \specials
pstex plain TeX with PostScript \specials
pstricks LaTeX picture environment with PSTricks macros
qms QMS/QUIC Laser printer (also Talaris 1200 and others)
svg W3C Scalable Vector Graphics
tek40xx Tektronix 4010 and others; most TEK emulators
tek410x Tektronix 4106, 4107, 4109 and 420X terminals
texdraw LaTeX texdraw environment
tgif TGIF X11 [mode] [x,y] [dashed] ["font" [fontsize]]
tkcanvas Tk canvas widget
tpic TPIC -- LaTeX picture environment with tpic \specials
unknown Unknown terminal type - not a plotting device
vttek VT-like tek40xx terminal emulator
xterm Xterm Tektronix 4014 Mode


I do not quite understand what went wrong ... any idea?
philipp.janert (286) [Avatar] Offline
#2
Very difficult to tell from the output; my guess is that you are lacking
some of the libraries required by some of the terminals.

Check the output of "./configure" and look for libraries that this script
did not find. That may tell you a lot.

Also, check the options taken by "./configure". Some of the terminals
need to be requested explicitly.

Finally, keep in mind that - in order to build gnuplot form source - you
need not only the libs installed, but also their development versions.
(The package names usually end in "-dev".)
carminat (49) [Avatar] Offline
#3
philipp.janert wrote:Very difficult to tell from the output; my guess is that you are lacking
some of the libraries required by some of the terminals.

Check the output of "./configure" and look for libraries that this script
did not find. That may tell you a lot.

Also, check the options taken by "./configure". Some of the terminals
need to be requested explicitly.

Finally, keep in mind that - in order to build gnuplot form source - you
need not only the libs installed, but also their development versions.
(The package names usually end in "-dev".)


Thanks for the reply!
Actually I have managed to get the png and pdfcairo terminals installed at last, so I am almost fine now.
Probably the easiest fix is upgrading my linux distro to a newer version (which is something I have to do anyway - I am still with ubuntu 14.04).