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 -ld\
l  -lz >&5
/usr/bin/ld: cannot find -ljs
collect2: ld returned 1 exit status
configure:8933: $? = 1
configure: failed program was:
| /* confdefs.h */
...................
| /* end confdefs.h.  */
| #define XP_UNIX
|                                                    #include <jsapi.h>
| int
| main ()
| {
| JS_GetReservedSlot(NULL, NULL, 0, NULL)
|   ;
|   return 0;
| }
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 -lsmjs -\
ldl  -lz >&5
/usr/bin/ld: cannot find -lsmjs
collect2: ld returned 1 exit status
configure:8933: $? = 1
configure: failed program was:
| /* confdefs.h */
...........
|                                                    #include <jsapi.h>
| int
| main ()
| {
| JS_GetReservedSlot(NULL, NULL, 0, NULL)
|   ;
|   return 0;
| }
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 -lmozjs \
-ldl  -lz >&5
/usr/bin/ld: cannot find -lmozjs
collect2: ld returned 1 exit status
configure:8933: $? = 1
configure: failed program was:
| /* confdefs.h */
 >>>>>>>>>>>>>>>>>>>>>>>>>>>> etc

On Sat, Dec 1, 2012 at 7:31 PM, Droidzone <d...@droidzone.in> wrote:
> 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 LD_LIBRARY_PATH=/home/droidzone/myapps/lib:/home/droidzone/myapps
>
> Cpnfigured elinks
> cd ~/sources/elinks-0.12-20121201
> ./configure --prefix=/home/droidzone/myapps --with-spidermonkey=yes
>
> It still doesnt find spidermonkey:
> ECMAScript (JavaScript) ......... no
> Browser scripting ............... no
>
>
> On Sat, Dec 1, 2012 at 4:29 PM, witekfl <gglate...@gmail.com> wrote:
>>
>> PKG_CONFIG_PATH


>
> _______________________________________________
> 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

Reply via email to