OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: zog on August 30, 2005, 08:03:58 am

Title: Compiling Apache
Post by: zog on August 30, 2005, 08:03:58 am
I tried compiling Apache 2.0.54 with the native SDK and this error appears:

In file included from apr_cpystrn.c:17:
../include/apr.h:393:2: #error no decision has been made on APR_PATH_MAX for your platform


I ran configure thus:

Code: [Select]

 ./configure --enable-so

but apart from that everything is vanilla.

Needless to say, APR_PATH_MAX should be set to a constant in limits.h by configure. limits.h exists and configure seems to be able to find it.

Something really simple is missing here, but I can't figure what it is.

Anyone got any ideas?
Title: Compiling Apache
Post by: jcabrer on August 30, 2005, 02:30:21 pm
From what I have found, determining what the value for APR_PATH_MAX is is very difficult to follow as there are all kinds of checks that need to be done.  Try a slightly older version to see if the problem still exists.  I would not recommend forcing this to work since it has to do with guarding against buffer overflows.
Title: Compiling Apache
Post by: ThirtyOne on August 30, 2005, 03:04:17 pm
Just curious - who cares about buffer overflows on their Z?  I wouldn't think you would use it for a public website.  I don't think security would be an issue.

Maybe stability would be a problem?