From owner-freebsd-ports@FreeBSD.ORG Wed Jun 1 13:44:22 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 896471065674 for ; Wed, 1 Jun 2011 13:44:22 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1B0438FC17 for ; Wed, 1 Jun 2011 13:44:21 +0000 (UTC) Received: by fxm11 with SMTP id 11so73278fxm.13 for ; Wed, 01 Jun 2011 06:44:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=h1o5KWK8el2eXdQwOtR55ax5KloKKRtkkjHXJjy5zrE=; b=rQ4+DlKMLp0yh/uqOQH8+gpedW/I81tnthKZBxPSYwJ6G0xZ+sl8KMLI3D9JjdU5tK ZAohx15h4GdxukACT+FHOqJXMYvjTnX+9PVRmU8CiSAlhDwkbR0kuupjgeZoiGfrGOjE 3dcx3gnaLeWw0o2Mk3p31NfhiAxvCClHOSvZc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=jPXq68uPs1f8uqGo+qr9aeY3RJMtcBqx4MOteLcfj37eSvi1CD2BMPRz6j+GLUmYav MADptfs4AYmOvim3lHb7BTraUcihltqbD6XjNBxz4brC4NNDuvyi1HvOFKqVp73N1ePb FNk9FAeBbaQtM/I83wTME1bLE6VP82yRlBHBg= Received: by 10.223.85.155 with SMTP id o27mr8188669fal.109.1306935861102; Wed, 01 Jun 2011 06:44:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.100.150 with HTTP; Wed, 1 Jun 2011 06:44:01 -0700 (PDT) In-Reply-To: <4DE64125.6080907@gmx.de> References: <4DE5D8C9.3020506@icyb.net.ua> <4DE6244E.1040301@FreeBSD.org> <20110601114442.GB2223@reindeer.exwg.net> <4DE6392D.5000106@gmx.de> <20110601131956.GC2223@reindeer.exwg.net> <4DE64125.6080907@gmx.de> From: Baptiste Daroussin Date: Wed, 1 Jun 2011 15:44:01 +0200 Message-ID: To: Matthias Andree Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: amatus@gnu.org, freebsd-ports@freebsd.org 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:44:22 -0000 2011/6/1 Matthias Andree : > Am 01.06.2011 15:19, schrieb Christoph Moench-Tegeder: >> ## 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 -p= ipe >>>>> -march=3Dnocona -I/usr/local/include =A0-rpath=3D/usr/lib:/usr/local/= lib conftest.c >>>>> -lltdl =A0 >&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. =A0Try 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=3D"-L${LOCALBASE}/lib" in $CONFIGURE_ENV, and as guile's configu= re >> 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 loo= k >> like it's the culprit (haven't tested that, though), I guess it's down t= o >> some serious autotools debugging. > > At a second, still cursory look, some inconsistencies have struck my eye > -- this isn't fully fledged debugging. > > - I can't seem to figure out what USE_NCURSES actually does, or which > file gets used, (not currently on FreeBSD, so I can't grep ports/Mk > easily) - deferred. > USE_NCURSES reorder the LDFLAGS (as does USE_OPENSSL) for base ncurses to be detected first if necessary. > - files/ contains patches for Makefile.am and Makefile.in. Makefile.am > patches are ineffective if the port does not run automake - and > apparently it does not (check USE_AUTOTOOLS). > > - aclocal gets some version numbers hacked. =A0Very fishy, and possibly > hides the real issue. > > Does it help to rewrite the Makefile.in patches for Makefile.am and run > automake from USE_AUTOTOOLS? > > -- > Matthias Andree > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >