Package: php4
Severity: serious
Justification: no longer builds from source
A dpkg-buildpackage failed with the following message :
In file included from /usr/include/apache2/util_filter.h:23,
from
/usr/local/src/php-mnogo/php4-4.3.10/sapi/apache2handler/mod_php4.c:40:
/usr/include/apache2/httpd.h:1506: error: syntax error before '*' token
/usr/include/apache2/httpd.h:1507: warning: type defaults to `int' in
declaration of `ap_pregcomp'
/usr/include/apache2/httpd.h:1507: warning: data definition has no type or
storage class
/usr/include/apache2/httpd.h:1514: error: syntax error before "ap_regex_t"
/usr/include/apache2/httpd.h:1528: error: syntax error before '*' token
/usr/include/apache2/httpd.h:1538: warning: type defaults to `int' in
declaration of `ap_regex_t'
/usr/include/apache2/httpd.h:1538: error: syntax error before '*' token
/usr/include/apache3/httpd.h:1553: error: syntax error before "ap_regmatch_t"
The bug is related to the use in php4 of _PCREPOSIX_H in the file
main/php_regex.h which prevent the evaluation of
/usr/include/apache2/pcreposix.h. This cause the parsing of httpd.h to
failed.
I've modify pcreposix.h to evaluate the necessary structure, but this is
"ugly" :
--- /usr/include/apache2/pcreposix.h 2005-02-08 23:34:37.000000000 +0100
+++ pcreposix.h 2005-02-10 18:05:23.262828888 +0100
@@ -56,6 +56,11 @@
REG_NOMATCH /* match failed */
};
+#endif /* End of pcreposix.h */
+
+
+#ifndef _STRUCT_PCREPOSIX_H
+#define _STRUCT_PCREPOSIX_H
/* The structure representing a compiled regular expression. */
@@ -85,4 +90,4 @@
} /* extern "C" */
#endif
-#endif /* End of pcreposix.h */
+#endif /* End struct_pcreposix.h */
-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.10
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]