[Nix-dev] cjs and gobject-introspection error

Roelof Wobben rwobben at hotmail.com
Sat Nov 30 10:41:43 CET 2013



> Date: Sat, 30 Nov 2013 13:20:53 +0400
> From: 7c6f434c at mail.ru
> To: rwobben at hotmail.com; nix-dev at lists.science.uu.nl
> Subject: [Nix-dev] cjs and gobject-introspection error
> 
> >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?

That no problem but I do not like the error message. 

> 
> >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?


Yes, I did and I solved this problem.

Now I see this error :

No package 'gmodule-2.0' found
No package 'gthread-2.0' found
No package 'gio-2.0' found
No package 'mozjs185' found

So I did find / -name "gmodule-2.0.pc"  and I see this output:

/nix/store/1kh7gl673vp4zpilrvsi4cmxwk7il27n-glib-2.36.4/lib/pkgconfig/gmodule-2.0.pc


So I added glib to the buildsInput but the error is still here.

Roelof



 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20131130/ad764686/attachment.html 


More information about the nix-dev mailing list