[PHP4] make[1]: *** [libphp4.la] エラー 1
PHP4 をソースコードから再インストールする際に、make でエラーが出たので解決方法をメモ。
一度、make install してから、./configure のオプションを変更して、再インストールしたい。
# ./configure # make # make install |
# ./configure # make ... stub.lo: file not recognized: File truncated collect2: ld returned 1 exit status make[1]: *** [libphp4.la] エラー 1 make[1]: 出ます ディレクトリ `/usr/local/src/php-4.0.6' make: *** [all-recursive] エラー 1 |
上記のようなエラーが出た場合、make clean すればOK
# make clean # make # make install |