Solaris 2.6, and AFS

David R Boldt dboldt at usgs.gov
Wed Oct 10 03:53:50 EST 2001


With the help of Jan Iven I have been able to compile openssh-2.9.9p2
on Solaris 2.6 with AFS/kerb4 support using gcc.

./configure --sysconfdir=/etc/ssh --with-tcp-wrappers \
            --with-egd-pool=/var/run/egd-pool \
          --with-kerberos4=/usr/athena --with-afs=/usr/afsws


to do this I modified the resulting Makefile,

from:
CPPFLAGS=-I. -I$(srcdir) -I/usr/local/ssl/include  -I/usr/local/include
-I/usr/athena/include -I/usr/afsws/include $(PATHS) -DHAVE_CONFIG_H

to:
CPPFLAGS=-I. -I$(srcdir) -I/usr/local/ssl/include  -I/usr/athena/include
-I/usr/afsws/include $(PATHS) -DHAVE_CONFIG_H


removed  include <crypt.h>   from file auth-passwd.c


and changed the build

from:
 -L. -Lopenbsd-compat/ -R/usr/local/ssl/lib -L/usr/local/ssl/lib
-L/usr/local/lib -R/usr/local/lib -L/usr/athena/lib -R/usr/athena/lib
-L/usr/afsws/lib -lssh -lopenbsd-compat -lkafs -lresolv -ldes -lkrb -lwrap
-lz -lsocket -lnsl  -lgen -lcrypto -ldes

to:
 -L. -Lopenbsd-compat/ -R/usr/local/ssl/lib -L/usr/local/ssl/lib
-R/usr/local/lib -L/usr/athena/lib -R/usr/athena/lib -L/usr/afsws/lib -lssh
-lopenbsd-compat -lkafs -lresolv -lkrb -lpam -ldl -lwrap -lz -lsocket -lnsl
-lgen -lcrypto


I am not on the mailing list.

                                          -- David Boldt
                                             <dboldt at usgs.gov>





More information about the openssh-unix-dev mailing list