From owner-freebsd-ports@FreeBSD.ORG Wed Jun 1 13:20:02 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C323F106566C for ; Wed, 1 Jun 2011 13:20:02 +0000 (UTC) (envelope-from cmt@burggraben.net) Received: from smtp.burggraben.net (ns.exwg.net [88.198.69.35]) by mx1.freebsd.org (Postfix) with ESMTP id 7641C8FC14 for ; Wed, 1 Jun 2011 13:20:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.burggraben.net (Postfix) with ESMTP id 839326003CA for ; Wed, 1 Jun 2011 15:20:01 +0200 (CEST) X-Spam-Scanned: by amavisd-new at exwg.net Received: from smtp.burggraben.net ([127.0.0.1]) by localhost (ns.burggraben.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8tQ44V3OLL3I for ; Wed, 1 Jun 2011 15:19:58 +0200 (CEST) Received: from reindeer.exwg.net (port-92-198-130-130.static.qsc.de [92.198.130.130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "reindeer.exwg.net", Issuer "Christoph Moench-Tegeder" (verified OK)) by smtp.burggraben.net (Postfix) with ESMTPS for ; Wed, 1 Jun 2011 15:19:58 +0200 (CEST) Received: by reindeer.exwg.net (Postfix, from userid 1000) id 3DA62A1009; Wed, 1 Jun 2011 15:19:57 +0200 (CEST) Date: Wed, 1 Jun 2011 15:19:57 +0200 From: Christoph Moench-Tegeder To: freebsd-ports@freebsd.org Message-ID: <20110601131956.GC2223@reindeer.exwg.net> References: <4DE5D8C9.3020506@icyb.net.ua> <4DE6244E.1040301@FreeBSD.org> <20110601114442.GB2223@reindeer.exwg.net> <4DE6392D.5000106@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4DE6392D.5000106@gmx.de> X-PGP-Key: RSA/2048 0xB816EBBD X-PGP-Fingerprint: 89 2E 6D 05 95 B8 D7 1F 7C 1D C3 1E 95 A0 9B 5D X-GPG: supported User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: lang/guile build fails for me X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jun 2011 13:20:02 -0000 ## Matthias Andree (matthias.andree@gmx.de): > >> >From config.log: > >> configure:11579: checking for lt_dlinit in -lltdl > >> configure:11604: cc -o conftest -O2 -pipe -O2 -fno-strict-aliasing -pipe > >> -march=nocona -I/usr/local/include -rpath=/usr/lib:/usr/local/lib conftest.c > >> -lltdl >&5 > >> /usr/bin/ld: cannot find -lltdl > > > > Confirmed (8.2-RELEASE-p2). > > Somehow, configure loses $LD_LIBRARY_PATH. Not sure how... > > The command line quoted above lacks the -L option for link-time; -rpath > is a run-time option, and by itself, is insufficient. Try stuffing > -L${LOCALBASE}/lib into some kind of linker flag such as LDFLAGS or > perhaps LIBS - and pass that through CONFIGURE_ENV or _ARGS. Ah, yes, LDFLAGS. The port's Makefile already has LDFLAGS="-L${LOCALBASE}/lib" in $CONFIGURE_ENV, and as guile's configure is a standard autoconf configure, $LDFLAGS should be picked up (the output of "./configure --help" supports this), but... well, it isn't. As I installed guile 1.8.6_5 last september (having one's own packages archive is a great thing) and the latest change on the port does not look like it's the culprit (haven't tested that, though), I guess it's down to some serious autotools debugging. Regards, Christoph -- Spare Space