[Nix-dev] [nix-dev] conky failed to build - fatal error: curl/types.h: No such file or directory

Sergey Mironov ierton at gmail.com
Wed Jan 11 23:32:37 CET 2012


2012/1/10 Yury G. Kudryashov <urkud.urkud at gmail.com>

> Yury G.  Kudryashov wrote:
>
> > Sergey Mironov wrote:
> >
> >> configure: error: iw_sockets_open not found
> >> Looks scary. Does anybody know the solution?
> > Look at config.log. I'll try to commit working expression today.
> config.log told me that this test fails because -lncurses not found. The
> authors of conky never check whether libncurses is available. They just add
> "-lncurses" to build flags. So, never trust ./configure error messages.
>
> I did not add any optional dependencies. You can easily to it by:
> * adding a dependency to buildInputs;
> * removing --disable-feature configure option.
> --
> Yury G. Kudryashov,
> mailto: urkud at mccme.ru
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>


Ok, now it is clear. As it turns out, adding ncurses dep did not fixed the
problem - those strange 'curl/types.h' is still needed. So I've included
gentoo patch fixing this issue. It works now, nixpkgs patch is in attach.
Unfortunately, I realised that conky/default.nix keeps all X-related
functions disabled. It makes impossible to use conky as desktop decorator..

Sergey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20120112/def33739/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-conky-update-to-1.8.1-and-fix-missing-curl-headers-i.patch
Type: application/octet-stream
Size: 2884 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20120112/def33739/attachment.obj 


More information about the nix-dev mailing list