LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-15-2008, 07:56 PM   #1
uplinux
LQ Newbie
 
Registered: Aug 2006
Posts: 1

Rep: Reputation: 0
apache installed when APR_PATH_MAX


any idea?

os: centos 5.2 64bit

Making all in srclib
make[1]: Entering directory `/usr/local/directadmin/custombuild/httpd-2.2.11/srclib'
Making all in apr
make[2]: Entering directory `/usr/local/directadmin/custombuild/httpd-2.2.11/srclib/apr'
make[3]: Entering directory `/usr/local/directadmin/custombuild/httpd-2.2.11/srclib/apr'
/bin/sh /usr/local/directadmin/custombuild/httpd-2.2.11/srclib/apr/libtool --silent --mode=compile /opt/intel/cce/10.1.021/bin/icc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I./include -I/usr/local/directadmin/custombuild/httpd-2.2.11/srclib/apr/include/arch/unix -I./include/arch/unix -I/usr/local/directadmin/custombuild/httpd-2.2.11/srclib/apr/include/arch/unix -I/usr/local/directadmin/custombuild/httpd-2.2.11/srclib/apr/include -o passwd/apr_getpass.lo -c passwd/apr_getpass.c && touch passwd/apr_getpass.lo
./include/apr.h(488): catastrophic error: #error directive: no decision has been made on APR_PATH_MAX for your platform
#error no decision has been made on APR_PATH_MAX for your platform
^

compilation aborted for passwd/apr_getpass.c (code 4)
make[3]: *** [passwd/apr_getpass.lo] Error 1
make[3]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.2.11/srclib/apr'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.2.11/srclib/apr'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.2.11/srclib'
make: *** [all-recursive] Error 1
 
Old 12-17-2008, 07:10 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,209
Blog Entries: 1

Rep: Reputation: 2064Reputation: 2064Reputation: 2064Reputation: 2064Reputation: 2064Reputation: 2064Reputation: 2064Reputation: 2064Reputation: 2064Reputation: 2064Reputation: 2064
You can follow this guy's post and add
Code:
#if !defined(PATH_MAX)
#define PATH_MAX 4096
#endif
just before the APR_PATH_MAX definition in apr.h, i.e. before the lines
Quote:
#if defined(PATH_MAX)
#define APR_PATH_MAX PATH_MAX
...
Just check your PATH_MAX in limits.h to see if it's actually 4096 and don't forget to make a backup of apr.h before editing.

Regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to enable Apache mod_rewrite, after apache installed without this modue jCash Linux - Newbie 1 10-24-2006 11:23 AM
Where is Apache Installed? bigoxygen Linux - Software 2 04-14-2005 12:51 PM
Apache installed, now what? stlshawn Slackware 2 12-25-2004 10:50 PM
How do I check if Apache is installed? jmg1894 Linux - Newbie 4 07-15-2004 03:23 PM
Has anyone installed mdk10's apache? Rotwang Mandriva 2 04-27-2004 06:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration