[Nix-dev] Missing library: zlib

Thomas Bereknyei tomberek at gmail.com
Thu Mar 6 18:44:57 CET 2014


I routinely find myself in a situation where some build tool or
installation of software (gcc, pip, a runtime) not via a nix expression)
will fail due to not having zlib available/in scope. What would be a simple
way to prevent this annoyance?

Tom
On Mar 6, 2014 8:16 AM, "Asus Ceaser" <theprepboys at gmail.com> wrote:

> Fixed my all-packages.conf  but once I run nix-build -A luakit I get
> the following error:
>
> building path(s)
> `/nix/store/lk2qcd3fvgbc7nydclh6kin8nlh52xn5-luakit-2012.09.13-r1'
> building /nix/store/lk2qcd3fvgbc7nydclh6kin8nlh52xn5-luakit-2012.09.13-r1
> unpacking sources
> unpacking source archive
> /nix/store/cr08lf4g1i5v7xycpkaw9nck1k0mvmgj-2012.09.13-r1.tar.gz
> source root is luakit-2012.09.13-r1
> patching sources
> configuring
> no configure script, doing nothing
> building
> make flags:
> SHELL=/nix/store/qw7vn33jcv1yfsfdw19ic5r2jlqk68w3-bash-4.2-p45/bin/bash
> PREFIX=$(out)
> Package webkit-1.0 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `webkit-1.0.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'webkit-1.0' found
> Package javascriptcoregtk-1.0 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `javascriptcoregtk-1.0.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'javascriptcoregtk-1.0' found
> Package unique-1.0 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `unique-1.0.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'unique-1.0' found
> config.mk:89: *** recipe commences before first target.  Stop.
> builder for
> `/nix/store/5mw9lad3gx3jxbvrbkvriqgsbs14zx5j-luakit-2012.09.13-r1.drv'
> failed with exit code 2
> error: build of
> `/nix/store/5mw9lad3gx3jxbvrbkvriqgsbs14zx5j-luakit-2012.09.13-r1.drv'
> failed
>
> Where should I add the webkit-1.0.pc and javascriptcoregtk-1.0?
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20140306/f58b6754/attachment.html 


More information about the nix-dev mailing list