2013/07/26

Just 4 steps to install PGPLOT on MAC OSX (10.6 later)

Just 4 steps to install PGPLOT on MAC OSX (10.6 later)

1. install "homebrew"

2. $ brew install pgplot

3. # ln -s /usr/local/Cellar/pgplot/5.2.2/lib /usr/local/pgplot

4. Add lines to ".bashrc" or ".cshrc"
----
export (setenv) PGPLOT_DEV=/xserv
export (setenv) PGPLOT_DIR=/usr/local/pgplot
----


そういうわけで、以前、あれだけ苦労したpgplotのインストールはhomebrewをインストールしてやればそこから自動的にmakemakeとかproccom.cとかにパッチを充てて問題なくインストールしてくれたのだった。

macports の場合はよく分からん。一応できるらしいけど、未確認。
やっぱみんな色々考えてるんだね・・・
だがしかし、おれも一応、このパッチ作った人と同じ問題に取り組んでいた一人だったのだ。


0 件のコメント: