• Tidak ada hasil yang ditemukan

pgplot522 インストールドキュメント

N/A
N/A
Protected

Academic year: 2024

Membagikan "pgplot522 インストールドキュメント"

Copied!
3
0
0

Teks penuh

(1)

pgplot522 インスト ールド キュメント

山田 学

2001 年 5 月 22 日

1. アーカイブを以下のサイトからanonymous ftpにより取得.

ftp://ftp.astro.caltech.edu/pub/pgplot/pgplot522.tar.gz 2. これを展開1

% cp pgplot522.tar.gz /usr/local/src/.

% cd /usr/loacal/src

% tar xvzf pgplot522.tar.gz

3. 出来たディレクトリーへ移動し,必要そうなド キュメントを眺める2.

% cd pgplot

% less install.txt

% less install-unix.txt

4. install-unix.txtに従い,/usr/local/pgplotを作る.

\verb|\% mkdir /usr/local/pgplot|

\item device ド ライバーの選択 \\

% cd /usr/local/pgplot

% cp /usr/local/src/pgplot/drivers.list .

% vi drivers.list

1/usr/local/src :を外からもって来たアーカイブ置場としている

2ちゃんと眺める場合,本ド キュメントは必要ない

1

(2)

Install of pgplot522 2

※参考:次のド ライバーのコメントアウト(!)を外した.

GIDRIV 1 /GIF GIF-format file, landscape GIDRIV 2 /VGIF GIF-format file, portrait PNDRIV 1 /PNG Portable Network Graphics file PNDRIV 2 /TPNG Portable Network Graphics file PPDRIV 1 /PPM Portable Pixel Map file, landscape PPDRIV 2 /VPPM Portable PIxel Map file, portrait LXDRIV 0 /LATEX LaTeX picture environment

PSDRIV 1 /PS PostScript printers, monochrome, landscape PSDRIV 2 /VPS Postscript printers, monochrome, portrait PSDRIV 3 /CPS PostScript printers, color, landscape PSDRIV 4 /VCPS PostScript printers, color, portrait

XWDRIV 1 /XWINDOW Workstations running X Window System XWDRIV 2 /XSERVE Persistent window on X Window System

5. makefileの生成 % ../src/pgplot/makemake /usr/local/src/pgplot linux g77 gcc

6. makeの実行 % make このmakeの途中でこけるがエラー出力をちゃんと見ればよ

い. 今回は :

:

g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot522/pgplot/drivers/lxdriv.f g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot522/pgplot/drivers/nudriv.f の後,以下のエラーがでた.

make: *** No rule to make target ‘png.h’, needed by ‘pndriv.o’. Stop.

make: *** No rule to make target ‘pngconf.h’, needed by ‘pndriv.o’. Stop.

make: *** No rule to make target ‘zlib.h’, needed by ‘pndriv.o’. Stop.

make: *** No rule to make target ‘zconf.h’, needed by ‘pndriv.o’. Stop.

これに対してmakefileの修正を行った.

pndriv.o : ./png.h ./pngconf.h ./zlib.h ./zconf.h とある行を

pgplot-install.tex 2001/05/22(山田 学)

(3)

Install of pgplot522 3

PNDRIVDIR=/usr/include/

pndriv.o : $(PNDRIVDIR)/png.h $(PNDRIVDIR)/pngconf.h $(PNDRIVDIR)/zlib.h $(PNDRI VDIR)/zconf.h

とした.

最終的に以下のメッセージが出たら終了.

*** Finished compilation of PGPLOT ***

Note that if you plan to install PGPLOT in a different

directory than the current one, the following files will be needed.

libpgplot.a libpgplot.so grfont.dat rgb.txt

pgxwin_server

Also note that subsequent usage of PGPLOT programs requires that the full path of the chosen installation directory be named in an environment variable named PGPLOT_DIR.

7. 後始末 % make clean

8. 利用に関して. pgplotのライブラリを使用する場合 libpgplot.so

libX11.so libpng.so

のライブラリにリンクをはること.

pgplot-install.tex 2001/05/22(山田 学)

Referensi

Dokumen terkait

Program Any2Icon dapat mengubah file gambar dengan format BMP, WBMP, JPEG, GIF, PNG, WMF, PCX, XPM, XBM, TGA, TIFF, ANI dan CUR ke bentuk ikon Windows.. Dimungkinkan

Format desain yang digunakan pada media poster adalah. menggunakan format portrait dan landscape karena

GIF (Grafic Interchange File)(*.gif) merupakan format file terkompresi yang memungkinkan desainer membuat gambar animasi kecil dengan meletakkan gambar pada ujung

Tujuan penelitian ini adalah untuk melihat perbandingan antara tiga file dengan format berbeda yaitu GIF, TIFF, dan PNG setelah dikompresi menggunakan metode kompresi fraktal

Analisis Perbandingan File Berformat PNG, GIF dan TIFF pada Kompresi Citra Digital menggunakan Metode Fraktal.. Universitas

Dalam mewujudkan ide karya portrait landscape, landscape yang biasanya berformat horizontal lebih banyak diambil landscape dengan format vertikal, dan perwujudannya

Untuk menyimpan images dengan format GIF klik menu File > Save, kemudian pilih ekstensi GIF Image atau gif pada pilihan “Select File Type (By Extension)”, beri nama untuk

Adobe Acrobat PDF Files Adobe® Portable Document Format PDF is a universal file format that preserves all of the fonts, formatting, colours and graphics of any source document,