I have been trying to compile PHP 4.0.3pl1 as a static module of Apache 1.3.14 withou any success, I followed instructions of fellows saying that it compiles with no problem but when I try to make install it allways generates the above errors:
cp: /src/php-4.0.3pl1/pear//src/php-4.0.3pl1/pear/PEAR.php: No such file or directory
make[2]: *** [install-data-local] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
Before doing make and make install I configured it as follows:
./configure --prefix=/usr \
--with-mysql=/usr/local/mysql \
--sysconfdir=/etc \
--localstatedir=/var \
--with-xml \
--with-apache=/src/apache_1.3.14
and before that have configured Apache as follows:
./configure --exec-prefix=/usr \
--localstatedir=/var \
--mandir=/usr/share/man \
--libexecdir=/System/Library/Apache/Modules \
--iconsdir=/System/Library/Apache/Icons \
--includedir=/System/Library/Frameworks/Apache.framework/Versions/1.3/Headers \
--enable-shared=max \
--enable-module=most \
--target=apache
Am I doing something wrong?
Can someone please help me?!
Thanks!
my email is leonel@sdm.pt
------------------
Leonel Silva