Getting a Gxine compile to see seamonkey/js
Posted: 12. Sep 2012, 22:03
The scenario: On a new LXDE 13.37 system am looking for a replacement for Whaaw! (no dvd sound, doesn't display a menu, and it looks not this was never resolved), and want to keep things small and basic, so no vlc, no qt, not too gnome-y and so forth. At my disposal are mplayer2 (for testing nanonote programs where it is the player) and xine-lib (needed for me-tv). So just a straight forward gtk front-end for either, so the thinking, and settled on Gxine, it seemed the best solution.
But have trouble with it compiling, and I am not the only one, have found things both here and on the internet, and just can't get it working. So before my frustration level gets too high, well, just ask. I've been able to work things out up till now with compiling, but don't know what to do here.
seamonkey-solibs 2.12.1-i486-1_slack13.37 is installed (not 2.1b3-486-2)
the ld.so-conf file contents:
/usr/local/lib
/usr/i486-slackware-linux/lib
and the error, on: [gxine-0.5.905]$ ./configure
...
configure: looking for the Spidermonkey Javascript library in various places.
configure: trying mozjs via pkgconfig xulrunner-js
checking for JS... no
configure: trying mozjs via pkgconfig mozilla-js
checking for JS... no
configure: trying mozjs via pkgconfig firefox-js
checking for JS... no
configure: trying mozjs via pkgconfig seamonkey-js
checking for JS... no
configure: trying mozjs, includes in /usr/include/mozilla/js
checking for mozilla/js/jsapi.h... no
configure: trying mozjs, includes in /usr/include/firefox/js
checking for firefox/js/jsapi.h... no
configure: trying mozjs, includes in /usr/include/firefox-1.5/js
checking for firefox-1.5/js/jsapi.h... no
configure: trying mozjs, includes in /usr/include/seamonkey/js
checking for seamonkey/js/jsapi.h... no
configure: error: libjs not found
And it has to do with the javascript and the seamonkey package, that gxine needs parts of this (libmozjs.so for example), and the compile isn't seeing it. That is my understanding anyway, but could be wrong. And tried various things. I could list them and will, but I thought since this seems a known problem was wondering if anyone could point the way.
But have trouble with it compiling, and I am not the only one, have found things both here and on the internet, and just can't get it working. So before my frustration level gets too high, well, just ask. I've been able to work things out up till now with compiling, but don't know what to do here.
seamonkey-solibs 2.12.1-i486-1_slack13.37 is installed (not 2.1b3-486-2)
the ld.so-conf file contents:
/usr/local/lib
/usr/i486-slackware-linux/lib
and the error, on: [gxine-0.5.905]$ ./configure
...
configure: looking for the Spidermonkey Javascript library in various places.
configure: trying mozjs via pkgconfig xulrunner-js
checking for JS... no
configure: trying mozjs via pkgconfig mozilla-js
checking for JS... no
configure: trying mozjs via pkgconfig firefox-js
checking for JS... no
configure: trying mozjs via pkgconfig seamonkey-js
checking for JS... no
configure: trying mozjs, includes in /usr/include/mozilla/js
checking for mozilla/js/jsapi.h... no
configure: trying mozjs, includes in /usr/include/firefox/js
checking for firefox/js/jsapi.h... no
configure: trying mozjs, includes in /usr/include/firefox-1.5/js
checking for firefox-1.5/js/jsapi.h... no
configure: trying mozjs, includes in /usr/include/seamonkey/js
checking for seamonkey/js/jsapi.h... no
configure: error: libjs not found
And it has to do with the javascript and the seamonkey package, that gxine needs parts of this (libmozjs.so for example), and the compile isn't seeing it. That is my understanding anyway, but could be wrong. And tried various things. I could list them and will, but I thought since this seems a known problem was wondering if anyone could point the way.