From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 5 14:38:56 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3382A16A41C for ; Tue, 5 Jul 2005 14:38:56 +0000 (GMT) (envelope-from keramida@freebsd.org) Received: from aiolos.otenet.gr (aiolos.otenet.gr [195.170.0.93]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FEA543D5C for ; Tue, 5 Jul 2005 14:38:55 +0000 (GMT) (envelope-from keramida@freebsd.org) Received: from beatrix.daedalusnetworks.priv (aris.bedc.ondsl.gr [62.103.39.226]) by aiolos.otenet.gr (8.13.4/8.13.4/Debian-1) with SMTP id j65Ecrfh010676; Tue, 5 Jul 2005 17:38:54 +0300 Received: from beatrix.daedalusnetworks.priv (localhost [127.0.0.1]) by beatrix.daedalusnetworks.priv (8.13.3+Sun/8.13.3) with ESMTP id j65EcrBw002589; Tue, 5 Jul 2005 17:38:53 +0300 (EEST) Received: (from keramida@localhost) by beatrix.daedalusnetworks.priv (8.13.3+Sun/8.13.3/Submit) id j65EcrA7002588; Tue, 5 Jul 2005 17:38:53 +0300 (EEST) X-Authentication-Warning: beatrix.daedalusnetworks.priv: keramida set sender to keramida@freebsd.org using -f Date: Tue, 5 Jul 2005 17:38:53 +0300 From: Giorgos Keramidas To: Marco Molteni Message-ID: <20050705143853.GB2522@beatrix.daedalusnetworks.priv> References: <20050705161445.1d47440c.molter@tin.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050705161445.1d47440c.molter@tin.it> Cc: freebsd-hackers@freebsd.org Subject: Re: building something from CVS with GNU autotools X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jul 2005 14:38:56 -0000 On 2005-07-05 16:14, Marco Molteni wrote: > I pulled all my hair and lost my sanity. I searched mailing lists ang > google, found a lot of people with my same problem but never a > definitive solution. > > Problem is when trying to build on fbsd no matter which program out of > CVS (ie: not a release) which uses GNU autotools. > > After patching ./autogen.sh to use the versioned autotools, I get the > standard error (standard because google is full of it): > > ./ltconfig: ./ltconfig: No such file or directory > configure: error: libtool configure failed > > I tried also building a directory full of symlinks and putting it at > the beginning of my PATH, to be sure to catch any invocation of the > autotools stuff: > > molter@gattaccio[~]$ ls autodamage > aclocal@ -> /usr/local/bin/aclocal15 > autoconf@ -> /usr/local/bin/autoconf259 > autoheader@ -> /usr/local/bin/autoheader259 > > and so on, but I still hit the wall. > > In my case I am trying to compile the CVS version of silky > (http://silky.sourceforge.net/), but as I said silky is a program like > another. > > I also saw there is a /usr/ports/Mk/bsd.autotools.mk makefile with > some comments in it, but it is not clear to me how to reuse that stuff > outside of a port. > > Is there a way to solve my problems, without requiring any fbsd user > to become a master of the weird and (censured comments) autotools ? Yes. This question comes up very frequently and has been answered several times. My preferred solution to the autotools "problem", which works admirably well on all systems I've tried it so far (FreeBSD, Solaris and Linux) is to install a local version of the latest autotools in /opt/autotools and prepend /opt/autotools/bin to my PATH. A simpler solution, if you don't really want to go into the trouble of downloading the source tarballs for autoconf, automake and libtool, compiling everything yourself and installing in /opt/autotools, is to use the devel/gnu-* ports that install autoconf, automake and libtool in /usr/local/gnu-autotools and prepend that to your PATH. - Giorgos