Re: jhbuild Errors - gtk+ libproxy error (jsapi.h)



On 02/19/2010 08:35 AM, David C. Rankin wrote:
> 
> Devs,
> 
> 	I've run into a few more issues that look rather critical with jhbuild of 2.30.
> The latest with the gtk build:
> 
<snip>

Guys, I have made good progress getting all the way to the libproxy build
(71/238) and the build is apparently failing complaining about jsapi.h (see
below). I have installed every version of mozilla mozilla-xulrunner192-devel I
could (contains jsapi.h), but no help. Any suggestions?

 gcc -DPACKAGE_NAME=\"libproxy\" -DPACKAGE_TARNAME=\"libproxy\"
-DPACKAGE_VERSION=\"0.2.3\" "-DPACKAGE_STRING=\"libproxy 0.2.3\""
-DPACKAGE_BUGREPORT=\"nathaniel natemccallum com\" -DPACKAGE=\"libproxy\"
-DVERSION=\"0.2.3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
-DSTDC_HEADERS=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_STDLIB_H=1
-DHAVE_MALLOC=1 -I. -I../../src/lib -DXP_UNIX -DJS_THREADSAFE
-I/opt/gnome2/include/xulrunner-1.9.0.13/stable -I/opt/gnome2/include/nspr -g
-std=c99 -g -O2 -DPLUGINDIR=\"/opt/gnome2/lib64/libproxy/0.2.3/plugins\"
-DSYSCONFDIR=\"/opt/gnome2/etc\" -D_POSIX_C_SOURCE=1 -MT mozjs_la-mozjs.lo -MD
-MP -MF .deps/mozjs_la-mozjs.Tpo -c mozjs.c  -fPIC -DPIC -o
.libs/mozjs_la-mozjs.o
mozjs.c:32:19: error: jsapi.h: No such file or directory

mozjs.c:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'dnsResolve'
mozjs.c:70: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'myIpAddress'
mozjs.c:83: error: expected specifier-qualifier-list before 'JSRuntime'

mozjs.c: In function 'ctxs_free':

mozjs.c:92: error: 'ctxStore' has no member named 'ctx'

mozjs.c:92: warning: implicit declaration of function 'JS_DestroyContext'

mozjs.c:92: error: 'ctxStore' has no member named 'ctx'

mozjs.c:93: error: 'ctxStore' has no member named 'run'

mozjs.c:93: warning: implicit declaration of function 'JS_DestroyRuntime'

mozjs.c:93: error: 'ctxStore' has no member named 'run'

mozjs.c:94: error: 'ctxStore' has no member named 'cls'

mozjs.c:94: error: 'ctxStore' has no member named 'cls'

mozjs.c:95: error: 'ctxStore' has no member named 'pac'

mozjs.c: In function 'ctxs_new':

mozjs.c:101: error: 'JSObject' undeclared (first use in this function)

mozjs.c:101: error: (Each undeclared identifier is reported only once

mozjs.c:101: error: for each function it appears in.)

mozjs.c:101: error: 'global' undeclared (first use in this function)

mozjs.c:102: error: 'jsval' undeclared (first use in this function)

mozjs.c:102: error: expected ';' before 'rval'

mozjs.c:108: error: 'ctxStore' has no member named 'cls'

mozjs.c:108: error: 'JSClass' undeclared (first use in this function)

mozjs.c:109: error: 'ctxStore' has no member named 'cls'

mozjs.c:110: error: 'ctxStore' has no member named 'cls'

mozjs.c:111: error: 'ctxStore' has no member named 'cls'

mozjs.c:111: error: 'JS_PropertyStub' undeclared (first use in this function)

mozjs.c:112: error: 'ctxStore' has no member named 'cls'

mozjs.c:113: error: 'ctxStore' has no member named 'cls'

mozjs.c:114: error: 'ctxStore' has no member named 'cls'

mozjs.c:115: error: 'ctxStore' has no member named 'cls'

mozjs.c:115: error: 'JS_EnumerateStub' undeclared (first use in this function)

mozjs.c:116: error: 'ctxStore' has no member named 'cls'

mozjs.c:116: error: 'JS_ResolveStub' undeclared (first use in this function)

mozjs.c:117: error: 'ctxStore' has no member named 'cls'

mozjs.c:117: error: 'JS_ConvertStub' undeclared (first use in this function)

mozjs.c:118: error: 'ctxStore' has no member named 'cls'

mozjs.c:118: error: 'JS_FinalizeStub' undeclared (first use in this function)

mozjs.c:121: error: 'ctxStore' has no member named 'run'

mozjs.c:121: warning: implicit declaration of function 'JS_NewRuntime'

mozjs.c:122: error: 'ctxStore' has no member named 'ctx'

mozjs.c:122: warning: implicit declaration of function 'JS_NewContext'

mozjs.c:122: error: 'ctxStore' has no member named 'run'

mozjs.c:123: warning: implicit declaration of function 'JS_NewObject'

mozjs.c:123: error: 'ctxStore' has no member named 'ctx'

mozjs.c:123: error: 'ctxStore' has no member named 'cls'

mozjs.c:124: warning: implicit declaration of function 'JS_InitStandardClasses'

mozjs.c:124: error: 'ctxStore' has no member named 'ctx'

mozjs.c:127: warning: implicit declaration of function 'JS_DefineFunction'

mozjs.c:127: error: 'ctxStore' has no member named 'ctx'

mozjs.c:127: error: 'dnsResolve' undeclared (first use in this function)

mozjs.c:128: error: 'ctxStore' has no member named 'ctx'

mozjs.c:128: error: 'myIpAddress' undeclared (first use in this function)
mozjs.c:129: warning: implicit declaration of function 'JS_EvaluateScript'
mozjs.c:129: error: 'ctxStore' has no member named 'ctx'
mozjs.c:130: error: 'rval' undeclared (first use in this function)
mozjs.c:133: error: 'ctxStore' has no member named 'ctx'
mozjs.c:139: error: 'ctxStore' has no member named 'pac'
mozjs.c: In function 'mozjs_pacrunner':
mozjs.c:158: error: 'ctxStore' has no member named 'pac'
mozjs.c:158: error: 'ctxStore' has no member named 'pac'
mozjs.c:158: error: 'ctxStore' has no member named 'pac'
mozjs.c:158: error: 'ctxStore' has no member named 'pac'
mozjs.c:158: error: 'ctxStore' has no member named 'pac'
mozjs.c:158: error: 'ctxStore' has no member named 'pac'
mozjs.c:158: error: 'ctxStore' has no member named 'pac'
mozjs.c:158: error: 'ctxStore' has no member named 'pac'
mozjs.c:158: error: 'ctxStore' has no member named 'pac'
mozjs.c:158: error: 'ctxStore' has no member named 'pac'
mozjs.c:158: error: 'ctxStore' has no member named 'pac'
mozjs.c:158: error: 'ctxStore' has no member named 'pac'
mozjs.c:158: error: 'ctxStore' has no member named 'pac'
mozjs.c:158: error: 'ctxStore' has no member named 'pac'
mozjs.c:158: error: 'ctxStore' has no member named 'pac'
mozjs.c:158: error: 'ctxStore' has no member named 'pac'
mozjs.c:158: error: 'ctxStore' has no member named 'pac'
mozjs.c:158: error: 'ctxStore' has no member named 'pac'
mozjs.c:158: error: 'ctxStore' has no member named 'pac'
mozjs.c:158: error: 'ctxStore' has no member named 'pac'
mozjs.c:176: error: 'jsval' undeclared (first use in this function)
mozjs.c:176: error: expected ';' before 'args'
mozjs.c:182: error: expected ';' before 'rval'
mozjs.c:183: error: 'JSBool' undeclared (first use in this function)
mozjs.c:183: error: expected ';' before 'result'
mozjs.c:184: error: 'result' undeclared (first use in this function)
mozjs.c:185: warning: implicit declaration of function 'JS_GetStringBytes'
mozjs.c:185: warning: implicit declaration of function 'JS_ValueToString'
mozjs.c:185: error: 'ctxStore' has no member named 'ctx'
mozjs.c:185: error: 'rval' undeclared (first use in this function)
mozjs.c:185: warning: passing argument 1 of 'px_strdup' makes pointer from
integer without a cast
make[3]: *** [mozjs_la-mozjs.lo] Error 1
make[3]: Leaving directory `/home/david/apps/bld/gnome2/libproxy-0.2.3/src/plugins'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/david/apps/bld/gnome2/libproxy-0.2.3/src/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/david/apps/bld/gnome2/libproxy-0.2.3/src'
make: *** [all-recursive] Error 1
*** Error during phase build of libproxy: ########## Error running make   ***
[75/238]



-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


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