iMac_設定 - アールメカブ

アールメカブ


iMac_設定

Linuxの備忘録

_ 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

  1. cd /usr/local/lib
  2. for ext in a la so sl dylib
  3. rm -f libpng.a
  4. test -f libpng12.a
  5. ln -s libpng12.a libpng.a
  6. for ext in a la so sl dylib
  7. rm -f libpng.la
  8. test -f libpng12.la
  9. ln -s libpng12.la libpng.la
  10. for ext in a la so sl dylib
  11. rm -f libpng.so
  12. test -f libpng12.so
  13. for ext in a la so sl dylib
  14. rm -f libpng.sl
  15. test -f libpng12.sl
  16. for ext in a la so sl dylib
  17. rm -f libpng.dylib
  18. test -f libpng12.dylib
  19. 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$
 
Link: Linuxの備忘録(4656d) Macの備忘録(4900d)
Last-modified: 2009-07-11 (土) 14:04:04 (5565d)