Mingインストールメモ

PHPRuby、CなどからFlashのswfファイルを生成できるMingのインストールメモ。

http://ming.sourceforge.net/からソースをダウンロードして、

./configure
make
make install

でも、php_ext がない。でもming-0.4.0beta3の方にはあるのでそちらを利用する。php_ext の下でmakeするも、cc1plus が無いのでコンパイルエラー。yum install gcc4-c++ を実行後、再び、cd php_ext;make


ming-0.3.0 のmake install のログ。

[root@centos ming-0.3.0]# make install
make -f Makefile-real install
make[1]: Entering directory `/root/tmp/ming-0.3.0'
install -d /usr/local/lib
install -d /usr/local/include
install -c -m 0644 src/ming.h /usr/local/include
install -c -m 0644 src/ming_config.h /usr/local/include
install -c -m 0644 mingpp.h /usr/local/include
(cd src && make dynamic CFLAGS="-g -O2 -Wall -I.  -fPIC")
make[2]: Entering directory `/root/tmp/ming-0.3.0/src'
make[2]: Nothing to be done for `dynamic'.
make[2]: Leaving directory `/root/tmp/ming-0.3.0/src'
install -c -m 0644 libming.so.0.3.0 /usr/local/lib/libming.so.0.3.0
(cd /usr/local/lib && ln -fs libming.so.0.3.0 libming.so.0 && ln -fs libming.so.0 libming.so)
(cd util && make install)
make[2]: Entering directory `/root/tmp/ming-0.3.0/util'
install -d /usr/local/bin
install -m 0755 listswf listswf_d swftoperl swftophp swftopython makeswf listaction listaction_d listfdb makefdb listjpeg raw2adpcm listmp3 dbl2png png2dbl png2swf /usr/local/bin
install -m 0755 ming-config /usr/local/bin
make[2]: Leaving directory `/root/tmp/ming-0.3.0/util'
(cd src && make static)
make[2]: Entering directory `/root/tmp/ming-0.3.0/src'
make[2]: Nothing to be done for `static'.
make[2]: Leaving directory `/root/tmp/ming-0.3.0/src'
install -c -m 0644 libming.a /usr/local/lib/
(cd man && make install)
make[2]: Entering directory `/root/tmp/ming-0.3.0/man'
install -d /usr/local/man/man1
install -m 0644 makeswf.1 /usr/local/man/man1
make[2]: Leaving directory `/root/tmp/ming-0.3.0/man'
make[1]: Leaving directory `/root/tmp/ming-0.3.0'