[elinks-users] spidermonkey debs?
There are some spidermonkey debs in the sarge repository. Are they of any use to elinks or should I follow the recommendations in ecmascript.txt and install sm from source? If the latter, has anyone done this recently and could confirm that the ecmascript.txt guide is up-to-date? Thanks, cga ___ elinks-users mailing list elinks-users@linuxfromscratch.org http://linuxfromscratch.org/mailman/listinfo/elinks-users
Re: [elinks-users] spidermonkey debs?
On Mon, Jul 03, 2006 at 05:43:01PM -0400, cga2000 wrote: There are some spidermonkey debs in the sarge repository. Are they of any use to elinks or should I follow the recommendations in ecmascript.txt and install sm from source? Follow the instructions. If the latter, has anyone done this recently and could confirm that the ecmascript.txt guide is up-to-date? I build ELinks on Debian with Debian's SpiderMonkey package. The instructions are up-to-date and should work in stable, testing, or unstable. In testing and unstable, the necessary packages are actually named libmozjs instead of libsmjs, but there are dummy packages with the old names that will pull in the packages with the new names, so the instructions in doc/ecmascript.txt still work in testing and unstable. Please report any problems on IRC or here on the list. Thanks, -- Miciah Masters [EMAIL PROTECTED] / [EMAIL PROTECTED] ___ elinks-users mailing list elinks-users@linuxfromscratch.org http://linuxfromscratch.org/mailman/listinfo/elinks-users
Re: [elinks-users] spidermonkey debs?
On Mon, Jul 03, 2006 at 10:32:41PM +, Miciah Dashiel Butler Masters wrote: On Mon, Jul 03, 2006 at 05:43:01PM -0400, cga2000 wrote: There are some spidermonkey debs in the sarge repository. Are they of any use to elinks or should I follow the recommendations in ecmascript.txt and install sm from source? Follow the instructions. [...] Sorry, that was an unclear answer. Follow the instructions that say to use apt-get. You don't need to do anything but apt-get install libsmjs-dev (libsmjs1 should automatically be pulled in with the -dev package), run ELinks's autogen.sh script (if you downloaded ELinks using GIT), run ELinks's configure script, and make. -- Miciah Masters [EMAIL PROTECTED] / [EMAIL PROTECTED] ___ elinks-users mailing list elinks-users@linuxfromscratch.org http://linuxfromscratch.org/mailman/listinfo/elinks-users
Re: [elinks-users] spidermonkey debs?
On Mon, Jul 03, 2006 at 06:32:41PM EDT, Miciah Dashiel Butler Masters wrote: [..] Please report any problems on IRC or here on the list. The install went very smoothly - both sm and elinks. I checked what was specified in the install guide: libjs.so - libjs.so Ecmascript SpiderMonkey .. looked ok to me. When I tried to start the new version in /usr/local/bin: $ elinks .. gives me a elinks: error while loading shared libraries: libjs.so: cannot open shared object file: No such file or directory I did an ldconfig just in case.. no joy.. Then I did a $ dpkg -l *libjs* and it tells me this: pn libjs0 ... pn libjs0-dev pn libjsw-dev pn libjsw1.5 pn libjsw2 .. looks like the javascript libs are not installed..? Should I apt-get any of these packages? Thanks, cga ___ elinks-users mailing list elinks-users@linuxfromscratch.org http://linuxfromscratch.org/mailman/listinfo/elinks-users
Re: [elinks-users] spidermonkey debs?
On Mon, Jul 03, 2006 at 07:01:14PM -0400, cga2000 wrote: When I tried to start the new version in /usr/local/bin: Run the command: ``ldconfig'' as root. -- Thomas Adam -- If I were a witch's hat, sitting on her head like a paraffin stove, I'd fly away and be a bat. -- Incredible String Band. ___ elinks-users mailing list elinks-users@linuxfromscratch.org http://linuxfromscratch.org/mailman/listinfo/elinks-users
Re: [elinks-users] spidermonkey debs?
On Mon, Jul 03, 2006 at 07:01:14PM -0400, cga2000 wrote: On Mon, Jul 03, 2006 at 06:32:41PM EDT, Miciah Dashiel Butler Masters wrote: [..] Please report any problems on IRC or here on the list. The install went very smoothly - both sm and elinks. I checked what was specified in the install guide: libjs.so - libjs.so Ecmascript SpiderMonkey .. looked ok to me. When I tried to start the new version in /usr/local/bin: $ elinks .. gives me a elinks: error while loading shared libraries: libjs.so: cannot open shared object file: No such file or directory I did an ldconfig just in case.. no joy.. Then I did a $ dpkg -l *libjs* and it tells me this: pn libjs0 ... pn libjs0-dev pn libjsw-dev pn libjsw1.5 pn libjsw2 .. looks like the javascript libs are not installed..? Try `dpkg -l lib*js*`. libjs0 is an entirely different ECMAScript engine, one which ELinks does not support, while libjsw is some library for joysticks. The packages that you need are libsmjs1 and libsmjs-dev (for the current stable) or libmozjs0d and libmozjs-dev (for testing or unstable). What release of Debian are you using? It looks like the instructions need to be more explicit: if you can apt-get install libsmjs-dev, none of the other instructions need be followed. Should I apt-get any of these packages? Did you run `apt-get install libsmjs-dev`? Can you provide the output of `ldd elinks`? This will tell which libraries ELinks was built to use. -- Miciah Masters [EMAIL PROTECTED] / [EMAIL PROTECTED] ___ elinks-users mailing list elinks-users@linuxfromscratch.org http://linuxfromscratch.org/mailman/listinfo/elinks-users
Re: [elinks-users] spidermonkey debs?
On Mon, Jul 03, 2006 at 06:49:47PM EDT, Miciah Dashiel Butler Masters wrote: On Mon, Jul 03, 2006 at 10:32:41PM +, Miciah Dashiel Butler Masters wrote: On Mon, Jul 03, 2006 at 05:43:01PM -0400, cga2000 wrote: There are some spidermonkey debs in the sarge repository. Are they of any use to elinks or should I follow the recommendations in ecmascript.txt and install sm from source? Follow the instructions. [...] Sorry, that was an unclear answer. Follow the instructions that say to use apt-get. You don't need to do anything but apt-get install libsmjs-dev (libsmjs1 should automatically be pulled in with the -dev package), apt-got the two packages and dpkg confirms that both are ii - installed run ELinks's autogen.sh script hmm.. I only did a ./configure - taking all the defaults. can I just start over with the same source tree or just delete it and go back to the tar xzvf step for a fresh start? (if you downloaded ELinks using GIT), I probably downloaded it from the download page on the elinks web site. The downloaded file is: elinks-0.11.1.tar.bz2 What is GIT..?? do I need the GIT version rather than the standard one? run ELinks's configure script, and make. apart from the skipped autogen step that's exactly what I did. Thanks, cga ___ elinks-users mailing list elinks-users@linuxfromscratch.org http://linuxfromscratch.org/mailman/listinfo/elinks-users
Re: [elinks-users] spidermonkey debs?
On Mon, Jul 03, 2006 at 07:18:52PM EDT, Miciah Dashiel Butler Masters wrote: On Mon, Jul 03, 2006 at 07:01:14PM -0400, cga2000 wrote: On Mon, Jul 03, 2006 at 06:32:41PM EDT, Miciah Dashiel Butler Masters wrote: [..] Try `dpkg -l lib*js*`. the entire output is: ii libijs-0.35 0.35-1 pn libijs-devnone pn libjs0none pn libjs0-devnone pn libjsw-devnone pn libjsw1.5 none pn libjsw2 none pn libkjsembed-dev none pn libkjsembed1 none pn libroxen-jsredirect none ii libsmjs-dev 1.5rc6a-1 ii libsmjs1 1.5rc6a-1 pn libtk-objscanner-perl none un libwfnetobjs-dev none pn libwfnetobjs0 none pn libwfnetobjs0-dev none libjs0 is an entirely different ECMAScript engine, one which ELinks does not support, while libjsw is some library for joysticks. The packages that you need are libsmjs1 and libsmjs-dev (for the current stable) or libmozjs0d and libmozjs-dev (for testing or unstable). What release of Debian are you using? stable (sarge) It looks like the instructions need to be more explicit: if you can apt-get install libsmjs-dev, none of the other instructions need be followed. Should I apt-get any of these packages? Did you run `apt-get install libsmjs-dev`? absolutely. I didn't feel like taking any chances so I just copied/pasted the commands in ecmascript.txt Can you provide the output of `ldd elinks`? This will tell which libraries ELinks was built to use. libX11.so.6 = /usr/X11R6/lib/libX11.so.6 (0x4002a000) libjs.so = not found libdl.so.2 = /lib/libdl.so.2 (0x400f1000) libz.so.1 = /usr/lib/libz.so.1 (0x400f5000) libexpat.so.1 = /usr/lib/libexpat.so.1 (0x40107000) libc.so.6 = /lib/libc.so.6 (0x40127000) /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000) confirms it's missing that libjs.. Thanks, cga ___ elinks-users mailing list elinks-users@linuxfromscratch.org http://linuxfromscratch.org/mailman/listinfo/elinks-users
Re: [elinks-users] spidermonkey debs?
On Mon, Jul 03, 2006 at 07:18:52PM EDT, Miciah Dashiel Butler Masters wrote: ok.. what you said about the debian packages providing different support finally connected. I read the ldconfig manual.. took a quick look at /etc/ldconfig.so.conf and sure enough.. there was no /usr/local/lib.. So I added it.. ldconfig'd.. and elinks came up ok. Makes sense that by default debian stable only uses the trusted lib locations. Sorry I was unable to figure this out more promptly. Now what can I do to verify that ecma support actually works? Thanks cga ___ elinks-users mailing list elinks-users@linuxfromscratch.org http://linuxfromscratch.org/mailman/listinfo/elinks-users
Re: [elinks-users] spidermonkey debs?
On Mon, Jul 03, 2006 at 08:42:05PM -0400, cga2000 wrote: On Mon, Jul 03, 2006 at 07:18:52PM EDT, Miciah Dashiel Butler Masters wrote: On Mon, Jul 03, 2006 at 07:01:14PM -0400, cga2000 wrote: On Mon, Jul 03, 2006 at 06:32:41PM EDT, Miciah Dashiel Butler Masters wrote: [..] Try `dpkg -l lib*js*`. the entire output is: ii libijs-0.35 0.35-1 pn libijs-devnone pn libjs0none pn libjs0-devnone pn libjsw-devnone pn libjsw1.5 none pn libjsw2 none pn libkjsembed-dev none pn libkjsembed1 none pn libroxen-jsredirect none ii libsmjs-dev 1.5rc6a-1 ii libsmjs1 1.5rc6a-1 pn libtk-objscanner-perl none un libwfnetobjs-dev none pn libwfnetobjs0 none pn libwfnetobjs0-dev none [...] Can you provide the output of `ldd elinks`? This will tell which libraries ELinks was built to use. libX11.so.6 = /usr/X11R6/lib/libX11.so.6 (0x4002a000) libjs.so = not found libdl.so.2 = /lib/libdl.so.2 (0x400f1000) libz.so.1 = /usr/lib/libz.so.1 (0x400f5000) libexpat.so.1 = /usr/lib/libexpat.so.1 (0x40107000) libc.so.6 = /lib/libc.so.6 (0x40127000) /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000) [...] This is rather strange. Could you supply the output of these commands? find /usr/lib /lib /opt/spidermonkey /opt/js -name libjs\* -o -name libsmjs\* grep SPIDERMONKEY Makefile.config Could you also attach config.log? A possible work-around is to find this like in configure: for spidermonkeylib in js smjs; do and delete the word 'js'. -- Miciah Masters [EMAIL PROTECTED] / [EMAIL PROTECTED] ___ elinks-users mailing list elinks-users@linuxfromscratch.org http://linuxfromscratch.org/mailman/listinfo/elinks-users
Re: [elinks-users] spidermonkey debs?
On Mon, Jul 03, 2006 at 08:56:59PM -0400, cga2000 wrote: On Mon, Jul 03, 2006 at 07:18:52PM EDT, Miciah Dashiel Butler Masters wrote: ok.. what you said about the debian packages providing different support finally connected. I read the ldconfig manual.. took a quick look at /etc/ldconfig.so.conf and sure enough.. there was no /usr/local/lib.. There shouldn't be, unless you are using libraries that didn't come with Debian. Is it possible that you have an old copy of SpiderMonkey that you built yourself and put in /usr/local? So I added it.. ldconfig'd.. and elinks came up ok. Makes sense that by default debian stable only uses the trusted lib locations. Sorry I was unable to figure this out more promptly. Now what can I do to verify that ecma support actually works? Check the Help - About dialogue. It should list 'ECMAScript (SpiderMonkey)'. There are some test pages under test/ecmascript in the ELinks source tree. Note that while the SpiderMonkey library provides a complete language implementation, the interface by which scripts can manipulate the document (DOM) is not supported by ELinks, which severely hinders most document scripts. -- Miciah Masters [EMAIL PROTECTED] / [EMAIL PROTECTED] ___ elinks-users mailing list elinks-users@linuxfromscratch.org http://linuxfromscratch.org/mailman/listinfo/elinks-users
Re: [elinks-users] spidermonkey debs?
On Mon, Jul 03, 2006 at 09:17:05PM EDT, Miciah Dashiel Butler Masters wrote: On Mon, Jul 03, 2006 at 08:56:59PM -0400, cga2000 wrote: On Mon, Jul 03, 2006 at 07:18:52PM EDT, Miciah Dashiel Butler Masters wrote: ok.. what you said about the debian packages providing different support finally connected. I read the ldconfig manual.. took a quick look at /etc/ldconfig.so.conf and sure enough.. there was no /usr/local/lib.. There shouldn't be, unless you are using libraries that didn't come with Debian. Is it possible that you have an old copy of SpiderMonkey that you built yourself and put in /usr/local? no. Looks like what happened is that standard .debs never install libs under /usr/local. As a result, since ldconfig - at least the version that comes with debian does not look at /usr/local/lib unless directed to do so by and entry in /etc/ldconfig.so.conf. I didn't mention earlier that before I added /usr/local/lib to my configuration, I checked the timestamp on /usr/local/lib/libjs.so. As far as I can tell, everything would appear to be in order. So I added it.. ldconfig'd.. and elinks came up ok. Makes sense that by default debian stable only uses the trusted lib locations. Sorry I was unable to figure this out more promptly. Now what can I do to verify that ecma support actually works? Check the Help - About dialogue. It should list 'ECMAScript (SpiderMonkey)'. .. hmm.. rather perplexing.. I had done a: $ elinks -version and that told me that ecmascript was enabled: ELinks 0.11.1 (built on Jul 3 2006 18:51:37) Features: Standard, IPv6, gzip, Periodic Saving, Timer, Cascading Style Sheets, Protocol (File, FTP, HTTP, URI rewrite, User protocols), MIME (Option system, Mailcap, Mimetypes files), LED indicators, Bookmarks, Cookies, ECMAScript, Form History, Global History, Scripting (ECMAScript scripting engine), Goto URL History, Search History .. or so I thought. the About dialog, otoh, does not mention anything. There are some test pages under test/ecmascript in the ELinks source tree. Note that while the SpiderMonkey library provides a complete language implementation, the interface by which scripts can manipulate the document (DOM) is not supported by ELinks, which severely hinders most document scripts. So, I tried the test pages and some actions give me a popup that says that JavaScript is not enabled. I loaded the same test pages in mozilla but since I don't know anything about js I'm not sure what's supposed to happen in elinks. Not sure what's happening. Thanks cga ___ elinks-users mailing list elinks-users@linuxfromscratch.org http://linuxfromscratch.org/mailman/listinfo/elinks-users
Re: [elinks-users] spidermonkey debs?
On Mon, Jul 03, 2006 at 09:17:05PM EDT, Miciah Dashiel Butler Masters wrote: [..] Now what can I do to verify that ecma support actually works? Check the Help - About dialogue. It should list 'ECMAScript (SpiderMonkey)'. There are some test pages under test/ecmascript in the ELinks source tree. Note that while the SpiderMonkey library provides a complete language implementation, the interface by which scripts can manipulate the document (DOM) is not supported by ELinks, which severely hinders most document scripts. could kick myself for wasting your time over this. I had left a gnu/screen session running on a linux console and this regrettably included an autostarted instance of my previous version of elinks. I had read somewhere about there being a master instance of elinks so-to-speak.. and that other instances just connect to this master instance. Obviously, I do not have any understanding of the implications beyond whatever you do.. don't leave an instance of elinks running when making changes.. never mind recompiling.. So I guess that's what caused all the fuss. In any event I now have the Sripting feature in the About dialogue and I'm not getting any more of these JavaScript is not enabled messages. Pity I can't remember any of the (few) instances where I ran into a problem when js was not enabled.. Thanks much for all the help and all apologies for the confusion. cga ___ elinks-users mailing list elinks-users@linuxfromscratch.org http://linuxfromscratch.org/mailman/listinfo/elinks-users
Re: [elinks-users] spidermonkey debs?
On Tue, Jul 04, 2006 at 01:09:11AM -0400, cga2000 wrote: On Mon, Jul 03, 2006 at 09:17:05PM EDT, Miciah Dashiel Butler Masters wrote: [..] Now what can I do to verify that ecma support actually works? Check the Help - About dialogue. It should list 'ECMAScript (SpiderMonkey)'. There are some test pages under test/ecmascript in the ELinks source tree. Note that while the SpiderMonkey library provides a complete language implementation, the interface by which scripts can manipulate the document (DOM) is not supported by ELinks, which severely hinders most document scripts. could kick myself for wasting your time over this. I had left a gnu/screen session running on a linux console and this regrettably included an autostarted instance of my previous version of elinks. I had read somewhere about there being a master instance of elinks so-to-speak.. and that other instances just connect to this master instance. Obviously, I do not have any understanding of the implications beyond whatever you do.. don't leave an instance of elinks running when making changes.. never mind recompiling.. So I guess that's what caused all the fuss. In any event I now have the Sripting feature in the About dialogue and I'm not getting any more of these JavaScript is not enabled messages. Pity I can't remember any of the (few) instances where I ran into a problem when js was not enabled.. Thanks much for all the help and all apologies for the confusion. No problem. The forgotten master session only explains one of the problems. I am still curious about how the configure script found SpiderMonkey, yet you had a binary that clearly was trying to link with a non-existent library. I still don't understand how /usr/local came into this--Debian packages should not store anything relevant under there. I'd like to understand these problems so that they might be avoided by other users. In any case, have fun with ECMAScript! -- Miciah Masters [EMAIL PROTECTED] / [EMAIL PROTECTED] ___ elinks-users mailing list elinks-users@linuxfromscratch.org http://linuxfromscratch.org/mailman/listinfo/elinks-users
[elinks-users] New elinks user - three months of happiness..!!
While messing up this ECMAscript install I couldn't help notice that it's about three months now since I first installed a 256-color-enabled elinks and switched over from mozilla for just about all my web-surfing activities. The only exception being paying bills online banking. I must say that although I have done very little in the way of customization I am very satisfied with the experience. Fast rendering, sensible keyboard shortcuts, in particular, have made all the difference. I would really hate to have to go back to mozilla! The only serious problem where I am concerned is the limitations with the rendering of certain sites that have this newspaper-style multi-column presentation such as slashdot. I understand that this is due to imperfect css rendering support with the current version of elinks and I just hope this will improve at some point in the future. I also have a minor problem with sites that use a screen-wide color background to highlight headings. But this may be due to my terminal (xterm+gnu/screen) configuration. I have this problem with the gentoo main page for instance and would be curious to know if others see the same thing I am seeing. One little thing that I am missing is the absence of any indication of how far down I am into a given page. Something like a percentage indication would be especially useful for some lengthy pages such as collections of mailing list archives. I guess everybody else uses the underlying terminal's scrollbar for this (?) .. I use a fullscreen terminal with no scrollbar and sometimes - especially when searching - I'm a little lost. Anyway, thanks a lot for developing/maintaing this excellent piece of software and for all the tips and quality support. cga ___ elinks-users mailing list elinks-users@linuxfromscratch.org http://linuxfromscratch.org/mailman/listinfo/elinks-users