iMac_設定
_ R
Tsukuba CRAN からバイナリをダウンロード
_ Emacs
Carbon Emacs これはデフォルトで ESSが同封されている。
_ Ghostscript
小川さんのところ からバイナリをもらう
_ Tex
土村版Texのコンパイルが通らない
ここを参考に xcodeの最新版インストール時の gcc のリンクを修正
sudo rm /usr/bin/gcc sudo ln -s /usr/bin/gcc-4.2 /usr/bin/gcc
しかしこれでも通らないので libpng を入れることにする。 ここを参考。
$ cd libpng-1.2.38rc02 $ ./configure CFLAGS="-isystem /usr/local/include" $ make $ sudo make install
ちなみにmacportsに ghostscript上でヒラギノフォントを扱うための port があるらしい。 ここを参考。 ghostscript への依存関係を有しており、日本語 PostScript? の処理環境を簡単に整えることができるらしい。
$ sudo port install freetype # ついでに $ sudo port install ghostscript-fonts-hiragino
_ yatex
yatex on Emacs で xdvi を起動しようとすると Emacs Can't open localhost :0.0
emacsLeopard10.5.7.el から
(setenv "DISPLAY" "localhost:0.0")
をコメントアウトする
libpng のインストール記録
$ sudo make install Password: test -z "/usr/local/bin" || ./install-sh -c -d "/usr/local/bin" /usr/bin/install -c 'libpng12-config' '/usr/local/bin/libpng12-config' test -z "/usr/local/lib" || ./install-sh -c -d "/usr/local/lib" /bin/sh ./libtool --mode=install /usr/bin/install -c libpng12.la' '/usr/local/lib/libpng12.la' libtool: install: /usr/bin/install -c .libs/libpng12.0.dylib /usr/local/lib/libpng12.0.dylib libtool: install: (cd /usr/local/lib && { ln -s -f libpng12.0.dylib libpng12.dylib || { rm -f libpng12.dylib && ln -s libpng12.0.dylib libpng12.dylib; }; }) libtool: install: /usr/bin/install -c .libs/libpng12.lai /usr/local/lib/libpng12.la libtool: install: /usr/bin/install -c .libs/libpng12.a /usr/local/lib/libpng12.a libtool: install: chmod 644 /usr/local/lib/libpng12.a libtool: install: ranlib /usr/local/lib/libpng12.a
Libraries have been installed in: /usr/local/lib
If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: add LIBDIR to the `DYLD_LIBRARY_PATH' environment variable during execution
See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages.
/bin/sh ./libtool --mode=install /usr/bin/install -c 'libpng.la' '/usr/local/lib/libpng.la' libtool: install: /usr/bin/install -c .libs/libpng.3.dylib /usr/local/lib/libpng.3.dylib libtool: install: (cd /usr/local/lib && { ln -s -f libpng.3.dylib libpng.dylib || { rm -f libpng.dylib && ln -s libpng.3.dylib libpng.dylib; }; }) libtool: install: /usr/bin/install -c .libs/libpng.lai /usr/local/lib/libpng.la libtool: install: /usr/bin/install -c .libs/libpng.a /usr/local/lib/libpng.a libtool: install: chmod 644 /usr/local/lib/libpng.a libtool: install: ranlib /usr/local/lib/libpng.a
Libraries have been installed in: /usr/local/lib
If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: add LIBDIR to the `DYLD_LIBRARY_PATH' environment variable during execution
See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages.
make install-exec-hook cd /usr/local/bin; rm -f libpng-config cd /usr/local/bin; ln -s libpng12-config libpng-config
- cd /usr/local/lib
- for ext in a la so sl dylib
- rm -f libpng.a
- test -f libpng12.a
- ln -s libpng12.a libpng.a
- for ext in a la so sl dylib
- rm -f libpng.la
- test -f libpng12.la
- ln -s libpng12.la libpng.la
- for ext in a la so sl dylib
- rm -f libpng.so
- test -f libpng12.so
- for ext in a la so sl dylib
- rm -f libpng.sl
- test -f libpng12.sl
- for ext in a la so sl dylib
- rm -f libpng.dylib
- test -f libpng12.dylib
- ln -s libpng12.dylib libpng.dylib test -z "/usr/local/share/man/man3" || ./install-sh -c -d "/usr/local/share/man/man3" /usr/bin/install -c -m 644 'libpng.3' '/usr/local/share/man/man3/libpng.3' /usr/bin/install -c -m 644 'libpngpf.3' '/usr/local/share/man/man3/libpngpf.3' test -z "/usr/local/share/man/man5" || ./install-sh -c -d "/usr/local/share/man/man5" /usr/bin/install -c -m 644 'png.5' '/usr/local/share/man/man5/png.5' test -z "/usr/local/lib/pkgconfig" || ./install-sh -c -d "/usr/local/lib/pkgconfig" /usr/bin/install -c -m 644 'libpng12.pc' '/usr/local/lib/pkgconfig/libpng12.pc' test -z "/usr/local/include/libpng12" || ./install-sh -c -d "/usr/local/include/libpng12" /usr/bin/install -c -m 644 'png.h' '/usr/local/include/libpng12/png.h' /usr/bin/install -c -m 644 'pngconf.h' '/usr/local/include/libpng12/pngconf.h' make install-data-hook cd /usr/local/include; rm -f png.h pngconf.h cd /usr/local/include; ln -s libpng12/png.h png.h cd /usr/local/include; ln -s libpng12/pngconf.h \ pngconf.h cd /usr/local/lib/pkgconfig; rm -f libpng.pc cd /usr/local/lib/pkgconfig; ln -s libpng12.pc libpng.pc make-app2-no-imac:libpng-1.2.38rc02 motohiro$