From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?q?Germ=E1n_Arias?= Newsgroups: gmane.lisp.guile.user Subject: Re: Install Guile 2.0.11 failed on L-Ubuntu 12.04 Date: Sat, 24 May 2014 23:12:21 -0600 Message-ID: References: Reply-To: germanandre@gmx.es NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Generated by Pantomime 1.2.0) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1400994777 32766 80.91.229.3 (25 May 2014 05:12:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 25 May 2014 05:12:57 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun May 25 07:12:50 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 1WoQjp-0005E9-1r for guile-user@m.gmane.org; Sun, 25 May 2014 07:12:49 +0200 Original-Received: from localhost ([::1]:50339 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WoQjo-0005j4-He for guile-user@m.gmane.org; Sun, 25 May 2014 01:12:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51231) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WoQjc-0005if-5A for guile-user@gnu.org; Sun, 25 May 2014 01:12:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WoQjW-0003Y0-0G for guile-user@gnu.org; Sun, 25 May 2014 01:12:36 -0400 Original-Received: from mout.gmx.com ([74.208.4.200]:51241) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WoQjV-0003Xh-Qc for guile-user@gnu.org; Sun, 25 May 2014 01:12:29 -0400 Original-Received: from localhost.localdomain ([190.56.7.91]) by mail.gmx.com (mrgmxus002) with ESMTPSA (Nemesis) id 0MMBdz-1WvpeN3EKb-0081A0 for ; Sun, 25 May 2014 07:12:23 +0200 In-Reply-To: User-Agent: GNUMail (Version 1.2.1) X-Provags-ID: V03:K0:KhGLZe6BiUj17qTr1eC8xXA8fyU8ovVU4bEH0AoCXK3WySl3Iv7 6ENcWl5Anz+v45dVWCxlslgWUfudnvBvkPeK7XGOtNaxNxPwmM+hF5huRn/qh+t1Kia+Fv1 PlF8n/+AjPnsqsEBMjDVczkick7KFJc8PDZYlOOxZZfkVQkIVrxqT3Wh5qedD3xWh8T+gBB kAhcTjxorqfkcqA2wnOVQ== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 74.208.4.200 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:11257 Archived-At: Hi Mark On 2014-05-24 15:21:11 -0600 mark damerell = wrote: > Trying to install guile 2.0.11 on L-ubuntu 12.04. Shell is /bin/bash .= >=20 > Downloaded the tarfile from the Gnu website. >=20 > configured with no options >=20 > make check produced warnings and "unresolved" messages and one failure= , > bug 27450. It said "please report this" but I believe that as this is = a > known > bug, you do not want me to. >=20 >=20 > make install ran with no visible error. >=20 >=20 > make installcheck failed. After several "nothing to do" messages, it = said: >=20 > make[1]: Entering directory `/home/manager/downloads/guile-2.0.11/exam= ples' > /bin/mkdir -p box > gcc `PATH=3D/usr/local/bin:$PATH PKG_CONFIG_PATH=3D/usr/local/lib/pkgc= onfig > /usr/local/bin/guile-config compile` -c box/box.c -o box/box.o > /usr/local/bin/guile: error while loading shared libraries: > libguile-2.0.so.22: cannot open shared object file: No such file or > directory > box/box.c:22:22: fatal error: libguile.h: No such file or directory > compilation terminated. > make[1]: *** [box/box.o] Error 1 >=20 >=20 > The shell command >=20 > guile >=20 > produces >=20 > guile: error while loading shared libraries: libguile-2.0.so.22: canno= t > open shared object file: No such file or directory >=20 >=20 > find(1) found both files: >=20 > /usr/local/include/guile/2.0/libguile.h > /usr/local/lib/libguile-2.0.so.22 >=20 >=20 > I conjecture that gcc was using incorrect search paths. So I did: >=20 > printenv | grep -i path >=20 > and got: >=20 > XDG_SESSION_PATH=3D/org/freedesktop/DisplayManager/Session0 > XDG_SEAT_PATH=3D/org/freedesktop/DisplayManager/Seat0 > DEFAULTS_PATH=3D/usr/share/gconf/Lubuntu.default.path > PATH=3D/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sb= in:/usr/bin:/sbin:/bin:/usr/games > MANDATORY_PATH=3D/usr/share/gconf/Lubuntu.mandatory.path >=20 >=20 > I expected to see a CPATH and a LIBRARY_PATH as described in man= gcc. >=20 > Please is this problem known? what should I do about it? Thank you. >=20 In general, when you install something from a source tarball this is ins= talled in non standard path. So, to use guile you should add the path wh= ere this is installed. At your file ".profile" (in your user directory) = you could add: export LD_LIBRARY_PATH=3D$LD_LIBRARY_PATH:/usr/local/lib To use the headers, you will need make a symbolic link at /usr/include. = Something like: sudo ln -s /usr/local/include/guile/ /usr/include/ Hope this help. Germ=E1n.