1832920 Members
3066 Online
110048 Solutions
New Discussion

make of httpd-2.0.48

 
SOLVED
Go to solution
Yogeeraj_1
Honored Contributor

make of httpd-2.0.48

dear experts,

please give me your insights about this problem.

We are trying to "make" our httpd-2.0.48 on our L1000 (HP-UX 11.0 64-bits) and are getting the following error message:
=============================================
/usr/local/lib/libexpat.sl: file not recognized: File format not recognized
collect2: ld returned 1 exit status
=============================================
The command used for the "configure" process was:
./configure --prefix=/usr/local/apache --enable-module=so CFLAGS='-D_HPUX_SOURCE
-fno-strict-aliasing'

attached a longer extract of the output of the make.

thank you in advance for your replies.

best regards
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
1 REPLY 1
Colin Topliss
Esteemed Contributor
Solution

Re: make of httpd-2.0.48

Couldn't see your attachment from here, but I'll try and help anyway.

Is this source downloaded from Apache themselves? I recently downloaded source from their site and successfully compiled using GCC as noted below. If you got source from the HP Porting centre then we could have other issues.

First thing is to look at your compiler. I had a lot of trouble until I upgraded to the latest version of GCC (3), binutils, and GNU make.

Set your path so that you can locate all of the gcc and binutil binaries, and GNU make is the one top of your search list (so assuming its in /usr/local/bin):

PATH=:/usr/local/bin:$PATH:/opt/gcc_2/bin:/opt/binutils/bin

Then do:
make clean
then your configure, followed by 'make'.

If you are using HP's ANSI C Compiler, then:
1) Patch it to the hilt. ANY patches related to shared libraries, linkers, and compiler should be applied.
2) Ensure that the Makefile entry points to the ANSI C Compiler:
CC=cc

Do the 'make clean', then re-run configure, and then 'make'.

Unfortunately its usually a pain to compile stuff under HP. Apache is one of the better applications to compile.