Wow, sounds like you're missing some very fundamental header files. No
wonder your compiler is being weird. Under Solaris 2.6, the package
SUNWhea contains those headers. It's likely the same in Solaris 2.7. Make
sure that package is installed, try that test program again, and give SSH
another try.

--
Gregor Mosheh
[EMAIL PROTECTED]
Systems Admin, Humboldt Internet
707.825.4638


On Mon, 24 Jul 2000, Fabio Baldassarre wrote:

> I execute your "hello.c" file:
> gcc -o hello hello.c
> The reply is: hello.c:1: stdio.h: No such file or directory
> I'm looking for this file in my libraries but now I don't find it.
> -----Original Message-----
> From: Gregor Mosheh [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 21, 2000 6:33 PM
> To: Fabio Baldassarre
> Subject: RE: configure doesn't work
> 
> 
> 
> Can you compile any programs at all? Can you compile this small test
> program here?
> 
> 
> #include "stdio.h"
> main() {
>    printf("Hello World!\n");
> }
> 
> 
> Put those 4 lines into a file named hello.c, then do "gcc -o hello
> hello.c" and then try running the hello program it creates. If this
> doesn't work, then there's a basic problem with your compiler system.
> 
> --
> Gregor Mosheh
> [EMAIL PROTECTED]
> Systems Admin, Humboldt Internet
> 707.825.4638
> 
> 
> On Fri, 21 Jul 2000, Fabio Baldassarre wrote:
> 
> > I have Solaris 2.7 configuration "end User" on Sparc
> > I have installed "pkg -d  gcc-2.95.2-sol7-sparc-local" and
> > tar -xvf ssh-1.2.30.tar
> > and after "configure" doesn't work
> >
> > Best regards
> > -----Original Message-----
> > From: Gregor Mosheh [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, July 21, 2000 2:19 AM
> > To: Fabio Baldassarre
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: configure don't works
> >
> >
> >
> > I got this problem on some of my systems when I first inherited them. The
> > sysadmin had copied the gcc binary over, but hadn't bothered to install
> > the whole gcc package. Are you sure the gcc works for other programs? Are
> > you sure that the gcc package was installed properly?
> >
> > --
> > Gregor Mosheh
> > [EMAIL PROTECTED]
> > Systems Admin, Humboldt Internet
> > 707.825.4638
> >
> >
> > On Thu, 20 Jul 2000, Fabio Baldassarre wrote:
> >
> > > When I execute ./configure I receve this message:
> > > loading cache ./config.cache
> > > checking host system type... sparc-sun-solaris2.7
> > > checking cached information... ok
> > > checking for gcc... gcc
> > > checking whether the C compiler (gcc  ) works... no
> > > configure: error: installation or configuration problem: C compiler
> cannot
> > > create executables.
> > > Why?
> > > ____________________________________________
> > > Ing. Baldassarre Fabio
> > > Internet security consultant
> > >
> > > ICT Consulting, Via Vittor Pisani 22, 20124 Milan, Italy
> > > phone: +39 02 67642260
> > > mobile: +39 335 7505654
> > >
> > >
> > >
> >
> >
> >
> 
> 
> 
> 

Reply via email to