揮発性のメモ2

http://d.hatena.ne.jp/iww/

phpのコンパイル

 --with-jpeg-dir=/usr
configure: error: libjpeg.(a|so) not found.

エラー出た


[PHP-users 24750] Re: with-gdでconfigureに失敗
[PHP-users 24752] Re: with-gdでconfigureに失敗


その他必要に迫られて入れたもの

aspellはさすがに不要っぽいのでconfigureから外した

パッケージをひとつひとつおそるおそるインスコするときはそのつど make clean./configure をするのが無難


make

/home/hoge/php-5.0.4/ext/pcre/php_pcre.c:1527: undefined reference to `php_pcre_fullinfo'
ext/pcre/php_pcre.o(.text+0x2e66):/home/hoge/php-5.0.4/ext/pcre/php_pcre.c:1546: undefined reference to `php_pcre_exec'
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php] エラー 1

- よくきたWiki
--enable-mbregex を外す

/home/hoge/php-5.0.4/ext/odbc/php_odbc_includes.h:118:17: sql.h: No such file or directory

PHP4.4.1のmake中にphp_odbcでsql.h、sqlext.hが見つからないた… - 人力検索はてな

/home/hoge/php-5.0.4/ext/snmp/snmp.c:86:22: snmp_api.h: No such file or directory

http://rpmfind.net/linux/RPM/trustix/2.2/net-snmp-devel-5.4-2tr.i586.html