[prev in list] [next in list] [prev in thread] [next in thread] 

List:       secure-shell
Subject:    openssh 2.5.1p1 - compiling problems on Solaris 2.6 x86
From:       "Sec. Acct." <secact () sun ! twlight ! net>
Date:       2001-02-26 22:29:27
[Download RAW message or body]

I have a well patched Solaris 2.6 x86 system with gcc 2.95.2 currently
running OpenSSH 2.3.0p1 and have been using this and prior versions
without issue.  When trying to compile the new 2.5.1p1 I get stopped
at this point:

The ./configure completes without errors.
The make stops with this:

gcc -g -O2 -Wall -I/usr/local/include -I/usr/local/ssl/include 
-I/usr/local/ssl/include -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c getcwd.c
getcwd.c:39: sys/dir.h: No such file or directory
make[1]: *** [getcwd.o] Error 1
make[1]: Leaving directory `/usr/local/vendor/o/openssh-2.5.1p1/openbsd-compat'
make: *** [openbsd-compat/libopenbsd-compat.a] Error 2


unknown# find / -type f -name dir.h -print
/usr/ucbinclude/sys/dir.h
unknown#

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

the /usr/ucbinclude/sys/dir.h is the only dir.h on the system.
I have tried substituting this into the getcwd.c file but this
causes other errors.

Also, I was able to compile 2.5.1p1 on my ultra 2 which has a well 
patched version of the initial release of Solaris 8 also using
gcc 2.95.2.  The only dir.h file it has is the same one my intel
systems has, i.e. /usr/ucbinclude/sys/dir.h .

I did not see anything on this file in the FAQ or in the RELEASE
NOTES.

TIA for any positive replies,

Thanks Jerry

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic