Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

error while compiling apache

Status
Not open for further replies.

alabissiere

Technical User
Apr 14, 2005
16
CA
Hi everyone,
powerpc-ibm-aix4.3.3.0: I am trying to install apache-1.3.33 and I am getting the following error:

+ doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed. The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.

======== Error Output for sanity check ========
cd ..; gcc -DAIX=433 -U__STR__ -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE
_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci` -lm -lpthread -o helpers/d
ummy helpers/dummy.c
============= End of Error Report =============


Does anyone know how to solve this problem?

THX

 
the command I used is ./configure --prefix=/usr/local/lib/apache
 
Why are you installing apache into the libs directory? That may be causing a conflict since apache itself will want to install libs there and it might be getting circular.

Try /usr/local/apache instead for your prefix. its a long show but its a shot :)

 
You are right! there was no /lib in my command. So it must be something else... You can give me some ideas...
THX
 
No man, read what I wrote. You are using

Code:
./configure --prefix=/usr/local/lib/apache

why are you installing apache into a LIBRARY DIRECTORY? You have to understand that this is not a place for apps.

Run it like this

Code:
./configure --prefix=/usr/local/apache

and it may give you a different result.
 
That is the command I used. Like I told u, in my first reply to u, I put a /lib but there wasn't any.
Anayway, this is not working neither. I downloaded a version from bullfreeware.com that I installed using smit install_latest, but when I tried to start the server, I got the following error and I don't know what that means:

exec(): 0509-036 Cannot load program ./usr/local/apache2/bin/httpd because of th
e following errors:
0509-130 Symbol resolution failed for /usr/local/apache2/lib/libapr.so b
ecause:
0509-136 Symbol isinf (number 121) is not exported from
dependent module /usr/lib/libc.a(shr.o).
0509-192 Examine .loader section symbols with the
'dump -Tv' command.
A
 
Try compiling apache 2.0 See if that works for you.

So far you have tried compiling 1.3.x and you have tried a binary installation.

Try downloading the latest 2.0 (not 2.1) and executing this

Code:
./configure --prefix=/usr/local/apache2
 
alabissiere,

There are also precompiled binaries for AIX available on the download mirrors, but they appear to be only 1.x.

This might be another option if you have no luck with compiling Apache 2.x.

Wishdiak
A+, Network+, Security+, MCSA: Security 2003
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top