[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GNUnet-developers] Trouble building gnunet-gtk-0.10.1
From: |
laverne |
Subject: |
Re: [GNUnet-developers] Trouble building gnunet-gtk-0.10.1 |
Date: |
Tue, 17 Jan 2017 07:48:43 -0600 |
User-agent: |
Zoho Mail |
---- On Tue, 17 Jan 2017 03:54:54 -0600 ng0 <address@hidden> wrote ----
> Hi,
>
> laverne <address@hidden> writes:
>
> > Hi,
> >
> > I'm trying to build gnunet-gtk for NixOS (https://nixos.org). gnunet
> > 0.10.1 is already packaged for that OS, but I can't seem to get
> > gnunet-gtk's configure script to find it. Note that I'm doing this using
> > NixOS's build tool which adds some complexity but is the best way to do
> > things on NixOS.
>
> Can you include a link to the nix file/recipes you used for this,
> or do you use the ones included in the nixpkgs repository?
The nix file is in my fork of nixpkgs here:
https://github.com/lverns/nixpkgs/blob/add-gnunet-gtk/pkgs/applications/networking/p2p/gnunet-gtk/default.nix
> Additionally, can you paste the full build log somewhere?
> It could easier to figure out the problem with more information
> provided.
The logs are pretty small so I've just attached them. They were produced by
running `nixbuild -A gnunet-gtk` in the top level of my fork of the nixpkgs
repo: https://github.com/lverns/nixpkgs/tree/add-gnunet-gtk
>
> > If I leave the --with-gnunet flag unset, ./configure fails and the last
> > few lines of output are:
> > checking for GNUnet core... --with-gnunet not specified
> > checking for gnunetutil >= 0.9.0... yes
> > checking GNUNET_CFLAGS...
> > -I/nix/store/ns7mbszmss1a1fn5v854ymxbgbjf2yav-gnunet-0.10.1/include
> > checking GNUNET_LIBS...
> > -L/nix/store/ns7mbszmss1a1fn5v854ymxbgbjf2yav-gnunet-0.10.1/lib
> > -lgnunetutil
> > checking for gnunet/gnunet_conversation_service.h... no
> > checking for gnunet/gnunet_fs_service.h... no
> > configure: error: compiling gnunet-gtk requires GNUnet core headers
> >
> > If I set the --with-gnunet flag, ./configure still fails, but with a
> > slightly different error message:
> > checking for GNUnet core...
> > /nix/store/mhrl2g2d8vrpj117jabmq057qlpm7cq9-gnunet-0.10.1
> > checking for GNUnet util library in
> > /nix/store/mhrl2g2d8vrpj117jabmq057qlpm7cq9-gnunet-0.10.1... checking for
> > gnunet/gnunet_util_lib.h... no
> > checking for gnunet/gnunet_conversation_service.h... no
> > configure: error: gnunet-gtk requires GNUnet
> >
> > However, both
> > /nix/store/mhrl2g2d8vrpj117jabmq057qlpm7cq9-gnunet-0.10.1/include and
> > /nix/store/ns7mbszmss1a1fn5v854ymxbgbjf2yav-gnunet-0.10.1/include contain
> > gnunet/gnunet_conversation_service.h, gnunet/gnunet_fs_service.h, and
> > gnunet/gnunet_conversation_service.h
> >
> > I guess I'm not really sure what these error messages mean. Does anyone
> > have any ideas? I tried looking at the code for the configure script, but
> > I was not enlightened.
> >
> > Thanks,
> > Laverne
log_with_flag.txt
Description: Text document
log_without_flag.txt
Description: Text document