At the moment compile of httpd 2.4.25 stops very early with :

"/usr/local/include/apr-1/apr.h", line 614: #error: no decision has been made on APR_PATH_MAX for your platform

So perhaps a quick define here would work.

[ self reply ]

Really we should get from limits.h :


   99   #ifdef _XPG6
   100  #define _POSIX_NGROUPS_MAX          8
   101  #define _POSIX_OPEN_MAX            20
   102  #define _POSIX_PATH_MAX           256
   103  #else
   104  #define _POSIX_NGROUPS_MAX          0
   105  #define _POSIX_OPEN_MAX            16
   106  #define _POSIX_PATH_MAX           255
   107  #endif

Since this is certainly in POSIX.1-2001 and SUSv3 land here I would think APR_PATH_MAX should be _POSIX_PATH_MAX at 256.


dc

Reply via email to