jhbuild of 2.30 help needed (75/238) libproxy - where to get correct jsapi.h


	I'm trying to build 2.30 on openSuSE 11.0 (latest build from openSuSE is 2.2).
After a crash course on dependency resolution with jhbuild, I have made it to
module 75/238 (libproxy) which relies on the mozilla xulrunner jsapi.h header.
I have installed every version of mozilla mozilla-xulrunner192-devel I could
(contains jsapi.h), but no help. Any suggestions?

	The current hangup is:

 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\"
-I/opt/gnome2/include/xulrunner- -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
mozjs.c:32:19: error: jsapi.h: No such file or directory

mozjs.c:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before
mozjs.c:70: error: expected '=', ',', ';', 'asm' or '__attribute__' before
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: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   ***

	I suspect in this situation, I don't have the correct version of xulrunner
installed, but I have installed 190, 191, 192 which are all the versions
available and I still get this error.

	I would really like to get a newer version of gnome built on my laptop. Moving
to a later openSuSE release or another distro for this install is out of the
question due to the fglrx driver requirements for graphics (screwed by ATI/AMD
when they overnight made 'legacy' drivers out of all pre 2400 series hardware).
I had openSuSE 11.2 with gnome 2.28 on it, but had to downgrade to get
reasonable driver performance.

	I also have another drive for this laptop with Arch Linux on it (I live without
the driver there). It has a current gnome on it, but my daily driver is this
openSuSE 11.0 setup and will be until a new laptop is purchased.

	Aside from the immediate libproxy issue. If anyone knows a better way to update
gnome on this box, or any secret for meeting all the jhbuild dependencies before
kicking off the build, I am all ears :p

	Thanks for any help you can give.

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

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