From owner-freebsd-ports Fri Apr 26 9:15:13 2002 Delivered-To: freebsd-ports@freebsd.org Received: from w250.z064001178.sjc-ca.dsl.cnc.net (w250.z064001178.sjc-ca.dsl.cnc.net [64.1.178.250]) by hub.freebsd.org (Postfix) with SMTP id 4B68737B400 for ; Fri, 26 Apr 2002 09:15:11 -0700 (PDT) Received: (qmail 74044 invoked by uid 1000); 26 Apr 2002 16:15:32 -0000 Date: Fri, 26 Apr 2002 09:15:10 -0700 From: Jos Backus To: freebsd-ports@freebsd.org Subject: Workaround for ports breaking with ``aclocal: Command not found'' Message-ID: <20020426161532.GA34165@lizzy.catnook.com> Reply-To: jos@catnook.com Mail-Followup-To: freebsd-ports@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org With some KDE3-related ports I was seeing ===> Configuring for kdelibs-3.0_1 cd /usr/ports/x11/kdelibs3/work/kdelibs-3.0 && gmake -f Makefile.cvs This Makefile is only for the CVS repository *** Creating acinclude.m4 !!! If you get recursion errors from autoconf, it is advisable to set the environment variable M4 to something including "--nesting-limit=500" *** Creating list of subdirectories *** Creating configure.in *** Creating aclocal.m4 gmake[1]: aclocal: Command not found gmake[1]: *** [cvs] Error 127 gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/x11/kdelibs3. lizzy:/usr/ports/x11/kdelibs3# A ``make clean'' in the port directory does not fix this, nor does the suggestion in the !!! message. As a workaround I ended up commenting out the following lines in the port Makefile: pre-configure: cd ${WRKSRC} && ${GMAKE} -f Makefile.cvs After that things built OK. It looks like this target was left over from development. -- Jos Backus _/ _/_/_/ Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/ _/ jos@catnook.com _/_/ _/_/_/ use Std::Disclaimer; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message