snow_Leopard - アールメカブ

アールメカブ


snow_Leopard

Macの備忘録

_ X11 SDK -- ptetex がコンパイルできない

ヘッダの場所をどうして認識しないのか.

configure: warning: No texmf tree found at /usr/local/teTeX/share/texmf.
 *****************************************************************
 * Error: The main texmf tree was not found.                     *
 * If you do not have the files, you should be able to them from *
 * the same place you got these sources from, or from one of the *
 * CTAN hosts.                                                   *
 *****************************************************************
 Winging it.
creating ./config.status
creating Makefile
-----------------------------
We are NOT going to compile xdvi.  We have two choices.
1. (with xdvi)    Check if we have X11 headers.
2. (without xdvi) Set XDVI=echo in "my_option" to omit xdvi test.

make[1]: *** [stage4] Error 1

Those messages are stored in 'log-0924-1507'.

make: *** [all0] Error 1
  • my_option で明示する
export CFLAGS=-O2 #のコメントを外しておいて

### ライブラリの場所を明示的に指定する 詳しくは土村さんの動作報告140を参照

CPPFLAGS="-I/usr/local/include -I/usr/sfw/include -I/opt \
     /sfw/include -I/usr/openwin/include \
     -I/usr/include/X11 -I/usr/X11/include"
LDFLAGS="-L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib -L/usr/openwin/lib \
     -L/usr/X11/lib"
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib:/usr/sfw/lib: \
   /opt/sfw/lib:/usr/openwin/lib
export LDFLAGS CPPFLAGS LD_LIBRARY_PATH

上で-I/usr/X11/include を忘れると png.h がないと怒られる.

例によって以下の警告によるエラーは無視

[platex tate] test
warning: FT_OpenType_Validate is disabled. 
      Replace FreeType2 with otvalid-enabled version.
make: *** [stage8] Error 1

_ ことえりでスペースを常に半角

$ defaults write com.apple.inputmethod.Kotoeri zhsy -dict-add " " -bool no
$ killall Kotoeri

元に戻す

$ defaults write com.apple.inputmethod.Kotoeri zhsy -dict-add " " -bool yes
$ killall Kotoeri

_ Ghostscript

macports からインストールするか迷ったが,mac ports が Snow になって混乱気味という情報もあったので,結局,小川版を利用した.

 
Link: Macの備忘録(4731d)
Last-modified: 2009-09-24 (木) 18:36:38 (5321d)