Can someone explain why we need this fix on Solaris 2.6? -- | Damien Miller <djm at mindrot.org> \ ``E-mail attachments are the poor man's | http://www.mindrot.org / distributed filesystem'' - Dan Geer ---------- Forwarded message ---------- Date: Tue, 6 Mar 2001 10:05:56 -0600 (CST) From: Sec. Acct. <secact at sun.twlight.net> To: ssh at clinet.fi Subject: [SUMMARY] compiling problems on Solaris 2.6 x86 Hello, I just wanted to post this fix action as Mailed to me from Juergen Georgi as I received many off-line post of "did you figure it out" and "please email me if this is fixed". As it turns out (see example below) that a simple ln -s resolves the problem. Thank you Juergen. Jerry> >On Mon 2001-03-05 (10:29), Sec. Acct. wrote: >> Hello all, >> >> As p2 has been released, I pulled down the source for it but am encountering >> the same problems that I did under 2.5.1p1. Currently, I am still using >> 2.3.0 without issues. >> [...] >> >> 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 > >cd openbsd-compat >ln -s ../config.h > >-Juergen
Hi all, I've just compiled 2.5.1p2 on x86 Solaris 8 and I did not get this error. Has this person tried with the latest version? - Brian
Michael Herrmann
2001-Mar-11 09:47 UTC
[SUMMARY] compiling problems on Solaris 2.6 x86 (fwd)
On Sun, Mar 11, 2001 at 06:33:13PM +1100, Damien Miller wrote:> Can someone explain why we need this fix on Solaris 2.6?2.5.1p2 on Solaris 2.6/sparc works for me without any patch. Michael
mouring at etoh.eviladmin.org
2001-Mar-11 19:37 UTC
[SUMMARY] compiling problems on Solaris 2.6 x86 (fwd)
On Sun, 11 Mar 2001, Damien Miller wrote:> Can someone explain why we need this fix on Solaris 2.6? >The heart of the issue is the fact he has a /usr/local/include/config.h Maybe we should resolve it by doing the following: CPPFLAGS=@CPPFLAGS@ -I. -I$(srcdir)/openbsd-compat -I$(srcdir) $(PATHS) @DEFS@ to CPPFLAGS=-I. -I$(srcdir) @CPPFLAGS@ -I$(srcdir)/openbsd-compat $(PATHS) @DEFS@ That would ensure that our directories are given priority over what the user requests. - Ben