Хотите сделать посильный вклад в развитие Ubuntu и русскоязычного сообщества? Помогите нам с документацией!
0 Пользователей и 1 Гость просматривают эту тему.
решение - у тя браузер не тупит ? мне однаж ды помогла переустановка firefox'а так как он загадился и не мог с ssl работать ( opera не ставь ток - она с ssl вообще не дружит )
./configure --with-openssl
#openssl [enter]ОpenSLL>
On Debian testing (Etch) or unstable (SID), run the following:Код: [Выделить]$ apt-get install libmozjs-devOn Debian stable (Sarge), run the following:Код: [Выделить]$ apt-get install libsmjs-devInstalling the -dev package will automatically pull in the library package.Once this is done, rebuild ELinks. The configure script should detect the SpiderMonkey library—check for this line in the features summary:ECMAScript (JavaScript) ......... SpiderMonkey document scriptingAfter following these instructions on a Debian system, you are done and should ignore the following directions.The rest is only for non-Debian system.Note that this procedure enables you to install SpiderMonkey, but in such a way that it might not work with anything else but ELinks. It is unlikely that anything else is ever going to use SpiderMonkey on your system, but if you want to take the safe way, get SM and follow the instructions in src/README.html instead. You will probably need to do some checkouting of bits of the Mozilla CVS tree and so, have fun.To get SpiderMonkey source, go at ftp://ftp.mozilla.org/pub/mozilla.org/js/ and fetch the newest js- tarball there (js-1.5-rc6a.tar.gz at the time of writing this; you may try the RPMs, but we didn't test them).Код: [Выделить]$ cd elinks$ wget ftp://ftp.mozilla.org/pub/mozilla.org/js/js-1.5-rc6a.tar.gz$ tar xvzf js-1.5-rc6a.tar.gzNext, you need to patch it so that you will have any chance to install it as you fetched it. Grab it in ELinks at contrib/js-1.5-rc6a+elinks.patch (if you have a different version, still try to go ahead, you might have some success), then go to the SpiderMonkey directory (called js) and apply it asКод: [Выделить]$ cd js$ patch -p1 <../contrib/js-1.5-rc6a+elinks.patch$ cd srcNow, edit config.mk and adjust the $PREFIX variable - you probably won't like the default value - ELinks will find it there, but your dynamic linker likely won't.E.g., for /usr/local installation:Код: [Выделить]$ sed 's#^PREFIX = /opt/spidermonkey#PREFIX = /usr/local#' < config.mk > config.mk.t$ mv -f config.mk.t config.mkNow you can finally go for it:Код: [Выделить]$ make -f Makefile.ref$ make -f Makefile.ref exportNow install it:Код: [Выделить]$ su -c 'make -f Makefile.ref install && (ldconfig -v | grep libjs)'Check for:libjs.so -> libjs.soIf you don't get such result, check that the library's installation path (e.g. /usr/local/lib) is present in /etc/ld.so.conf (man 8 ldconfig).If all went well, you can proceed to rebuild ELinks now. If something broke, see you on #elinks @ FreeNode or in the mailing list. You may add your options to ./configure as usual; SpiderMonkey should be autodetected.Код: [Выделить]$ cd ../..$ ./configureCheck for the following line in the features summary:ECMAScript (JavaScript) ......... SpiderMonkey document scriptingThen run:Код: [Выделить]$ make$ su -c 'make install'Enjoy.
$ apt-get install libmozjs-dev
$ apt-get install libsmjs-dev
$ cd elinks$ wget ftp://ftp.mozilla.org/pub/mozilla.org/js/js-1.5-rc6a.tar.gz$ tar xvzf js-1.5-rc6a.tar.gz
$ cd js$ patch -p1 <../contrib/js-1.5-rc6a+elinks.patch$ cd src
$ sed 's#^PREFIX = /opt/spidermonkey#PREFIX = /usr/local#' < config.mk > config.mk.t$ mv -f config.mk.t config.mk
$ make -f Makefile.ref$ make -f Makefile.ref export
$ su -c 'make -f Makefile.ref install && (ldconfig -v | grep libjs)'
$ cd ../..$ ./configure
$ make$ su -c 'make install'
Страница сгенерирована за 0.018 секунд. Запросов: 19.