|
From: | John W. Warner |
Subject: | CVS+GSSAPI (Kerb5) |
Date: | Thu, 20 Sep 2001 17:44:49 -0400 |
In trying to build CVS with GSSAPI (Kerberos 5) support I am
running into a problem where the ./configure step
cannot find the acx_gssapi_cv_gss_c_nt_hostbased_service.
Does anyone know what I need to do to get past this? Here’s a dump of my ./configure
and the error I get when I try to make. I am using ./configure –cache-file=cvs.build –prefix=/usr –enable-client
–enable-server – enable-encryption – with-gssapi –without-krb4 creating
cache cvs.build checking
for a BSD compatible install... ./install-sh -c checking
whether build environment is sane... yes checking
for gawk... no checking
for mawk... no checking
for nawk... nawk checking
whether make sets ${MAKE}... yes checking
for gcc... gcc checking
whether the C compiler (gcc )
works... yes checking
whether the C compiler (gcc ) is a
cross-compiler... yes checking
whether we are using GNU C... yes checking
whether gcc accepts -g... yes checking
for style of include used by make... GNU checking
dependency style of gcc... gcc checking
whether gcc and cc understand -c and -o together... yes checking
how to run the C preprocessor... gcc -E checking
for AIX... no checking
for minix/config.h... no checking
for POSIXized ISC... no checking
for ranlib... ranlib checking
for bison... no checking
for byacc... no checking
whether ln -s works... yes checking
for Cygwin environment... no checking
for mingw32 environment... no checking
for executable suffix... no checking
for perl... /usr/bin/perl checking
for csh... /usr/bin/csh checking
for pr... /usr/bin/pr checking
for groff... no checking
for roff... no checking
for ps2pdf... /home/root/projects/cvs/ccvs/missing ps2pdf checking
for texi2dvi... /home/root/projects/cvs/ccvs/missing texi2dvi checking
whether #! works in shell scripts... yes checking
for BSD VPATH bug in make... no checking
for dirent.h that defines DIR... yes checking
for opendir in -ldir... no checking
for ANSI C header files... yes checking
for sys/wait.h that is POSIX.1 compatible... yes checking
for errno.h... yes checking
for direct.h... no checking
for fcntl.h... yes checking
for io.h... no checking
for limits.h... yes checking
for memory.h... yes checking
for ndbm.h... yes checking
for string.h... yes checking
for syslog.h... yes checking
for sys/bsdtypes.h... no checking
for sys/file.h... yes checking
for sys/param.h... yes checking
for sys/resource.h... yes checking
for sys/select.h... yes checking
for sys/time.h... yes checking
for sys/timeb.h... yes checking
for unistd.h... yes checking
for utime.h... yes checking
whether stat file-mode macros are broken... no checking
whether time.h and sys/time.h may both be included... yes checking
for working const... yes checking
for uid_t in sys/types.h... yes checking
for mode_t... yes checking
for pid_t... yes checking
for size_t... yes checking
return type of signal handlers... void checking
for st_blksize in struct stat... yes checking
for st_rdev in struct stat... yes checking
for dup2... yes checking
for memmove... yes checking
for mkdir... yes checking
for rename... yes checking
for strerror... yes checking
for strstr... yes checking
for strtoul... yes checking for
valloc... yes checking
for waitpid... yes checking
for fchdir... yes checking
for fchmod... yes checking
for fsync... yes checking
for ftime... yes checking
for ftruncate... yes checking
for getgroups... yes checking
for getpagesize... yes checking
for getpassphrase... yes checking
for gettimeofday... yes checking
for initgroups... yes checking
for mknod... yes checking
for mkstemp... yes checking
for mktemp... yes checking
for putenv... yes checking
for readlink... yes checking
for sigaction... yes checking
for sigblock... no checking
for sigprocmask... yes checking
for sigsetmask... no checking
for sigvec... no checking
for tempnam... yes checking
for timezone... yes checking
for tzset... yes checking
for vprintf... yes checking
for wait3... yes checking
for nanosleep... no checking
for usleep... yes checking
for vfork.h... no checking
for working vfork... checking for vfork... yes yes checking
whether closedir returns void... yes checking
for library containing getspnam... none required checking
whether utime accepts a null argument... no checking
for long file names... yes checking
for working fnmatch... no checking
for unistd.h... (cached) yes checking
for getpagesize... (cached) yes checking
for working mmap... no checking
for main in -lnsl... yes checking
for library containing connect... -lxnet checking
for library containing gethostbyname... none required default
place for krb4 is no checking
for krb.h... checking
for krb_get_err_text... no checking
for GSSAPI checking
for gssapi.h... no checking
for gssapi/gssapi.h... yes checking
for krb5.h... yes checking
for GSSAPI... yes checking
for gssapi.h... (cached) no checking
for gssapi/gssapi.h... (cached) yes checking
for gssapi/gssapi_generic.h... yes checking
for krb5.h... (cached) yes checking
for GSS_C_NT_HOSTBASED_SERVICE... ./configure:
acx_gssapi_cv_gss_c_nt_hostbased_service: not found ./configure:
acx_gssapi_cv_gss_c_nt_hostbased_service: not found no checking
for library containing des_set_odd_parity... no checking
for library containing com_err... -lcom_err checking
for library containing initialize_asn1_error_table_r... no checking
for library containing __dn_expand... no checking
for library containing roken_gethostbyaddr... no checking
for library containing valid_enctype... no checking
for library containing compile... -lgen checking
for library containing krb5_free_context... -lkrb5 checking
for library containing gss_import_name... -lgssapi_krb5 checking
for gethostname... yes checking
for library containing crypt... none required checking
for cygwin32... no updating
cache cvs.build creating
./config.status creating
Makefile creating
cvs.spec creating
contrib/Makefile creating
contrib/clmerge creating
contrib/cln_hist creating
contrib/commit_prep creating
contrib/cvs_acls creating
contrib/log creating
contrib/log_accum creating
contrib/mfpipe creating
contrib/pvcs2rcs creating
contrib/rcslock creating
contrib/sccs2rcs creating
diff/Makefile creating
doc/Makefile creating
emx/Makefile creating
lib/Makefile creating
man/Makefile creating
os2/Makefile creating
src/Makefile creating
src/cvsbug creating
src/version.h creating
tools/Makefile creating
vms/Makefile creating
windows-NT/Makefile creating
windows-NT/SCC/Makefile creating
zlib/Makefile creating
config.h creating
src/options.h Then
during make: gcc
-DHAVE_CONFIG_H - source='zlib.c'
object='zlib.o' libtool=no \ depfile='.deps/zlib.Po'
tmpdepfile='.deps/zlib.TPo' \ depmode=gcc
/bin/sh ../depcomp \ gcc
-DHAVE_CONFIG_H - gcc -g -O2 -o cvs add.o admin.o annotate.o buffer.o
checkin.o checkout.o classify.o client.o commit.o create_adm.o cvsrc.o diff.o
edit.o entries.o error.o expand_path.o fileattr.o filesubr.o find_names.o
hardlink.o hash.o history.o ignore.o import.o lock.o log.o login.o logmsg.o
main.o mkmodules.o modules.o myndbm.o no_diff.o parseinfo.o patch.o rcs.o
rcscmds.o recurse.o release.o remove.o repos.o root.o run.o scramble.o server.o
status.o subr.o tag.o update.o version.o vers_ts.o watch.o wrapper.o zlib.o
../diff/libdiff.a ../lib/libcvs.a ../zlib/libz.a
-lgssapi_krb5 -lkrb5 -lgen -lcom_err -lxnet client.o:
In function `connect_to_gserver': /home/root/projects/cvs/ccvs/src/client.c:4246:
undefined reference to `GSS_C_NT_HOSTBASED_SERVICE' /home/root/projects/cvs/ccvs/src/client.c:4246:
undefined reference to `GSS_C_NT_HOSTBASED_SERVICE' server.o:
In function `gserver_authenticate_connection': /home/root/projects/cvs/ccvs/src/server.c:5970:
undefined reference to `GSS_C_NT_HOSTBASED_SERVICE' /home/root/projects/cvs/ccvs/src/server.c:5970:
undefined reference to `GSS_C_NT_HOSTBASED_SERVICE' collect2:
ld returned 1 exit status make[3]:
*** [cvs] Error 1 make[3]:
Leaving directory `/home/root/projects/cvs/ccvs/src' make[2]:
*** [all] Error 2 make[2]:
Leaving directory `/home/root/projects/cvs/ccvs/src' make[1]:
*** [all-recursive] Error 1 make[1]:
Leaving directory `/home/root/projects/cvs/ccvs' make:
*** [all] Error 2 Thanks, John |
[Prev in Thread] | Current Thread | [Next in Thread] |