SUMMARY: Php Compile Errors

J Springer <[email protected]> Thu, 08 Jan 2009 12:11:01 -0600
Newsgroups gmane.os.tru64.managers
Message-ID <[email protected]>
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.