unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Pjotr Prins <pjotr.public12@thebird.nl>
To: Cyril Roelandt <tipecaml@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: Building GUIX
Date: Thu, 8 May 2014 16:56:01 +0200	[thread overview]
Message-ID: <20140508145601.GA14944@thebird.nl> (raw)
In-Reply-To: <536B89D0.2080105@gmail.com>

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:10 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 [this message]
2014-05-08 15:08     ` Pjotr Prins
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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=20140508145601.GA14944@thebird.nl \
    --to=pjotr.public12@thebird.nl \
    --cc=guix-devel@gnu.org \
    --cc=tipecaml@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).