[Nix-dev] cjs build problem with gobject-introspection

Roelof Wobben rwobben at hotmail.com
Fri Nov 29 19:45:07 CET 2013


Hello, 

I see this error : 

checking malloc.h presence... yes
checking for malloc.h... yes
checking for mallinfo... yes
Using JS_CFLAGS: 
Using JS_LIBS: 
checking for JS_CLASS_TRACE macro... no
checking for gobject-introspection... ./configure: line 15730: syntax error near unexpected token `gobject-introspection-1.0,,'
./configure: line 15730: `            PKG_CHECK_EXISTS(gobject-introspection-1.0,,'
builder for `/nix/store/4cr9r3lrmlvwrv8nk9x60xq88npgcm34-cjs.drv' failed with exit code 2


And this is my derivation : 

{ stdenv, autoreconfHook, fetchurl, gobjectIntrospection }:

stdenv.mkDerivation rec {
  name = "cjs";
  version="2.0.0";

  src = fetchurl {
    url = "http://github.com/linuxmint/cjs/archive/${version}.tar.gz";
    sha256 = "16iazd5h2z27v9jxs4a8imwls5c1c690wk7i05r5ds3c3r4nrsig";
  };

  buildInputs = [ autoreconfHook gobjectIntrospection];
  
  configureFlags = [
    "--disable-static"
  ];

  meta = {
    homepage = "http://cinnamon.linuxmint.com";
    description = " This module contains JavaScript bindings based on gobject-introspection." ;
   
    longDescription = ''
       This module contains JavaScript bindings based on gobject-introspection.

       Because JavaScript is pretty free-form, consistent coding style and unit tests
       are critical to give it some structure and keep it readable.
       We propose that all GNOME usage of JavaScript conform to the style guide
       in doc/Style_Guide.txt to help keep things sane.      

    '';

    platforms = stdenv.lib.platforms.linux;
    maintainers = [ stdenv.lib.maintainers.roelof ];
  };
}


what is the best way to solve this problem ?

Roelof

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


More information about the nix-dev mailing list