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
Droidzone dz at droidzone.in writes:
I'm trying to compile elinks on a server on which I have non-root access.
I have downloaded Spidermonkey source, compiled it with
cd ~/source/js-1.8.5/js/src ; ./configure --prefix=/home/droidzone/myapps ;
make ; make install
If you want to compile
I tried the following.
Compiled spidermonkey:
cd js-1.8.5/js/src
./configure --prefix=/home/droidzone/myapps
make ; make install
Exported paths
export
PKG_CONFIG_PATH=/home/droidzone/myapps/lib:/home/droidzone/myapps:/home/droidzone/myapps/bin
export
I'm attaching the relevant part of config.log in case someone can help..
configure:8894: checking for SpiderMonkey (1.5 RC3a or later)
configure:8933: gcc -o conftest -g -O2 -Wall
-I/home/droidzone/myapps/include/js
-I/home/droidzone/myapps/include/js conftest.c
-L/home/droidzone/myapps/lib -ljs
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
Droidzone dz at droidzone.in writes:
./configure --prefix=/home/droidzone/myapps
Complete config.log of my last attempt: http://pastebin.com/zYt4hkZp
configure:9058: checking for SpiderMonkey (1.8.5 or later) in pkg-config
mozjs185
Package nspr was not found in the pkg-config search path.
Yes, that was it. It's configured and compiled. It doesnt open
javascript links at opensource.samsung.com, but I suppose that's out
of scope of the discussion.
Thank you for your help.
On Sat, Dec 1, 2012 at 11:18 PM, witekfl gglate...@gmail.com wrote:
Droidzone dz at droidzone.in writes: