On Thursday 20 June 2013 09:22 PM, Rainer Jung wrote:
> 1.8.0 calls gcc with -std=c90. For my Solaris 10 Sparc using gcc 4.7.2
> this leads to "_STRICT_STDC" getting defined and then limits.h no longer
> defines PATH_MAX. So apr.h bombs out during compile with:
> 
> #error no decision has been made on APR_PATH_MAX for your platform
> 

I had the same problem in Solaris SPARC with gcc 3.4.6, which I fixed
with "-DPATH_MAX=1024".

> Adding e.g. "EXTRA_CPPFLAGS = -D__EXTENSIONS__" fixes on my platform.
> 
"-D__EXTENSIONS__" was my initial workaround, but this tends to fails
later while compiling bindings (IIRC).
-- 
Alexander Thomas (AT) <alexan...@collab.net>
CollabNet   <>   www.collab.net   <>   Enterprise Cloud Development

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to