Well. I couldnt get the old spidermonkey 1.7.0 to compile. But I tried with the latest git version of elinks 0.13 and js 1.8.5
Exported all the paths (overdid it I suppose) export PKG_CONFIG_PATH=/home/droidzone/myapps/lib:$PKG_CONFIG_PATH:/home/droidzone/myapps/lib/pkgconfig export LD_LIBRARY_PATH=/home/droidzone/myapps/lib:$PKG_CONFIG_PATH:/home/droidzone/myapps/lib/pkgconfig The config for spidermonkey was: ./configure --prefix=/home/droidzone/myapps Verified that the libs were present: droidzone@gooey:~/sources/elinks-0.13-20121201$ ls ~/myapps/lib/ libcord.a libgc.a libmozjs185-1.0.a libpanel.a libcord.la libgc.la libmozjs185.so libpanel_g.a libcord.so libgc.so libmozjs185.so.1.0 pkgconfig libcord.so.1 libgc.so.1 libmozjs185.so.1.0.0 terminfo libcord.so.1.0.3 libgc.so.1.0.3 libncurses++.a libform.a libmenu.a libncurses.a libform_g.a libmenu_g.a libncurses_g.a Configured elinks with all the options I could think of (even though I read that --with-spidermonkey=dir is deprecated in new version) ./configure --prefix=/home/droidzone/myapps ./configure --prefix=/home/droidzone/myapps --with-spidermonkey ./configure --prefix=/home/droidzone/myapps --with-spidermonkey=yes ./configure --prefix=/home/droidzone/myapps --with-spidermonkey=/home/droidzone/myapps ./configure --prefix=/home/droidzone/myapps --with-spidermonkey=/home/droidzone/myapps --includedir=/home/droidzone/myapps/lib ./configure --prefix=/home/droidzone/myapps --with-spidermonkey=/home/droidzone/myapps --includedir=/home/droidzone/myapps/include/js ./configure --prefix=/home/droidzone/myapps --includedir=/home/droidzone/myapps/include/js ./configure --prefix=/home/droidzone/myapps --includedir=/home/droidzone/myapps/include None of those work.. Complete config.log of my last attempt: http://pastebin.com/zYt4hkZp Is there a way to hardcode my directory into the script somehow? On Sat, Dec 1, 2012 at 8:03 PM, witekfl <gglate...@gmail.com> wrote: > Droidzone <dz <at> droidzone.in> writes: > >> >> I'm attaching the relevant part of config.log in case someone can help.. >> >> configure:8894: checking for SpiderMonkey (1.5 RC3a or later) > > Oops. > What I said before applies to 0.13. > For 0.12 compile js-1.7.0 and install and build elinks: > ./configure --with-spidermonkey=/path/to/js > > If that fails, try to --includedir=/path/to/js > > If that fails, try 0.13. > > > _______________________________________________ > elinks-users mailing list > elinks-users@linuxfromscratch.org > http://linuxfromscratch.org/mailman/listinfo/elinks-users _______________________________________________ elinks-users mailing list elinks-users@linuxfromscratch.org http://linuxfromscratch.org/mailman/listinfo/elinks-users