- 追加された行はこの色です。
- 削除された行はこの色です。
[[Macの備忘録]]
#contents
* X11 SDK -- ptetex がコンパイルできない[#v79196a2]
ヘッダの場所をどうして認識しないのか.
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 #のコメントを外しておいて
### ライブラリの場所を明示的に指定する
詳しくは[[土村さん:http://tutimura.ath.cx/ptetex/?FrontPage]]の動作報告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
* ことえりでスペースを常に半角 [#l9186804]
$ 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
* Xcode でインストールされた X11 SDK のヘッダ [#s65d1a20]
/usr/include/X11 を探し当てられないよう模様. configure で明示的に指定するしか無いのか.
* Ghostscript [#dd02f29f]
macports からインストールするか迷ったが,mac ports が Snow になって混乱気味という情報もあったので,結局,小川版を利用した.