SUMMARY: Php Compile Errors

From: J Springer <js_at_jspringer.net>
Date: Thu, 08 Jan 2009 12:11:01 -0600

Thanks to Rick Beebe for inquiring as to whether there was a "typedef int BOOL;"
in pcre_internal.h (there was and was the first thing I had checked).

I had to remove the line immediately above that typedef (it compiled using
Tru64's cc):

      #ifndef FALSE



--------------Original Post--------------

Tru64 5.1B, PK6, Php 5.2.8

I am hitting a lot of errors similar to:

cc: Error: /usr/users/install/php-5.2.8/ext/pcre/pcrelib/pcre_internal.h, line
1143: In this declaration, "BOOL" appears to be used as if it named a type, but
there is no declared type of that name visible. (typedefnotdef)
extern BOOL _pcre_was_newline(const uschar *, int, const uschar *,
-------^
cc: Error: /usr/users/install/php-5.2.8/ext/pcre/pcrelib/pcre_internal.h, line
1145: In this declaration, "BOOL" appears to be used as if it named a type, but
there is no declared type of that name visible. (typedefnotdef)
extern BOOL _pcre_xclass(int, const uschar *);

Because this machine only has 1G of memory, I am unable to compile gcc from
source but downloaded the GnuPro toolkit from HP but am still getting the same
errors even with configure including the header files for gcc (that were provided).

Any pointers would be greatly appreciated -- we need php and the module for apache.
Received on Thu Jan 08 2009 - 18:12:35 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:45 NZDT