Need help compiling gjs-1.34



Hello.

I need to compile gjs-1.34 but I'm not under Ubuntu or Gnome (slackware+sawfish).

When compiling, I get

$ make
make  all-am
make[1]: Entering directory `/usr/local/testSpace/linuxmint-Cinnamon-bd02368/gjs-1.34.0'
  CC     console_la-console.lo
  CC     libgjs_la-byteArray.lo
gjs/byteArray.c: In function ‘gjs_byte_array_constructor’:
gjs/byteArray.c:467:5: warning: passing argument 1 of ‘JS_GetClass’ from incompatible pointer type [enabled by default]
In file included from gjs/byteArray.h:33:0,
                 from gjs/byteArray.c:27:
/usr/include/js/jsapi.h:2122:1: note: expected ‘struct JSObject *’ but argument is of type ‘struct JSContext *’
gjs/byteArray.c:467:5: error: too many arguments to function ‘JS_GetClass’

This is with spidermonkey 1.8.5 installed.

I tried with xulrunner 15.0.1, but it doesn't work either.

How can I compile gjs-1.34?

Thanks.

--
Fabrice DELENTE


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]