gnuplotのインストール後に新しい端末タイプを追加するには?

gnuplotのインストール後に新しい端末タイプを追加するには?

Ubuntu 14.04のソースからgnuplot 5.0をインストールしました。 Gnuplotは動作していますが、まだ動作していません。西そしてPNG端末。今この端末を追加したいと思います。

gnuplot>set terminal結果の出力は次のとおりです。

Available terminal types:
       canvas  HTML Canvas object
          cgm  Computer Graphics Metafile
      context  ConTeXt with MetaFun (for PDF documents)
        corel  EPS format for CorelDRAW
      domterm  DomTerm terminal emulator with embedded SVG
         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
Press return for more: 
          unknown  Unknown terminal type - not a plotting device
            vttek  VT-like tek40xx terminal emulator
            xterm  Xterm Tektronix 4014 Mode

どうですか?

ベストアンサー1

ソースからインストールを準備するには(UbuntuとDebianで)を実行して、必要なパッケージのほとんどを利用できる必要がありますsudo apt build-dep <package>。これを行うには、いくつかのdeb-src ppaを有効にして/etc/apt/sources.list実行しますapt update。私にとっては、コメントタグを削除するだけで十分でした。ソースからビルドするパッケージには、デプロイメントppaで使用できない依存関係を必要とする機能がある場合があります。

また、一部の機能はデフォルトで有効になっておらず、パッケージがこれらの機能を提供するように構成されている場合にのみビルドできます。通常、私たちはを実行してどのフラグを使うべきかを調べることができますcd /path/to/src/; ./configure --help

おすすめ記事