I have gotten this far.... But....
./configure --enable-force-cgi-redirect --with-config-file-path=/usr/local/apache2/ --with-tiff-dir=/usr/lib --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib --with-zlib-dir=/usr/lib --with-gd=/usr/local --with-freetype-dir --without-ttf --with-pgsql --with-regex=system --with-ming --enable-dbase --enable-dbx --enable-versioning --enable-ftp --with-apxs2=/usr/local/apache2/bin/apxs
====
During make it ends with:
/bin/sh /root/php-4.3.2/libtool --silent --preserve-dup-deps --mode=compile gcc -Isapi/apache2handler/ -I/root/php-4.3.2/sapi/apache2handler/ -DPHP_ATOM_INC -I/root/php-4.3.2/include -I/root/php-4.3.2/main -I/root/php-4.3.2 -I/usr/local/apache2/include -I/root/php-4.3.2/Zend -I/usr/include/freetype2 -I/usr/local/include -I/usr/local/pgsql/include -I/root/php-4.3.2/ext/xml/expat -I/root/php-4.3.2/TSRM -g -O2 -prefer-pic -c /root/php-4.3.2/sapi/apache2handler/sapi_apache2.c -o sapi/apache2handler/sapi_apache2.lo
In file included from /usr/local/apache2/include/httpd.h:86,
from /usr/local/apache2/include/util_filter.h:61,
from /root/php-4.3.2/sapi/apache2handler/sapi_apache2.c:40:
/usr/local/apache2/include/pcreposix.h:26:1: warning: "REG_ICASE" redefined
In file included from /root/php-4.3.2/main/php_regex.h:39,
from /root/php-4.3.2/main/php.h:74,
from /root/php-4.3.2/sapi/apache2handler/sapi_apache2.c:25:
/usr/include/regex.h:266:1: warning: this is the location of the previous definition
In file included from /usr/local/apache2/include/httpd.h:86,
from /usr/local/apache2/include/util_filter.h:61,
from /root/php-4.3.2/sapi/apache2handler/sapi_apache2.c:40:
/usr/local/apache2/include/pcreposix.h:27:1: warning: "REG_NEWLINE" redefined
In file included from /root/php-4.3.2/main/php_regex.h:39,
from /root/php-4.3.2/main/php.h:74,
from /root/php-4.3.2/sapi/apache2handler/sapi_apache2.c:25:
/usr/include/regex.h:271:1: warning: this is the location of the previous definition
In file included from /usr/local/apache2/include/httpd.h:86,
from /usr/local/apache2/include/util_filter.h:61,
from /root/php-4.3.2/sapi/apache2handler/sapi_apache2.c:40:
/usr/local/apache2/include/pcreposix.h:28:1: warning: "REG_NOTBOL" redefined
In file included from /root/php-4.3.2/main/php_regex.h:39,
from /root/php-4.3.2/main/php.h:74,
from /root/php-4.3.2/sapi/apache2handler/sapi_apache2.c:25:
/usr/include/regex.h:285:1: warning: this is the location of the previous definition
In file included from /usr/local/apache2/include/httpd.h:86,
from /usr/local/apache2/include/util_filter.h:61,
from /root/php-4.3.2/sapi/apache2handler/sapi_apache2.c:40:
/usr/local/apache2/include/pcreposix.h:29:1: warning: "REG_NOTEOL" redefined
In file included from /root/php-4.3.2/main/php_regex.h:39,
from /root/php-4.3.2/main/php.h:74,
from /root/php-4.3.2/sapi/apache2handler/sapi_apache2.c:25:
/usr/include/regex.h:288:1: warning: this is the location of the previous definition
In file included from /usr/local/apache2/include/httpd.h:86,
from /usr/local/apache2/include/util_filter.h:61,
from /root/php-4.3.2/sapi/apache2handler/sapi_apache2.c:40:
/usr/local/apache2/include/pcreposix.h:34:1: warning: "REG_EXTENDED" redefined
In file included from /root/php-4.3.2/main/php_regex.h:39,
from /root/php-4.3.2/main/php.h:74,
from /root/php-4.3.2/sapi/apache2handler/sapi_apache2.c:25:
/usr/include/regex.h:262:1: warning: this is the location of the previous definition
In file included from /usr/local/apache2/include/httpd.h:86,
from /usr/local/apache2/include/util_filter.h:61,
from /root/php-4.3.2/sapi/apache2handler/sapi_apache2.c:40:
/usr/local/apache2/include/pcreposix.h:35:1: warning: "REG_NOSUB" redefined
In file included from /root/php-4.3.2/main/php_regex.h:39,
from /root/php-4.3.2/main/php.h:74,
from /root/php-4.3.2/sapi/apache2handler/sapi_apache2.c:25:
/usr/include/regex.h:275:1: warning: this is the location of the previous definition
In file included from /usr/local/apache2/include/httpd.h:86,
from /usr/local/apache2/include/util_filter.h:61,
from /root/php-4.3.2/sapi/apache2handler/sapi_apache2.c:40:
/usr/local/apache2/include/pcreposix.h:41: conflicting types for REG_BADBR'
/usr/include/regex.h:312: previous declaration ofREG_BADBR'
/usr/local/apache2/include/pcreposix.h:42: conflicting types for REG_BADPAT'
/usr/include/regex.h:304: previous declaration ofREG_BADPAT'
/usr/local/apache2/include/pcreposix.h:43: conflicting types for REG_BADRPT'
/usr/include/regex.h:315: previous declaration ofREG_BADRPT'
/usr/local/apache2/include/pcreposix.h:44: conflicting types for REG_EBRACE'
/usr/include/regex.h:311: previous declaration ofREG_EBRACE'
/usr/local/apache2/include/pcreposix.h:45: conflicting types for REG_EBRACK'
/usr/include/regex.h:309: previous declaration ofREG_EBRACK'
/usr/local/apache2/include/pcreposix.h:46: conflicting types for REG_ECOLLATE'
/usr/include/regex.h:305: previous declaration ofREG_ECOLLATE'
/usr/local/apache2/include/pcreposix.h:47: conflicting types for REG_ECTYPE'
/usr/include/regex.h:306: previous declaration ofREG_ECTYPE'
/usr/local/apache2/include/pcreposix.h:48: conflicting types for REG_EESCAPE'
/usr/include/regex.h:307: previous declaration ofREG_EESCAPE'
/usr/local/apache2/include/pcreposix.h:50: conflicting types for REG_EPAREN'
/usr/include/regex.h:310: previous declaration ofREG_EPAREN'
/usr/local/apache2/include/pcreposix.h:51: conflicting types for REG_ERANGE'
/usr/include/regex.h:313: previous declaration ofREG_ERANGE'
/usr/local/apache2/include/pcreposix.h:52: conflicting types for REG_ESIZE'
/usr/include/regex.h:319: previous declaration ofREG_ESIZE'
/usr/local/apache2/include/pcreposix.h:53: conflicting types for REG_ESPACE'
/usr/include/regex.h:314: previous declaration ofREG_ESPACE'
/usr/local/apache2/include/pcreposix.h:54: conflicting types for REG_ESUBREG'
/usr/include/regex.h:308: previous declaration ofREG_ESUBREG'
/usr/local/apache2/include/pcreposix.h:57: conflicting types for REG_NOMATCH'
/usr/include/regex.h:300: previous declaration ofREG_NOMATCH'
/usr/local/apache2/include/pcreposix.h:57: confused by earlier errors, bailing out
make: *** [sapi/apache2handler/sapi_apache2.lo] Error 1
====
Any help is greatly accepted 🙂
Fido