From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.devel Subject: Re: guile-2.0.11 build: libtool and readline problems Date: Wed, 16 Apr 2014 01:10:00 -0400 Message-ID: <87wqepdfmf.fsf@yeeloong.lan> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1397625190 7605 80.91.229.3 (16 Apr 2014 05:13:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Apr 2014 05:13:10 +0000 (UTC) Cc: guile-devel@gnu.org To: Ian Grant Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Apr 16 07:13:04 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 1WaI9f-0002u5-Ll for guile-devel@m.gmane.org; Wed, 16 Apr 2014 07:13:03 +0200 Original-Received: from localhost ([::1]:52853 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WaI9f-00056r-2U for guile-devel@m.gmane.org; Wed, 16 Apr 2014 01:13:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57369) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WaI9V-00056k-GC for guile-devel@gnu.org; Wed, 16 Apr 2014 01:12:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WaI9Q-0005TS-EI for guile-devel@gnu.org; Wed, 16 Apr 2014 01:12:53 -0400 Original-Received: from world.peace.net ([96.39.62.75]:54016) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WaI9Q-0005Sg-9c for guile-devel@gnu.org; Wed, 16 Apr 2014 01:12:48 -0400 Original-Received: from 209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.91.212] helo=yeeloong.lan) by world.peace.net with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WaI83-0002SF-Qj; Wed, 16 Apr 2014 01:12:25 -0400 In-Reply-To: (Ian Grant's message of "Mon, 14 Apr 2014 20:21:13 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 96.39.62.75 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:17074 Archived-At: Hi, 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 FWIW, you could leave out the "--libdir=/usr/local/lib" above, since that would be the default anyway, but I'm still curious what's going wrong here. > > [.... 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 Can you try "make V=1" and show us the output that corresponds to the above? The relevant rule starts with "libguile-@GUILE_EFFECTIVE_VERSION@.la:" in libguile/Makefile.in (line 2241 in guile-2.0.11). In the generated libguile/Makefile, the relevant rule starts with "libguile-2.0.la:". I see "-rpath $(libdir)" in the associated command, but it seems as if a bare "(libdir)" is getting passed to libtool somehow. What kind of system are you doing this on? What version of make? > 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. Can you search for "rl_get_keymap" in "config.log" and see what went wrong here? It tries to compile a simple test program, and it would be useful to see what error message(s) it printed. You probably already know this, but on a GNU/Linux system it's important to run "ldconfig" as root after installing libraries from source code. Regards, Mark