[Nix-dev] cjs and gobject-introspection error
Michael Raskin
7c6f434c at mail.ru
Sat Nov 30 10:20:53 CET 2013
>When you do not have gobject-introspection added to the buildsinput you see this error :
>
>./configure: line 15707: syntax error near unexpected token `1.32.0'
>./configure: line 15707: `GOBJECT_INTROSPECTION_REQUIRE(1.32.0)'
>builder for `/nix/store/z9mkb2m239y3fdrpxr2fhcb0j4yadki2-cjs.drv' failed with exit code 2
>error: build of `/nix/store/z9mkb2m239y3fdrpxr2fhcb0j4yadki2-cjs.drv' failed
>
>
>Because I like to see this :
>
>checking for gobject-introspection no
You do not want gobject-introspection as a dependency?
>you do not have gobject-introspection installed
>I do know that gobject-introspection provide the macros to check for gobject-introspection.
>What I find very wierd.
>
>
>I try to patch the files.
>But now I see this error.
>
>Using JS_CFLAGS:
>Using JS_LIBS:
>checking for JS_CLASS_TRACE macro... no
>./configure: line 15721: syntax error near unexpected token `GJS,'
>./configure: line 15721: `PKG_CHECK_MODULES(GJS, $gjs_packages)'
>builder for `/nix/store/20hr0zvv9q2apcqhfi074gr56wab8m3p-cjs.drv' failed with exit code 2
>error: build of `/nix/store/20hr0zvv9q2apcqhfi074gr56wab8m3p-cjs.drv' failed
>
>Can anyone help me figure out how to solve this.
Did you add pkgconfig to inputs?
>You can fork my repo with the files here : https://github.com/roelof1967/nixpkgs
More information about the nix-dev
mailing list