Hi, there seem to be three issues:
> Configuring for: > ~ PHP Api Version: 20020918 > ~ Zend Module Api No: 20020429 > ~ Zend Extension Api No: 20021010 1. which configure options did you use? Apache 1 or 2? Which php version > /home/nemein/midgard/src/apis/php4/midgard.c -fPIC -DPIC -o > .libs/midgard.o > In file included from /usr/include/httpd/httpd.h:29, > ~ from /usr/local/include/midgard/apache.h:25, > ~ from > /home/nemein/midgard/src/apis/php4/php_midgard.h:42, > ~ from /home/nemein/midgard/src/apis/php4/midgard.c:25: > /usr/include/httpd/ap_config.h:19:17: apr.h: No such file or directory 2. seems like midgard-php4 gets configured for Apache 2, but httpd-devel package or apr-devel package is missing. > /home/nemein/midgard/src/apis/php4/php_midgard.h:42, > ~ from /home/nemein/midgard/src/apis/php4/midgard.c:25: > /usr/include/httpd/pcreposix.h:52: error: conflicting types for > `REG_BADBR' > /usr/include/regex.h:327: error: previous declaration of `REG_BADBR' > /usr/include/httpd/pcreposix.h:53: error: conflicting types for 3. Seems like you are using a php version that was configured with --with-regex=system. This usually is the case on RedHat systems. Rebuild the php src rpm and remove the --with-regex=system line from the spec file. Daniel -- blog - http://people.best-off.org/~dsr/ gpg - http://people.best-off.org/~dsr/gpg.asc work - http://www.best-off.org/
pgpe2560sYlOh.pgp
Description: PGP Digital Signature
