From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (unknown [IPv6:2602:4b:a4d8:4b00:12bf:48ff:fe7c:5584]) by hurricane.the-brannons.com (Postfix) with ESMTPSA id 2E70D78432 for ; Sat, 8 Feb 2014 08:17:08 -0800 (PST) From: Chris Brannon To: Edbrowse-dev@lists.the-brannons.com References: <20140108095642.eklhad@comcast.net> Date: Sat, 08 Feb 2014 08:16:31 -0800 In-Reply-To: <20140108095642.eklhad@comcast.net> (Karl Dahlke's message of "Sat, 08 Feb 2014 09:56:42 -0500") Message-ID: <87d2ixfulc.fsf@mushroom.PK5001Z> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Edbrowse-dev] js shell X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.17 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Feb 2014 16:17:08 -0000 Karl Dahlke writes: > If you take this stand alone program and compile it > against the debian library does it run? It isn't quite standalone, as it uses headers private to mozjs, some of which are autogenerated. I can't seem to get it to build without building the whole libmozjs. On Debian, the libmozjs source is intertwined with the source for iceweasel, which is basically their rebranded firefox. So in order to build the js shell, I have to build a whole web browser! Or at the very least, I need to get through its ./configure phase. Unfortunately, that's going to require installing a bunch of development packages for GUI libraries, and my VM disk image just doesn't have enough space for that. They do package the JS shell, and it works fine, but it is statically linked against Spidermonkey. IMHO, that isn't a good test of whether the dynamic libmozjs library is working properly. A better question is this. Do they have any package that does link against the libmozjs dynamic library? Yes they do. Script started on Sat Feb 8 08:12:07 2014 chris@somehost:~$ apt-cache rdepends libmozjs24d libmozjs24d Reverse Depends: xulrunner-24.0 libmozjs24d-dbg libmozjs-dev chris@somehost:~$ apt-cache rdepends xulrunner-24.0 xulrunner-24.0 Reverse Depends: zotero-standalone |tuxguitar xulrunner-dev xulrunner-24.0-dbg iceweasel |conkeror chris@somehost:~$ exit exit Script done on Sat Feb 8 08:12:48 2014 So presumably all of that stuff that depends on xulrunner -- and indirectly on libmozjs -- works just fine. Can we conclude that their package doesn't have a bug and we're doing something wrong in JS initialization? -- Chris