From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: mark damerell Newsgroups: gmane.lisp.guile.user Subject: Re: Install Guile 2.0.11 failed on L-Ubuntu 12.04 Date: Tue, 27 May 2014 10:32:59 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1136018eb1675e04fa5e612c X-Trace: ger.gmane.org 1401183197 28475 80.91.229.3 (27 May 2014 09:33:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 May 2014 09:33:17 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue May 27 11:33:11 2014 Return-path: Envelope-to: guile-user@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 1WpDks-0004zd-RX for guile-user@m.gmane.org; Tue, 27 May 2014 11:33:11 +0200 Original-Received: from localhost ([::1]:32844 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WpDks-0000Ia-7j for guile-user@m.gmane.org; Tue, 27 May 2014 05:33:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59263) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WpDkk-0000HO-8z for guile-user@gnu.org; Tue, 27 May 2014 05:33:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WpDki-0003Nv-UY for guile-user@gnu.org; Tue, 27 May 2014 05:33:02 -0400 Original-Received: from mail-ve0-x22d.google.com ([2607:f8b0:400c:c01::22d]:39746) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WpDki-0003Nq-Pb for guile-user@gnu.org; Tue, 27 May 2014 05:33:00 -0400 Original-Received: by mail-ve0-f173.google.com with SMTP id pa12so10381315veb.18 for ; Tue, 27 May 2014 02:32:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=mqWBmGBmuAdVMw+bwhY7diP3RaX1pX8W+PAFZbFFFCw=; b=ks4YJTnNxQmfEf148VWypLyj2NFFB5g1+lICgNpMyCKU31VWCXGpSYrc4VFPrutoZR ER3ckBWxaHy+tTryuVLXXmnLLdGX2MqSIhlhlkfEGmL6r+hgFOqT7iZNzj35YXdC9QWR pcQfL/LZrBZYD2tt4jP5T4ke4MoTqcIfmkFn121w4Phx/7TkfrgdGkRZxAwXUH7Sgfh8 4W5erhz9f7oKVIi0lq3+yJoK7q/pqhr11KMn/eoCFmH8TeO3M7KO4cOW0tKJAXxkT2bi 7T0NCAnvz+TASFDlSfRxGdnvzzv4VJxM3zAX8pnvDrZ7rlKQlpCKp27ALbZSiOLq5ZiH FtJg== X-Received: by 10.52.246.42 with SMTP id xt10mr2823141vdc.5.1401183179727; Tue, 27 May 2014 02:32:59 -0700 (PDT) Original-Received: by 10.220.136.1 with HTTP; Tue, 27 May 2014 02:32:59 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400c:c01::22d X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:11267 Archived-At: --001a1136018eb1675e04fa5e612c Content-Type: text/plain; charset=UTF-8 Thank you for your most helpful replies. I did: 1: sudo ldconfig Output: /sbin/ldconfig.real: /usr/local/lib/libguile-2.0.so.22.7.2-gdb.scm is not an ELF file - it has the wrong magic bytes at the start. 2: pkg-config --cflags --libs guile-2.0 and now things are working (I have only done some very simple things to test). I do not have the foggiest idea why it was so easy. In theory, neither 1 nor 2 should have worked. 1: if gcc really did not know to search in /usr/local/lib I would have expected all manner of previous successful compiles to fail. File /etc/ld.so.conf.d/libc.conf (date April 2012) lists /usr/local/lib . No file in this directory mentions Guile. 2: From the man page I expected to have to insert the output of 2 into a Makefile. (Which Makefile? where? I dont know. ) Also I dont think I sudo-ed 2. I intend to use both make check and make installcheck if I have to re-install because they test different things. I feel confident that the problem I reported in my OP is much more likely a bug in make install than in make installcheck . Thank you --001a1136018eb1675e04fa5e612c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thank you for= your most helpful replies. I did:

1:=C2=A0=C2=A0 sudo ldconfi= g

Output:

/sbin/ldconfig.real: /usr/local/lib/libguile-2.0.so= .22.7.2-gdb.scm is not an
ELF file - it has the wrong magic bytes at the start.

2:=C2=A0= =C2=A0 pkg-config=C2=A0 --cflags=C2=A0 --libs=C2=A0 guile-2.0

= and now things are working (I have only done some very simple things
to= test). I do not have the foggiest idea=C2=A0 why it was so easy. In theory= ,
neither 1 nor 2 should have worked.

1: if=C2=A0 gcc=C2=A0 real= ly did not know to search in=C2=A0=C2=A0 /usr/local/lib=C2=A0 I would
h= ave expected all manner of previous successful compiles to fail.

Fil= e=C2=A0=C2=A0=C2=A0 /etc/ld.so.conf.d/libc.conf (date April 2012)=C2=A0 lis= ts=C2=A0 /usr/local/lib=C2=A0 .
No file in this directory mentions Guile.

2: From the man page I expected to have to insert the output
of= =C2=A0 2=C2=A0 into a Makefile. (Which Makefile? where? I dont know. )
<= /div>Also I dont think I=C2=A0 sudo-ed=C2=A0 2.

I intend to use both=C2=A0 make check=C2=A0 and=C2=A0 make instal= lcheck=C2=A0 if I have
to re-install because they test different things= . I feel confident that
the problem I reported in my OP is much more lik= ely a bug in =C2=A0 make
install=C2=A0=C2=A0 than in =C2=A0 make installcheck=C2=A0 .

= Thank you

--001a1136018eb1675e04fa5e612c--