Operating System - HP-UX
1834662 Members
2448 Online
110069 Solutions
New Discussion

Unable to Compile Jserv on HP-UX 11i

 
Lakshman Kumar K
New Member

Unable to Compile Jserv on HP-UX 11i

Hi,
Iam trying to compile ApacheJserv on HP-UX.

These are the last 3 lines when i run the configure script from ApacheJserv.

checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.

But i have gcc installed on this server and am able to compile and install apache successfully.

My server Configuration is: rp2470 with HP-UX11i.

Iam attaching the config.log file for further information.

Please helpme out in Installin Jserv with Apache on HP-UX11i.

Thanks in Advance

Lakshman Kumar K
Triniti.
2 REPLIES 2
Zygmunt Krawczyk
Honored Contributor

Re: Unable to Compile Jserv on HP-UX 11i

Hi,

I suggest to use the HP-UX Web Server Suite

http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXWSSUITE

instead of compiling the source.

Regards,
Zygmunt
Pratyush Paul_1
Valued Contributor

Re: Unable to Compile Jserv on HP-UX 11i

Lakshman -

This is what probably you need to do.

#CC=/usr/local/bin/gcc ./configure

Point it where your gcc is, Just to make sure you use gcc as your compiler. Otherwise it is going to install with the generic C compilers which is no good.

Hope this helps.

Opensource is the way to go.

Thanks

Pratyush
Die Hard