Applying the second patch from that bug report (
http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=19;bug=631800 ) and
running autconf2.64 to rebuild configure makes the configure script succeed.
Unfortunately after doing so the build fails with the inability to find
jsnum.h
Removing the include of jsnum.h from callbacks_js.h results in the
following error.
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/freej-0.10git20100110/./src
-I.. -I/freej-0.10git20100110/./src/include
-I/freej-0.10git20100110/./lib/ccvt -I/freej-0.10git20100110/./lib/slw
-I/freej-0.10git20100110/./lib/flash -I/usr/include/freetype2 -DXP_UNIX
-DJS_THREADSAFE -I/usr/include/nspr -I/usr/include/mozjs -DJS_GCMETER
-I/usr/include/opencv -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL
-D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1
-D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT
-I/usr/include/SDL -pthread -I/usr/include/unicap -pthread
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
-I/usr/include/cairo -DPREFIX=\"/usr\" -DDATADIR=\"/usr/share\"
-DPACKAGE_DATA_DIR=\"/usr/share/freej\"
-DPACKAGE_LIB_DIR=\"/usr/lib/freej\" -pipe -D_REENTRANT
-freg-struct-return -fPIC -Wall -g -ggdb -g -O2 -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Wformat-security
-Werror=format-security -Wall -c
/freej-0.10git20100110/./src/context.cpp -fPIC -DPIC -o .libs/context.o
In file included from /usr/include/mozjs/jsatom.h:47:0,
from /usr/include/mozjs/jscntxt.h:51,
from /freej-0.10git20100110/./src/include/callbacks_js.h:35,
from /freej-0.10git20100110/./src/include/jsparser_data.h:30,
from /freej-0.10git20100110/./src/context.cpp:43:
/usr/include/mozjs/jshashtable.h: In static member function ‘static void
js::detail::HashTable<T, HashPolicy, AllocPolicy>::staticAsserts()’:
/usr/include/mozjs/jshashtable.h:316:9: error: ‘UINT32_MAX’ was not
declared in this scope
In file included from /usr/include/mozjs/jsobj.h:62:0,
from /usr/include/mozjs/jsstr.h:48,
from /usr/include/mozjs/jsatom.h:49,
from /usr/include/mozjs/jscntxt.h:51,
from /freej-0.10git20100110/./src/include/callbacks_js.h:35,
from /freej-0.10git20100110/./src/include/jsparser_data.h:30,
from /freej-0.10git20100110/./src/context.cpp:43:
/usr/include/mozjs/vm/String.h: In static member function ‘static void
JSShortString::staticAsserts()’:
/usr/include/mozjs/vm/String.h:566:9: warning: invalid access to
non-static data member ‘JSString::d’ of NULL object [-Winvalid-offsetof]
/usr/include/mozjs/vm/String.h:566:9: warning: (perhaps the ‘offsetof’
macro was used incorrectly) [-Winvalid-offsetof]
In file included from /usr/include/mozjs/jsstr.h:48:0,
from /usr/include/mozjs/jsatom.h:49,
from /usr/include/mozjs/jscntxt.h:51,
from /freej-0.10git20100110/./src/include/callbacks_js.h:35,
from /freej-0.10git20100110/./src/include/jsparser_data.h:30,
from /freej-0.10git20100110/./src/context.cpp:43:
/usr/include/mozjs/jsobj.h: In static member function ‘static size_t
JSObject::offsetOfCapacity()’:
/usr/include/mozjs/jsobj.h:759:54: warning: invalid access to non-static
data member ‘JSObject::capacity’ of NULL object [-Winvalid-offsetof]
/usr/include/mozjs/jsobj.h:759:54: warning: (perhaps the ‘offsetof’
macro was used incorrectly) [-Winvalid-offsetof]
/usr/include/mozjs/jsobj.h: In static member function ‘static size_t
JSObject::offsetOfSlots()’:
/usr/include/mozjs/jsobj.h:760:51: warning: invalid access to non-static
data member ‘JSObject::slots’ of NULL object [-Winvalid-offsetof]
/usr/include/mozjs/jsobj.h:760:51: warning: (perhaps the ‘offsetof’
macro was used incorrectly) [-Winvalid-offsetof]
/usr/include/mozjs/jsobj.h: In static member function ‘static size_t
JSObject::offsetOfType()’:
/usr/include/mozjs/jsobj.h:948:50: warning: invalid access to non-static
data member ‘JSObject::type_’ of NULL object [-Winvalid-offsetof]
/usr/include/mozjs/jsobj.h:948:50: warning: (perhaps the ‘offsetof’
macro was used incorrectly) [-Winvalid-offsetof]
/usr/include/mozjs/jsobj.h: In static member function ‘static size_t
JSObject::offsetOfClassPointer()’:
/usr/include/mozjs/jsobj.h:1582:51: warning: invalid access to
non-static data member ‘JSObject::clasp’ of NULL object [-Winvalid-offsetof]
/usr/include/mozjs/jsobj.h:1582:51: warning: (perhaps the ‘offsetof’
macro was used incorrectly) [-Winvalid-offsetof]
In file included from /usr/include/mozjs/jscntxt.h:53:0,
from /freej-0.10git20100110/./src/include/callbacks_js.h:35,
from /freej-0.10git20100110/./src/include/jsparser_data.h:30,
from /freej-0.10git20100110/./src/context.cpp:43:
/usr/include/mozjs/jsfun.h: In static member function ‘static uintN
JSFunction::offsetOfNativeOrScript()’:
/usr/include/mozjs/jsfun.h:219:16: warning: invalid access to non-static
data member ‘JSFunction::u’ of NULL object [-Winvalid-offsetof]
/usr/include/mozjs/jsfun.h:219:16: warning: (perhaps the ‘offsetof’
macro was used incorrectly) [-Winvalid-offsetof]
In file included from /usr/include/mozjs/jsinterp.h:51:0,
from /usr/include/mozjs/jscntxt.h:58,
from /freej-0.10git20100110/./src/include/callbacks_js.h:35,
from /freej-0.10git20100110/./src/include/jsparser_data.h:30,
from /freej-0.10git20100110/./src/context.cpp:43:
/usr/include/mozjs/vm/Stack.h: In static member function ‘static void
js::FrameRegs::staticAssert()’:
/usr/include/mozjs/vm/Stack.h:1264:9: warning: invalid access to
non-static data member ‘js::FrameRegs::fp_’ of NULL object
[-Winvalid-offsetof]
/usr/include/mozjs/vm/Stack.h:1264:9: warning: (perhaps the ‘offsetof’
macro was used incorrectly) [-Winvalid-offsetof]
/usr/include/mozjs/vm/Stack.h:1265:9: warning: invalid access to
non-static data member ‘js::FrameRegs::inlined_’ of NULL object
[-Winvalid-offsetof]
/usr/include/mozjs/vm/Stack.h:1265:9: warning: (perhaps the ‘offsetof’
macro was used incorrectly) [-Winvalid-offsetof]
In file included from /usr/include/mozjs/jscntxt.h:61:0,
from /freej-0.10git20100110/./src/include/callbacks_js.h:35,
from /freej-0.10git20100110/./src/include/jsparser_data.h:30,
from /freej-0.10git20100110/./src/context.cpp:43:
/usr/include/mozjs/jspropertytree.h: At global scope:
/usr/include/mozjs/jspropertytree.h:110:12: error: expected identifier
before numeric constant
/usr/include/mozjs/jspropertytree.h:110:12: error: expected ‘}’ before
numeric constant
/usr/include/mozjs/jspropertytree.h:110:12: error: expected
unqualified-id before numeric constant
/usr/include/mozjs/jspropertytree.h:112:32: error: expected ‘)’ before
‘*’ token
/usr/include/mozjs/jspropertytree.h:126:1: error: expected declaration
before ‘}’ token
make[4]: *** [context.lo] Error 1
make[4]: Leaving directory `/freej-0.10git20100110/build-core/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/freej-0.10git20100110/build-core/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/freej-0.10git20100110/build-core'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/freej-0.10git20100110/build-core'
make: *** [debian/stamp-makefile-build] Error 2
root@debian:/freej-0.10git20100110#
--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org