From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Greg Troxel Newsgroups: gmane.lisp.guile.devel Subject: Re: guile-2.0.11 build: libtool and readline problems Date: Tue, 15 Apr 2014 10:07:06 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1397570849 1083 80.91.229.3 (15 Apr 2014 14:07:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Apr 2014 14:07:29 +0000 (UTC) Cc: guile-devel@gnu.org To: Ian Grant Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Apr 15 16:07:23 2014 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Wa41A-0006TD-S1 for guile-devel@m.gmane.org; Tue, 15 Apr 2014 16:07:20 +0200 Original-Received: from localhost ([::1]:49213 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wa41A-0005B4-BZ for guile-devel@m.gmane.org; Tue, 15 Apr 2014 10:07:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56777) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wa412-0005Ae-Bw for guile-devel@gnu.org; Tue, 15 Apr 2014 10:07:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wa40x-00044B-PB for guile-devel@gnu.org; Tue, 15 Apr 2014 10:07:12 -0400 Original-Received: from fnord.ir.bbn.com ([192.1.100.210]:58639) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wa40x-000447-KK for guile-devel@gnu.org; Tue, 15 Apr 2014 10:07:07 -0400 Original-Received: by fnord.ir.bbn.com (Postfix, from userid 10853) id DFD9BA832; Tue, 15 Apr 2014 10:07:06 -0400 (EDT) OpenPGP: id=32611E25 X-Hashcash: 1:20:140415:guile-devel@gnu.org::lo9WigdWN8xofdZw:0000000000000000000000000000000000000000001N7/ X-Hashcash: 1:20:140415:ian.a.n.grant@googlemail.com::kZgKEYE8/20QO/ED:000000000000000000000000000000000Bx9x In-Reply-To: (Ian Grant's message of "Mon, 14 Apr 2014 20:21:13 -0400") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/23.4 (berkeley-unix) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 192.1.100.210 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:17072 Archived-At: --=-=-= Content-Type: text/plain Ian Grant writes: > I'm at a loss. I have libtool-2.4 installed in /usr/local and I get this > error when 'make'ing after running > > ../configure --prefix=/usr/local --libdir=/usr/local/lib \ > --with-libreadline-prefix=/usr/local > > [.... making lots of stuff ...] > > CCLD libguile-2.0.la > ../libtool: line 5989: cd: (libdir): No such file or directory > libtool: link: cannot determine absolute directory name of `(libdir)' > make[3]: *** [libguile-2.0.la] Error 1 > make[3]: Leaving directory > `/home/ian/Documents/FP/guile-2.0.11/build/libguile' > make[2]: *** [all] Error 2 > > Another minor issue is that the configure script seems not to know about > the readline-6.3 which I have installed in /usr/local: > > checking for rl_get_keymap... no > checking for rl_getc_function pointer in readline... no > configure: WARNING: *** GNU Readline is too old on your system. > configure: WARNING: *** You need readline version 2.1 or later. You should not have to set libdir when you set prefix. I am unclear on --wtih-libreadline-prefix, but generally in the autoconf world when prereqs are not in the standard search path, I invoke CPPFLAGS="-I/usr/pkg/include" \ LDFLAGS="-L/usr/pkg/lib -R/usr/pkg/lib" \ ./configure .... So you may want to try that. Another thing to do is to read config.log to see what configure is doing. It seems obvious that --with-libreadline-prefix=/usr/local should cause the equivalent CPPFLAGS/LDFLAGS to be used when looking for readline, and if found, to be added, but perhaps something is amiss there. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlNNPQoACgkQ+vesoDJhHiUPkgCffTA8As8g3oYs9zakYTIeuO/z ULsAnisR9i6wNvjgNI4aa4Bq5zVkvnTH =ehAI -----END PGP SIGNATURE----- --=-=-=--