From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pjotr Prins Subject: Re: Building GUIX Date: Thu, 8 May 2014 17:08:39 +0200 Message-ID: <20140508150839.GA15025@thebird.nl> References: <20140508123200.GB13782@thebird.nl> <536B89D0.2080105@gmail.com> <20140508145601.GA14944@thebird.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56196) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WiQAE-00024u-P8 for guix-devel@gnu.org; Thu, 08 May 2014 11:23:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WiQAA-0005uG-QA for guix-devel@gnu.org; Thu, 08 May 2014 11:23:14 -0400 Received: from mail.thebird.nl ([95.154.203.175]:43444) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WiQAA-0005tS-Jy for guix-devel@gnu.org; Thu, 08 May 2014 11:23:10 -0400 Content-Disposition: inline In-Reply-To: <20140508145601.GA14944@thebird.nl> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Pjotr Prins Cc: guix-devel@gnu.org And when I run ldconfig -p|grep bz libz.so.1 (libc6,x86-64) => /lib64/libz.so.1 libbz2.so.1.0 (libc6,x86-64) => /nix/var/nix/profiles/default/lib/libbz2.so.1.0 libbz2.so.1 (libc6,x86-64) => /lib64/libbz2.so.1 libbz2.so (libc6,x86-64) => /nix/var/nix/profiles/default/lib/libbz2.so why is libbz2.so not found? You can tell my understanding of these systems is lacking. Help! Pj. On Thu, May 08, 2014 at 04:56:01PM +0200, Pjotr Prins wrote: > On Thu, May 08, 2014 at 03:42:40PM +0200, Cyril Roelandt wrote: > > > ./configure: line 6775: syntax error near unexpected token `GUILE,' > > > ./configure: line 6775: `PKG_CHECK_MODULES(GUILE, guile-2.0 >= 2.0.5)' > > > > > > Any switch that I can pass in to make this work? > > > > > > > > > Isn't this rather an issue with the PKG_CHECK_MODULES macro? Where is > > pkg.m4 on your system? > > Good point. That took me a bit further. I needed to do > > export ACLOCAL_PATH="/home/cog/pprins/.nix-profile/share/aclocal" > export PKG_CONFIG_PATH="$HOME/.nix-profile/lib/pkgconfig" > ./bootstrap > ./configure --with-libgcrypt-prefix=/nix/store/gic3zisxrq8vir427366l51l0dyzg5ls-libgcrypt-1.5.3 > > almost there. Only this trips me up: > > checking for BZ2_bzWriteOpen in -lbz2... no > configure: error: Guix requires libbz2, which is part of bzip2. See http://www.bzip.org/. > > weird because > > ls ~/.nix-profile/lib > > contains > > gettext libgcrypt.so.11.8.2 libguile-2.0.so.22.7.0 > guile libgettextlib-0.18.2.so libguilereadline-v-18.la > libasprintf.la libgettextlib.la libguilereadline-v-18.so > libasprintf.so libgettextlib.so libguilereadline-v-18.so.18 > libasprintf.so.0 libgettextpo.la libguilereadline-v-18.so.18.0.0 > libasprintf.so.0.0.0 libgettextpo.so libnixexpr.so > libbz2.a libgettextpo.so.0 libnixformat.so > libbz2.so libgettextpo.so.0.5.2 libnixmain.so > libbz2.so.1 libgettextsrc-0.18.2.so libnixstore.so > libbz2.so.1.0 libgettextsrc.la libnixutil.so > libbz2.so.1.0.6 libgettextsrc.so perl5 > libgcrypt.la libguile-2.0.la pkgconfig > libgcrypt.so libguile-2.0.so > preloadable_libintl.so > libgcrypt.so.11 libguile-2.0.so.22 systemd > > It is not finding it. Adding the path to LD_LIBRARY_PATH does not > help, nor adding the search path to /etc/ld.so.conf. You can see > libgcrypt needed an override. > > What am I missing? > > Pj. > > > > >