Operating System - HP-UX
1756273 Members
2742 Online
108843 Solutions
New Discussion юеВ

Apache installation problem

 
karthiknarayan
Advisor

Apache installation problem

Iam installing apache 2.39 in a 10.20 machine.During installation

After i finish ./configure and run
make it fails saying that
*******Error code 1

Can u Help me please
In Love with Life
6 REPLIES 6
Steve Steel
Honored Contributor

Re: Apache installation problem

Hi

error code 1 means if failed

Are there messages before that


steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
D. Jackson_1
Honored Contributor

Re: Apache installation problem

I think you need a gcc or asci/c compiler I had the same issues and this helped get done what I needed.. I used gcc.

HTH
benoit Bruckert
Honored Contributor

Re: Apache installation problem

Common kind of error...
What are all the messages aboves ??
As previously said, what kind of compiler do you use ? (gcc or cc K&R from HP ??) gcc is much more better to make it work.
if configure is OK, compiler is probably ok !!! But with all the messages, it should be better.
The output of the ./configure could be also helpful..
More questions than answers...
hope that help
Benoit
Une application mal pans├йe aboutit ├а une usine ├а gaze (GHG)
Mike Hassell
Respected Contributor

Re: Apache installation problem

Karthiknarayan,

Without the additional error messages from the 'configure' script, I would assume that this problem is related to your C compiler. You'll want to use the GNU C compiler, referred to as 'gcc'. Unforunately I don't have a link to give you for a precompiled version of 'gcc' for HP-UX 10.20 as they have removed it from the porting archive. In addition to 'gcc' you'll want to use 'gmake' or GNU Make, which is an alternate make binary. These two should enable you to successfully compile Apache. Here is where you can download these programs:

GCC:

http://gcc.gnu.org

GNU Make:

http://hpux.connect.org.uk/hppd/hpux/Gnu/make-3.79.1/

After you have installed these two binaries, be sure to include them in your PATH so the Apache 'configure' script can easily locate them:

export PATH=%PATH%:/opt/gcc/bin:/opt/gmake/bin

Optionally you can just download the precompiled version of Apache 2.0.35 from the porting and archive center:

http://hpux.connect.org.uk/hppd/hpux/Networking/WWW/apache2-2.0.35/

I currently stick with the 1.3 tree:

http://hpux.connect.org.uk/hppd/hpux/Networking/WWW/apache-1.3.26/

Of course this all depends on what your needs are at compile time.

Hope that helps.

-Mike
The network is the computer, yeah I stole it from Sun, so what?
Arockia Jegan
Trusted Contributor

Re: Apache installation problem

Hi,

Do you have compiler CC in your system? If you don't have CC but you have gcc on your system make sure the Makefile under the apache source dir has the following entry,

CC= gcc

Make sure the path for gcc is setup.

The output of ./Configure command will help you to find out where you are having problem.

Can you post the output of ./Configure command.
Mike Hassell
Respected Contributor

Re: Apache installation problem

Karthiknarayan,

I noticed that you are 0 for 24 in assigning points to your replies. I just wanted to mention that you may wish to take a few minutes to assign points to responses that have helped you solve your problems. This will help you build a better rapport with users in the forum and also give top forum members an incentive to answer your questions more thoroughly.

Don't mean to whine, just a suggestion.

Thanks,
Mike
The network is the computer, yeah I stole it from Sun, so what?