[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Building from CVS / autoconf, automake, and rk_* Macros



I've been reading about auto* tools but unfortunately I'm still largely
ignorant of such things. Below is dialog of trying and failing to build
from CVS. It's failing on some rk_* macros. If someone could give me a
clue I'd appreciate it. What is rk_SYS_LARGEFILE and where can I get it?

Mike

$ cvs co -d mechglue -r mechglue-branch heimdal
<snip>
U appl/ftp/ftpd/ftpd_locl.h
U appl/ftp/ftpd/ftpusers.5
U appl/ftp/ftpd/gss_userok.c
U appl/ftp/ftpd/kauth.c
U appl/ftp/ftpd/logwtmp.c
U appl/ftp/ftpd/ls.c
U appl/ftp/ftpd/pathnames.h
U appl/ftp/ftpd/popen.c
$ cd mechglue/
$ ls
acinclude.m4  ChangeLog.1998  ChangeLog.2003  etc         kpasswd    Makefile.am         NEWS         tools
admin         ChangeLog.1999  ChangeLog.2004  fix-export  krb5.conf  Makefile.am.common  README
appl          ChangeLog.2000  configure.in    include     kuser      make-release        TODO
cf            ChangeLog.2001  CVS             kadmin      lib        make-release.el     TODO-1.0
ChangeLog     ChangeLog.2002  doc             kdc         ltconfig   mech.conf           TODO-shadow
$ aclocal
$ autoconf 
configure.in:41: error: possibly undefined macro: AC_KRB_PROG_LN_S
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:43: error: possibly undefined macro: AC_MIPS_ABI
configure.in:47: error: possibly undefined macro: AC_C___ATTRIBUTE__
configure.in:117: error: possibly undefined macro: AC_FIND_FUNC
configure.in:202: error: possibly undefined macro: AC_CHECK_OSFC2
configure.in:229: error: possibly undefined macro: AC_CHECK_XAU
configure.in:236: error: possibly undefined macro: AC_CHECK_TYPE_EXTRA
configure.in:238: error: possibly undefined macro: AC_HAVE_TYPE
configure.in:327: error: possibly undefined macro: AC_FIND_FUNC_NO_LIBS
configure.in:369: error: possibly undefined macro: AC_CHECK_GETPWNAM_R_POSIX
configure.in:380: error: possibly undefined macro: AC_HAVE_STRUCT_FIELD
$ automake --add-missing
configure.in: installing `./install-sh'
configure.in: installing `./missing'
appl/Makefile.am:5: OTP does not appear in AM_CONDITIONAL
appl/dceutils/Makefile.am:7: AIX does not appear in AM_CONDITIONAL
appl/dceutils/Makefile.am:26: IRIX does not appear in AM_CONDITIONAL
appl/dceutils/Makefile.am: installing `./compile'
appl/kx/Makefile.am:7: WFLAGS must be set with `=' before using `+='
appl/kx/Makefile.am:25: NEED_WRITEAUTH does not appear in AM_CONDITIONAL
appl/xnlock/Makefile.am:7: WFLAGS must be set with `=' before using `+='
configure.in:7: required file `include/config.h.in' not found
lib/Makefile.am:8: OTP does not appear in AM_CONDITIONAL
lib/auth/pam/Makefile.am:7: WFLAGS must be set with `=' before using `+='
lib/auth/sia/Makefile.am:7: WFLAGS must be set with `=' before using `+='
lib/editline/Makefile.am:14: el_compat does not appear in AM_CONDITIONAL
lib/gssapi/Makefile.am:5: INCLUDES must be set with `=' before using `+='
lib/kafs/Makefile.am:26: AIX does not appear in AM_CONDITIONAL
lib/kafs/Makefile.am:29: AIX4 does not appear in AM_CONDITIONAL
lib/kafs/Makefile.am:35: AIX_DYNAMIC_AFS does not appear in AM_CONDITIONAL
lib/kafs/Makefile.am:36: HAVE_DLOPEN does not appear in AM_CONDITIONAL
lib/mechglue/Makefile.am:5: INCLUDES must be set with `=' before using `+='
lib/otp/Makefile.am:19: HAVE_DB3 does not appear in AM_CONDITIONAL
lib/roken/Makefile.am:106: have_err_h does not appear in AM_CONDITIONAL
lib/roken/Makefile.am:112: have_fnmatch_h does not appear in AM_CONDITIONAL
lib/roken/Makefile.am:118: have_glob_h does not appear in AM_CONDITIONAL
lib/roken/Makefile.am:124: have_ifaddrs_h does not appear in AM_CONDITIONAL
lib/roken/Makefile.am:130: have_vis_h does not appear in AM_CONDITIONAL
configure.in: installing `./ylwrap'
lib/spnego/Makefile.am:5: INCLUDES must be set with `=' before using `+='
configure.in:21: installing `./config.guess'
configure.in:21: installing `./config.sub'
configure.in:50: required file `./ltmain.sh' not found
$ ./configure 
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
./configure: line 3213: rk_SYS_LARGEFILE: command not found
checking for bison... bison -y
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for gawk... (cached) gawk
./configure: line 3583: AC_KRB_PROG_LN_S: command not found
./configure: line 3585: AC_MIPS_ABI: command not found
./configure: line 3589: AC_C___ATTRIBUTE__: command not found
checking for a sed that does not truncate output... /bin/sed
<snip>
checking whether to build static libraries... yes
./configure: line 19273: syntax error near unexpected token `-Wall'
./configure: line 19273: `rk_WFLAGS(-Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs)'