Subject: mit-krb5 fails with: bmake: *** No rule to make target `/aclocal.m4',
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 10/19/2004 10:25:37
I am trying to build mit-krb5 under Linux.

It failed with:

config.status: executing krb5_config_prefix commands
===> Building for mit-krb5-1.3.4nb3
making all in util...
rm -f libupdate libupdate.tmp
sed -e 's,@''ARADD''@,ar cruv,g' -e 's,@''ARCHIVE''@,ar cqv,g'
./libupdate.sh > libupdate.tmp && chmod +x libupdate.tmp && mv
libupdate.tmp libupdate
bmake: don't know how to make /aclocal.m4. Stop

bmake: stopped in
/scratch/pkgsrc/security/mit-krb5/work.puget/krb5-1.3.4/src/util
*** Error code 1


I also tried with USE_GNU_TOOLS+=make, but it failed:

config.status: executing krb5_config_prefix commands
===> Building for mit-krb5-1.3.4nb3
make: *** No rule to make target `/aclocal.m4', needed by `configure'.
Stop.
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/security/mit-krb5


The Makefile has:

-=-=-=-=-

# thisconfigdir = relative path from this Makefile to config.status
# mydir = relative path from config.status to this Makefile
Makefile: $(srcdir)/Makefile.in $(thisconfigdir)/config.status \
                $(SRCTOP)/config/pre.in $(SRCTOP)/config/post.in
        cd $(thisconfigdir) && $(SHELL) config.status $(mydir)/Makefile
$(thisconfigdir)/config.status: $(srcdir)/$(thisconfigdir)/configure
        cd $(thisconfigdir) && $(SHELL) config.status --recheck
$(srcdir)/$(thisconfigdir)/configure:
$(srcdir)/$(thisconfigdir)/configure.in \
                $(SRCTOP)/aclocal.m4
        -$(RM) -r $(srcdir)/$(thisconfigdir)/autom4te.cache
        cd $(srcdir)/$(thisconfigdir) && \
                ($(AUTOCONF) --include=$(CONFIG_RELTOPDIR)
$(AUTOCONFFLAGS) || \
                 $(AUTOCONF) --localdir=$(CONFIG_RELTOPDIR)
$(AUTOCONFFLAGS))
        -$(RM) -r $(srcdir)/$(thisconfigdir)/autom4te.cache

-=-=-=-=-

I have installed: automake-1.9.2, autoconf213-2.13, autoconf-2.59, and
automake14-1.4.6.

Any ideas?

(I had previously built mit-krb5-1.3.1 several times under Linux, but I
think it was my old package that was in pkgsrc-wip.)

 Jeremy C. Reed

 	  	 	 open source, Unix, *BSD, Linux training
	  	 	 http://www.pugetsoundtechnology.com/