all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Pjotr Prins <pjotr.public12@thebird.nl>
To: Pjotr Prins <pjotr.public12@thebird.nl>
Cc: guix-devel@gnu.org
Subject: Re: Building GUIX
Date: Thu, 8 May 2014 17:08:39 +0200	[thread overview]
Message-ID: <20140508150839.GA15025@thebird.nl> (raw)
In-Reply-To: <20140508145601.GA14944@thebird.nl>

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.
> 
> 
> 
> 
> 

  reply	other threads:[~2014-05-08 15:23 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-08 12:32 Building GUIX Pjotr Prins
2014-05-08 12:52 ` Andreas Enge
2014-05-08 13:02   ` Pjotr Prins
2014-05-08 13:30 ` Pjotr Prins
2014-05-08 13:42 ` Cyril Roelandt
2014-05-08 14:56   ` Pjotr Prins
2014-05-08 15:08     ` Pjotr Prins [this message]
2014-05-08 19:53       ` Pjotr Prins
2014-05-08 21:08         ` Ludovic Courtès
2014-05-08 16:42 ` Ludovic Courtès
  -- strict thread matches above, loose matches on Subject: below --
2014-05-09 10:57 Building Guix Pjotr Prins
2014-05-09 12:33 ` Ludovic Courtès
2014-05-09 18:51 ` Pjotr Prins
2014-05-09 20:22   ` Ludovic Courtès
2014-05-10  6:46     ` Pjotr Prins
2014-05-10 13:06       ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140508150839.GA15025@thebird.nl \
    --to=pjotr.public12@thebird.nl \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.