trying to install apache2 & mod_php4

Rene Veerman rene at outerheaven.net
Wed Apr 2 07:11:11 PST 2003


Hi. I am now trying to run mod_php4 under apache2. 
but alas, it moans and nags during installation;

 { (/usr/ports/www/mod_php4) }-
 $ make -DWITH_APACHE2
===>   mod_php4-4.3.1 depends on file: /usr/local/sbin/apxs - found
===>   mod_php4-4.3.1 depends on file:
/usr/local/libexec/autoconf213/autoconf - found
===>   mod_php4-4.3.1 depends on shared library: pth.20 - found
===>   mod_php4-4.3.1 depends on shared library: pq.2 - found
===>   mod_php4-4.3.1 depends on shared library: snmp.4 - found
===>   mod_php4-4.3.1 depends on shared library: expat.2 - not found
===>    Verifying install for expat.2 in /usr/ports/textproc/expat2
===>  Installing for expat-1.95.6_1
===>  expat-1.95.6_1 is already installed - perhaps an older version?
      If so, you may wish to ``make deinstall'' and install
      this port again by ``make reinstall'' to upgrade it properly.
      If you really wish to overwrite the old port of expat-1.95.6_1
      without deleting it first, set the variable "FORCE_PKG_REGISTER"
      in your environment or the "make install" command line.
*** Error code 1

Stop in /usr/ports/textproc/expat2.
*** Error code 1

Stop in /usr/ports/www/mod_php4.
*** Error code 1

Stop in /usr/ports/www/mod_php4.




i have already tried re-installing expat2, but that does not help.

any tips are greatly appreciated.


More information about the freebsd-questions mailing list