At 11:31 18-11-1999 -0500, David Thompson wrote:
>I'm trying to configure ssh for the first time on HP-UX 10.20, but I get
an error:
>
>107 > setenv CFLAGS '-Aa'
>108 > uname -srvm
>HP-UX B.10.20 A 9000/889
>109 > ./configure
>loading cache ./config.cache
>checking host system type... hppa1.1-hp-hpux10.20
>checking cached information... ok
>checking for gcc... no
>checking for cc... cc
>checking whether the C compiler (cc -Aa ) works... yes
>checking whether the C compiler (cc -Aa ) is a cross-compiler... no
>checking whether we are using GNU C... no
>checking for POSIXized ISC... no
>checking for HPUX tcb auth option... no
>checking for keyserv... yes
>checking that the compiler works... no
>configure: error: Could not compile and run even a trivial ANSI C program
- check CC.
>
>I searched the archives, and I found one other reference to this problem.
In that post from 1995, it said to "setenv CFLAGS '-Aa'". However, this
doesn't help. Can anyone lend a hand here?
HP-UX 10.20's default C compiler is not ANSI C, you'll need to find a site
with HPUX binaries to get a pre-compiled GCC. Note that you'll need to get
a new assembler (gas) too. I think that it comes with GNU bintools, you'll
have to get a pre-compiled package too.
I did this once but I had help from HP in order to locate a site with the
needed "depots" (that's a package in HP language). I'm afraid that I don't
have the URL anymore... But, I did a quick search and located gcc-2.95.2 in
http://hpux.csc.liv.ac.uk (do a search by gcc), I'm not sure if you still
need bintools with this package. Addicionally good pointers for HP-UX bins
can be found in http://sunsite.doc.ic.ac.uk/packages/zip/unzip.html (yes,
in the INFO-ZIP page).
GCC and GNU Bin-tools are the bare bones, I'm not an HPUX expert, but my
fealing about it is that you need to get a lot of GNU software before it
starts working like a normal UNIX.
--
Ant�nio Vasconcelos - Senior Network Management Support
CONVEX - Inform�tica e Sistemas de Comunica��es Portugal, Lda
T: +351-21-422-9200 F: +351-21-421-3787 W: http://www.convex.pt