guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building GUIX


From: Pjotr Prins
Subject: Re: Building GUIX
Date: Thu, 8 May 2014 21:53:46 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

Hah!

conftest.c:62:19: error: bzlib.h: No such file or directory

On Thu, May 08, 2014 at 05:08:39PM +0200, Pjotr Prins wrote:
> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]