SUMMARY: SSH compile problem

From: sean@nmc13.chinalake.navy.mil
Date: Fri Jan 16 1998 - 16:09:32 CST


ORIGINAL QUESTION:

> Dear Friends-
>
> I need your expertise again. I am using SSH now; it's a great program

> which
> compiles and installs easily under Solaris 2.5.1.
>
> But I can't get it installed on Sparcs running 4.1.3. Though my
> compilers are
> working and have been for years, I get this error when I run
> ./configure:
>
> checking that the compiler works... no
> configure: error: Could not compile and run even a trivial ANSI C
> program - check CC.
>
> If you know what's going on, please let me in on the secret. Thanks in

> advance.
>
> Sean

Thanks to all responders. Here is a typical answer, one of many:

Sun OS shipped with a bundled C compiler "cc". When SUN
moved to Solaris 2.x they dropped the bundled compiler
and forced everyone to buy a commercial product. Now the
old SUN OS compiler was NOT an ANSI C compiler which is
the crux of your problem.

Solution is to get the free GNU "gcc" compiler and install
it on the SUN OS box. This IS an ANSI compiler. Naturally
to do this you need to compile "gcc" which means you need
a C compiler.... However you really only need a very dumm
C compiler for this and "cc" on SUN OS will do fine.

Dr Peter Watkins.
+----------------------------------------------+----------------------------+

| Joint Research Centre,
| |
| Institute of Advanced Materials, | Tel:
(+31)-224-565120 |
| Commission of the European Communities, | Fax:
(+31)-224-561251 |
| P.O. Box 2, | Email:
peter@jrc.nl |
| 1755 ZG Petten, | http:
??? |
| The Netherlands.
| |
+----------------------------------------------+----------------------------+

Thanks also to:

Michael T Pins
Richard Dodds
Chad L. Cook
Bob Hoffman
Nick Ayoub
David Wolfskill
Birger A. Wathne

--
\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_

Sean Harvey OAO Corp sean@nmc13.chinalake.navy.mil Ridgecrest CA (619)939-2199

Affluenza: The virus of overconsumption. Symtoms include not realizing one has enough and the continual persuit of more.

\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:29 CDT