Operating System - HP-UX
1834931 Members
2503 Online
110071 Solutions
New Discussion

Re: Unable to install Apache 1.3.17 ver

 
Viswanadhan
Regular Advisor

Unable to install Apache 1.3.17 ver

Hi All,

I tried to install old Apache_1.3.17 ver, i got following error. Please guide me.

** 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.

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

Stop.
======== Error Output for sanity check ========
============= End of Error Report =============

Regards,
Viswa.
9 REPLIES 9
Torsten.
Acclaimed Contributor

Re: Unable to install Apache 1.3.17 ver

This version is released in early 2001 - why do you want this version?

For current OS versions you should go to http://software.hp.com and look for apache.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Torsten.
Acclaimed Contributor

Re: Unable to install Apache 1.3.17 ver

Are you running hp-ux 11.00?

Look here:

http://archive.apache.org/dist/httpd/binaries/hpux/

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Viswanadhan
Regular Advisor

Re: Unable to install Apache 1.3.17 ver

Hi Torsten,

I want to use only tar file, because only space problem a for OS filesystems.

Even new ver of apache 2.2.6 i got same error.

Regards,
Viswa.
Torsten.
Acclaimed Contributor

Re: Unable to install Apache 1.3.17 ver

What kind of error?

The files below the given link are gzip'ed binaries - no need to compile.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Viswanadhan
Regular Advisor

Re: Unable to install Apache 1.3.17 ver

Hi All,

Yes im using HP UX 11.0 with 32bit.

I tried to install old Apache_1.3.17 ver, i got following error. Please guide me.

** 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.

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

Stop.
======== Error Output for sanity check ========
============= End of Error Report =============

Regards,
Viswa.
Torsten.
Acclaimed Contributor

Re: Unable to install Apache 1.3.17 ver

You need a "real" compiler or download a ready-to-use binary of apache - or simply use a **supported** version of HP-UX.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Viswanadhan
Regular Advisor

Re: Unable to install Apache 1.3.17 ver

Hi Torsten,

Just now i was installed gcc-2.95.3-11.00.sd at /opt/gcc directory, while installation i did not get any error msg.

Here i have mention gcc path at .profile file ?

In .profile file i mentioned as /opt/gcc -- is it correct or anything else ?

After that i tried to install apache 1.3.17 or latest ver.I got previous error msg.

Regards,
Viswa.
Torsten.
Acclaimed Contributor

Re: Unable to install Apache 1.3.17 ver

"cc" is not "gcc".
Check with

# whence cc

You probably need to adjust the configuration in the apache source (config).

Also read my post in your other thread:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1173152



And finally, read this:

http://forums1.itrc.hp.com/service/forums/helptips.do?#33

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Luis Cardenas Perez
Valued Contributor

Re: Unable to install Apache 1.3.17 ver

Hello Viswa,

Why don't you try any of these distributions, they are binaries.

http://archive.apache.org/dist/httpd/binaries/hpux/old/

Use install-bindist.sh

Hope it helps,

Luis