[Nix-dev] [PATCH 0/2] Series short description
Giulio Eulisse
Giulio.Eulisse at cern.ch
Wed Mar 16 23:08:23 CET 2011
I was trying to get nix HEAD build on macosx (mostly because I want to try out disnix), however it seems that there are a few issues.
First of all the current ./bootstrap.sh does not seem to be compatible with the autoconf tools shipped on macosx, which I fixed using the first patch. Then it looks like the logic for the --enable-gc requires pkg-config, even if the garbage collector is not enabled. I fixed this by using the pkg-config command directly rather than the `PKG_CHECK_MODULES` macro, see the second patch.
Done this it turns out that the bison which ships on macosx (v2.3) does not support the `%code requires` preamble statement which is used in parser.y (looks like %code requires was introduced in v2.3*b*). This goes beyond my ability to fix. Does anyone have any idea how to get it to work?
Ciao,
Giulio
PS: notice I did build 0.16 without any problems, but it looks like such a version does not work with properly with the current nixpkgs trunk.
---
Giulio Eulisse (2):
Get bootstrap.sh work on macosx.
Do not require pkg-config to be installed.
Makefile.am | 1 +
bootstrap.sh | 7 ++++++-
configure.ac | 14 +++++++++-----
3 files changed, 16 insertions(+), 6 deletions(-)
--
More information about the nix-dev
mailing list