On Thu, Oct 07, 1999 at 09:11:48AM -0500, Ben Segbawu wrote:
> 
> I tried to install  1.26 and I keep on getting the following error
>  ./configure; make
> creating cache ./config.cache
> checking host system type... hppa1.0-hp-hpux10.20
<snip>
> checking that the compiler works... configure: error: Could not compile and
> run
> even a trivial ANSI C program - check CC.
> Make: No arguments or description file.  Stop.
> 
> I do have c compiler installed if i do a whereis this is what I get
>  whereis cc
> cc: /usr/bin/cc /usr/ccs/bin/cc /opt/ansic/bin/cc
> /opt/ansic/share/man/man1.Z/cc

The default c compiler with HPUX blow goats - it doesn't support ANSI C at all,
it's an extra cost option.  However, it looks like you have an ANSI C compiler
installed on your system, so try something like:

CC=/opt/ansic/bin/cc ./configure ; make

and see if that works.

(or setenv CC /opt/ansic/bin/cc if you're using csh instead of (ba)sh)

J.

Reply via email to