Author Topic: Compiling Apache  (Read 1016 times)

zog

  • Newbie
  • *
  • Posts: 4
    • View Profile
Compiling Apache
« 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?
C860, 256MB SD Card, and hopeful to use a Trendnet CF card, oneday.
Running on Cacko 1.21b

jcabrer

  • Full Member
  • ***
  • Posts: 161
    • View Profile
Compiling Apache
« Reply #1 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.
Sharp SL-C3100 - pdaXrom Beta 3
Sharp SL-6000L - pdaXrom Beta 1

ThirtyOne

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
Compiling Apache
« Reply #2 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?