phpize: php -ko moduloren bat konpilekeran errorie

Bueno atzokue errezeidxe ezan da gauze honerako eta oci8 konpilekeran errorie emon dost:

pecl install oci8
cp: cannot stat `shtool': No such file or directory
cp: cannot stat `libtool.m4': No such file or directory

Konponduteko

aptitude install shtool libtool

cp /usr/lib/php5/build/libtool.m4 /usr/lib/php5/build/libtool.m4.bak
ln -s /usr/share/aclocal/libtool.m4 /usr/lib/php5/build/libtool.m4

Da haur guez ostabe:

pecl install oci8
configure.in:144: warning: LTSUGAR_VERSION is m4_require'd but not m4_defun'd
configure.in:144: warning: LTVERSION_VERSION is m4_require'd but not 
m4_defun'd
configure.in:144: warning: LTOBSOLETE_VERSION is m4_require'd but not 
m4_defun'd

Bueno hasi dasku ostabe popatik emoten, hori konponduteko:

cp /usr/share/local/libtool.m4 /usr/share/local/libtool.m4.bak

/usr/share/local/lt~obsolete.m4 >> /usr/share/local/libtool.m4
/usr/share/local/ltoptions.m4 >> /usr/share/local/libtool.m4
/usr/share/local/ltsugar.m4 >> /usr/share/local/libtool.m4
/usr/share/local/ltversion.m4 >> /usr/share/local/libtool.m4

Eta oin barriro:

pecl install oci8
Build process completed successfully

Oin bai!!! #WINNING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Utzi erantzuna

Zure e-posta helbidea ez da argitaratuko. Beharrezko eremuak * markatuta daude