Operating System - HP-UX
1834462 Members
3128 Online
110067 Solutions
New Discussion

Re: Problem with configuration of APACHE in HP UX.

 
Viswanadhan
Regular Advisor

Problem with configuration of APACHE in HP UX.

Hi Admin,

Im unable to configure the apache_1.3.17, when i do the following

#./configure --prefix=/usr/local/apache

Then i got the following error.

======== Error Output for sanity check ========
cd ..; cc -DHPUX11 -Aa -Ae -D_HPUX_SOURCE -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci` -o helpers/dummy helpers/dummy.c -lm -lpthread
(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C product; ignored.
(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C product; ignored.
(Bundled) cc: "helpers/dummy.c", line 3: warning 5: "const" will become a keyword.
(Bundled) cc: "helpers/dummy.c", line 3: error 1000: Unexpected symbol: "char".
(Bundled) cc: "helpers/dummy.c", line 4: warning 5: "const" will become a keyword.
(Bundled) cc: error 2017: Cannot recover from earlier errors, terminating.
*** Error exit code 1

May i know why i got above error messsage ?

Regards,
Viswa.
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: Problem with configuration of APACHE in HP UX.

Shalom Viswa,

You are using an extremely old version of apache, one that HP has dropped support for.

You compile options are trying to use Ansi C which is obviously not installed.

You options are:
1) Get a modern version of apache from http://software.hp.com search for apache or hpws. Install the pre-compiled depot.
2) Install the Ansi C compiler, which last I checked was a pay-for product that runs around $1,000/CPU.


I'm sure there are other options, but I limited myself to the realistic ones.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Viswanadhan
Regular Advisor

Re: Problem with configuration of APACHE in HP UX.

Hi Steven,

It's diffecult to buy ANCI C immediately.

Thanks for help.

Regards,
Viswa.
Viswanadhan
Regular Advisor

Re: Problem with configuration of APACHE in HP UX.

Hi Steven,

Is there any way to install Apache without investing the money immediately ?

Regards,
Viswa.
Steven Schweda
Honored Contributor

Re: Problem with configuration of APACHE in HP UX.

> Is there any way to install Apache without
> investing the money immediately ?

1. Find a binary kit for Apache on HP-UX
(for your version and hardware achitecture).

2. If you really want to compile it from the
sources, I'd assume that GCC could be used.

http://gcc.gnu.org/

Again, you should be able to find an
appropriate binary kit for GCC which you
could install.