Hello!
We have a webserver where www/php4-cgi port is currently installed. Now
we want to add PHP5, but we have some web applications which are not
compatible with PHP5, so initially we want to have a server with both
PHP4 and PHP5 installed.
So far I did the following:
mkdir /usr/local/php5
setenv PREFIX /usr/local/php5
cd /usr/ports/www/php5-cgi
make install
That seemed to work OK.
Then I proceeded to build the necessary extension ports. Initially a lot
of them failed to build with various syntax errors. I figured that this
was because the build process was trying to use PHP4 header files from
/usr/local/include/php, not the PHP5 header files from
/usr/local/php5/include/php. So I did the following
cd /usr/local/include
mv php php4
ln -s /usr/local/php5/include/php .
After that I could build most of the extensions I need. But two
extensions - php5-wddx and php5-xml - are still failing. Both failures
look the same:
# make install
===> Vulnerability check disabled, database not found
===> Extracting for php5-wddx-5.0.5_1
=> Checksum OK for php-5.0.5.tar.bz2.
===> Patching for php5-wddx-5.0.5_1
===> Applying FreeBSD patches for php5-wddx-5.0.5_1
===> php5-wddx-5.0.5_1 depends on file:
/usr/local/include/php/main/php.h - found
===> php5-wddx-5.0.5_1 depends on executable: phpize - found
===> php5-wddx-5.0.5_1 depends on file:
/usr/local/lib/php/20020429/xml.so - found
===> php5-wddx-5.0.5_1 depends on file:
/usr/local/lib/php/20020429/session.so - found
===> php5-wddx-5.0.5_1 depends on file: /usr/local/bin/autoconf259 - found
===> php5-wddx-5.0.5_1 depends on executable: pkg-config - found
===> php5-wddx-5.0.5_1 depends on shared library: xml2.5 - found
===> PHPizing for php5-wddx-5.0.5_1
Configuring for:
PHP Api Version: 20031224
Zend Module Api No: 20041030
Zend Extension Api No: 220040412
configure.in:20: error: possibly undefined macro: AC_MSG_ERROR
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
*** Error code 1
Stop in /usr/ports/textproc/php5-wddx.
What should I do to fix this? Or maybe I'm going entirely wrong about
how to install PHP4 and PHP5 on the same server?
---
... P.S. The secret of the universe is @*^^^&# NO CARRIER
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"