Hello! I am trying to compile php4.3.2 and apache2.0.47 from source. i compiled apache with the --enable-so option.
My php configure options: ./configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstate dir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --cache-file=../config.cache --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d --ena ble-force-cgi-redirect --disable-debug --enable-pic --disable-rpath --enable-inline-optimization --with-dom=/usr --with-exec-dir=/usr/bin --with-freetype-dir=/usr --with-png-dir=/usr --enable-gd-native-ttf --with-zlib-dir=/usr/include/ --with-jpeg-dir=/usr/lib/ --with-ttf --with-gdbm --with-gettext --with-ncurses --with-gmp --with-iconv --with-jpeg-dir=/usr --with-openssl --with-png --with-pspell --with-regex=system --with-xml --with-expat-dir=/usr/ --with-layout=GNU --enable-bcmath --enable-exif --enable-ftp --enable-mbstring --enable-magic-quotes --enable-safe-mode --enable-sockets --enable-sysvsem --enable-sysvshm --enable-discard-pa th --enable-track-vars --enable-trans-sid --enable-yp --enable-wddx --without-oci8 --with-pear=/usr/share/pear --with-imap-ssl --with-kerberos=/usr/kerberos -- with-snmp=shared --enable-ucd-snmp-hack --enable-memory-limit --enable-bcmath --enable-shmop --enable-versioning --enable-calendar --enable-dbx --enable-dio -- with-zlib --with-bz2 --with-curl --with-imap=shared --with-gd2 --with-apxs2=/etc/httpd/bin/apxs after a make clean && ./run_config.sh && make I get this error: /usr/include/regex.h:262:1: warning: this is the location of the previous definition In file included from /etc/httpd/include/httpd.h:86, from /etc/httpd/include/util_filter.h:61, from /root/php-4.3.2/sapi/apache2handler/sapi_apache2.c:40: /etc/httpd/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 /etc/httpd/include/httpd.h:86, from /etc/httpd/include/util_filter.h:61, from /root/php-4.3.2/sapi/apache2handler/sapi_apache2.c:40: /etc/httpd/include/pcreposix.h:41: conflicting types for `REG_BADBR' /usr/include/regex.h:312: previous declaration of `REG_BADBR' /etc/httpd/include/pcreposix.h:42: conflicting types for `REG_BADPAT' /usr/include/regex.h:304: previous declaration of `REG_BADPAT' /etc/httpd/include/pcreposix.h:43: conflicting types for `REG_BADRPT' /usr/include/regex.h:315: previous declaration of `REG_BADRPT' /etc/httpd/include/pcreposix.h:44: conflicting types for `REG_EBRACE' /usr/include/regex.h:311: previous declaration of `REG_EBRACE' /etc/httpd/include/pcreposix.h:45: conflicting types for `REG_EBRACK' /usr/include/regex.h:309: previous declaration of `REG_EBRACK' /etc/httpd/include/pcreposix.h:46: conflicting types for `REG_ECOLLATE' /usr/include/regex.h:305: previous declaration of `REG_ECOLLATE' /etc/httpd/include/pcreposix.h:47: conflicting types for `REG_ECTYPE' /usr/include/regex.h:306: previous declaration of `REG_ECTYPE' /etc/httpd/include/pcreposix.h:48: conflicting types for `REG_EESCAPE' /usr/include/regex.h:307: previous declaration of `REG_EESCAPE' /etc/httpd/include/pcreposix.h:50: conflicting types for `REG_EPAREN' /usr/include/regex.h:310: previous declaration of `REG_EPAREN' /etc/httpd/include/pcreposix.h:51: conflicting types for `REG_ERANGE' /usr/include/regex.h:313: previous declaration of `REG_ERANGE' /etc/httpd/include/pcreposix.h:52: conflicting types for `REG_ESIZE' /usr/include/regex.h:319: previous declaration of `REG_ESIZE' /etc/httpd/include/pcreposix.h:53: conflicting types for `REG_ESPACE' /usr/include/regex.h:314: previous declaration of `REG_ESPACE' /etc/httpd/include/pcreposix.h:54: conflicting types for `REG_ESUBREG' /usr/include/regex.h:308: previous declaration of `REG_ESUBREG' /etc/httpd/include/pcreposix.h:57: conflicting types for `REG_NOMATCH' /usr/include/regex.h:300: previous declaration of `REG_NOMATCH' /etc/httpd/include/pcreposix.h:57: confused by earlier errors, bailing out make: *** [sapi/apache2handler/sapi_apache2.lo] Error 1 Any idea why i get this error, or how i could solve it? Cheers, Mario -- COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test -------------------------------------------------- 1. GMX TopMail - Platz 1 und Testsieger! 2. GMX ProMail - Platz 2 und Preis-Qualitätssieger! 3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php