OSXにxpdfをインストールする
■OSX 10.4.11にxpdfをインストールする
OSX用のバイナリだと、pdftoppmがインストールされない。ソースからのインストールでも同様だった。
./configureで、freetypeとmotifがないと以下のwarningが出る。
configure: WARNING: Couldn’t find Motif
configure: WARNING: Couldn’t find FreeType
configure: WARNING: — You will be able to compile pdftops, pdftotext,
pdfinfo, pdffonts, and pdfimages, but not xpdf or pdftoppm
なので、freetypeとmotifをインストールする
●freetypeのインストール
freetype2をソースからmakeしてinstallする。通常通りの手順で問題なし。
●motifのインストール
openmotif-compat-2.1.32_IST.macosx10.4.dmgからバイナリでmotifをインストールする。
■xpdfのインストール
xpdf-3.02.tar.gzを解凍して,
./configure –with-freetype2-includes=/usr/local/include/freetype2 –with-freetype2-library=/usr/local/lib –with-Xm-library=/usr/OpenMotif/lib –with-Xm-includes=/usr/OpenMotif/include
として、インストールされた。
(written by Kamata)