public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Compile Problems on HP relating to Apache Web
@ 2000-01-28  9:24 pat combs
  2000-01-30 16:38 ` Alexandre Oliva
  0 siblings, 1 reply; 2+ messages in thread
From: pat combs @ 2000-01-28  9:24 UTC (permalink / raw)
  To: gcc

To Whom it May Concern,

I am receiving the following errors when I try to configure Apache 1.3.9
on HPUX 10.20, 32-bit.

# ./configure --prefix=/usr/local/apache
Configuring for Apache, Version 1.3.9
 + using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
 + configured for HP-UX 10 platform
 + setting C compiler to cc
 + setting C pre-processor to cc -E
 + checking for system header files
 + adding selected modules
 + checking sizeof various data types
 + doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed. This is most likely because your C compiler
** is not ANSI. Apache requires an ANSI C Compiler, such
** as gcc. The above error message from your compiler
** will also provide a clue.
 Aborting!

I am assuming that the gcc compiler that I downloaded is an ANSI C
Compiler.

I downloaded it from the following page:

http://hpux.cae.wisc.edu/hppd/hpux/Gnu/gcc-2.95.2/

I have installed gcc for 10.20 from the package and it is located under
/opt/gcc

I have also set the my PATH to reflect location of gcc.

Any assistance would be appreciated.

Thanks

Have a good day.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Compile Problems on HP relating to Apache Web
  2000-01-28  9:24 Compile Problems on HP relating to Apache Web pat combs
@ 2000-01-30 16:38 ` Alexandre Oliva
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Oliva @ 2000-01-30 16:38 UTC (permalink / raw)
  To: pat combs; +Cc: gcc

On Jan 28, 2000, pat combs <pcombs@us.oracle.com> wrote:

>  + setting C compiler to cc

> I am assuming that the gcc compiler that I downloaded is an ANSI C
> Compiler.

GCC is, but cc isn't.  You must tell `configure' to use gcc as the C
compiler.  This can usually be accomplished by adding the directory
containing the `gcc' program to the PATH, but it may also involve
setting some environment variable, such as `CC', to the name of the
compiler to be used.  You'd have to check the documentation of the
package you're trying to build to make sure.


-- 
Alexandre Oliva http://www.ic.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{lsd.ic.unicamp.br,guarana.{org,com}} aoliva@{acm,computer}.org
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-01-30 16:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-28  9:24 Compile Problems on HP relating to Apache Web pat combs
2000-01-30 16:38 ` Alexandre Oliva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).