OpenSSH 2.5.1p1 won't compile on Solaris 8 x86 (fwd)

Brian Hamon brhamon at cisco.com
Fri Mar 9 03:20:44 EST 2001


sys/dir.h is normally found in the /usr/include directory. The file bears a 
GNU license, so it is likely part of the gcc environment. If you are 
missing this file, you might have gcc installed improperly. I've 
successfully built OpenSSH-2.5.1p2 on Solaris8 x86 with Forte Workshop 6.0 
("cc"). Those boxes do not have "sys/dir.h".

At 08:58 AM 3/8/2001, mouring at etoh.eviladmin.org wrote:

> >---------- Forwarded message ----------
> >Date: Thu, 8 Mar 2001 09:39:19 +0100 (MET)
> >From: Martijn de Munnik <M.H.M.deMunnik at phys.uu.nl>
> >To: openssh at openssh.com
> >Subject: OpenSSH 2.5.1p1 won't compile on Solaris 8 x86
> >
> >The error I get when I run make
> >
> >gcc -g -O2 -Wall -I/usr/local/include -I/opt/include -I/opt/include -I.
> >-I.. -I. -I./.. -DHAVE_CONFIG_H -c getcwd.c
> >getcwd.c:39: sys/dir.h: No such file or directory
> >*** Error code 1
> >make: Fatal error: Command failed for target `getcwd.o'
> >Current working directory
> >/export/home/munnik/openssh-2.5.1p1/openbsd-compat
> >*** Error code 1
> >make: Fatal error: Command failed for target
> >`openbsd-compat/libopenbsd-compat.a'
>
>
>Can you check to see if you have a manpage for 'getcwd' for Solaris 8?  I
>have one for Solaris 7.  I can't see them throwing out a standard C
>function.
>
>
>You should be using 2.5.1p2.  2.5.1p1 has a few known issues with Solaris.
>
>
>Thanks.
>
>- Ben






More information about the openssh-unix-dev mailing list