I am trying to instal gtkl with the command:
nix-env -iAK nixpkgs_unstable.haskellPackages.gtk

Which results in a missing C library. I could not find intl in the package list but I did find
libintl.h in .nix-profile/include
libintl.8.dylib in .nix-profile/lib
libintl.dylib in .nix-profile/lib
libintl.la in .nix-profile/lib

I thought that maybe the paths to the above were missing durring configure for some reason so I added:
configureFlags = “–extra-include-dirs=/Users/pjw/.nix-profile/include –extra-lib-dirs=/Users/pjw/.nix-profile/lib”;

to the nix expression to no avail.

nix-env -iAK nixpkgs_unstable.haskellPackages.gtk
result:

setup: Missing dependency on a foreign library:
* Missing C library: intl
This problem can usually be solved by installing the system package that
provides this library (you may need the “-dev” version). If the library is
already installed but in a non-standard location then you can use the flags
–extra-include-dirs= and –extra-lib-dirs= to specify where it is.
builder for /nix/store/1fl6zy6qhs5vl8c0f81xmzhfg1gddg5n-haskell-glib-ghc7.0.4-0.12.2.drv' failed; keepi g build directory/private/var/folders/hU/hU86X1IQF3igsGWXdn747U+++TM/-Tmp-/nix-build-1fl6zy6qhs5vl8c0f 1xmzhfg1gddg5n-haskell-glib-ghc7.0.4-0.12.2.drv-3’
builder for /nix/store/1fl6zy6qhs5vl8c0f81xmzhfg1gddg5n-haskell-glib-ghc7.0.4-0.12.2.drv' failed with e it code 1 cannot build derivation/nix/store/n4g0f3n39jndkcm0iz3xacwk4a96smmy-haskell-gtk-ghc7.0.4-0.12.2.drv’: 1 dependencies couldn’t be built
error: build of `/nix/store/n4g0f3n39jndkcm0iz3xacwk4a96smmy-haskell-gtk-ghc7.0.4-0.12.2.drv’ failed

OS: Mac OS X 10.6.8 Snow Leopard

Submitted by Patrick on 11 January 2012 at 07:38

Log in to post comments