Mailinglist Archive: opensuse-gnome (41 mails)

< Previous Next >
[opensuse-gnome] jhbuild of 2.30 help needed (75/238) libproxy - where to get correct jsapi.h
  • From: "David C. Rankin" <drankinatty@xxxxxxxxxxxxxxxxxx>
  • Date: Wed, 24 Feb 2010 14:42:18 -0600
  • Message-id: <4B858F2A.2050805@xxxxxxxxxxxxxxxxxx>
Guys,

I'm trying to build 2.30 on openSuSE 11.0 (latest build from openSuSE
is the
three year old 2.22). 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. There was no help from the user list, so it was
suggested I try here. 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@xxxxxxxxxxxxxxxx\" -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'

<snip>

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]

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
www.rankinlawfirm.com

--
To unsubscribe, e-mail: opensuse-gnome+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-gnome+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups