couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Noah Slater <nsla...@tumbolia.org>
Subject Re: ./bootstrap and/or ./configure not working on Linux
Date Sun, 07 Mar 2010 20:18:42 GMT
Please also run through:

http://wiki.apache.org/couchdb/Troubleshooting

On 7 Mar 2010, at 19:43, Paul Davis wrote:

> Are you looking for the command:
> 
>    $ JS_DIST=/usr/local/spidermonkey make -f Makefile.ref export
> 
> There are docs on the wiki that should help:
> 
> http://wiki.apache.org/couchdb/Installation
> 
> You might also want to check out the "Avoiding DYLD_LIBRARY_PATH" in
> the OS X instructions.
> 
> HTH,
> Paul Davis
> 
> On Sun, Mar 7, 2010 at 2:34 PM, j d <dobber1134@gmail.com> wrote:
>> Red Hat Enterprise Linux Server release 5.1 (Tikanga)
>> 
>> Autoconf 2.13 (because Mozilla said only that's the only version that
>> works for them).  It would be nice to know the proper Linux way of
>> keeping/referencing multiple versions of execs.  This may be my issue
>> for the latest attempts at bootstraping couchdb, however i still need
>> to solve the js-lib issue.
>> 
>> I am using absolute paths for the --with-js-* options but I didn't
>> have the LD_LIBRARY_PATH env var set.  It is set now
>> (/tmp/js/src/Linux_All_OPT.OBJ) but I get the same results from the
>> "./configure ****" execute.
>> 
>> In the interest of clarity:
>> 
>> I have spidermonkey 1.8RC1 in the following folder: /tmp/js/src (i
>> know it shouldn't be in tmp, not sure what's the best place?)
>> 
>> The contents of that directory are:
>> 
>> [
>> build.mk            jsdbgapi.h      jslocko.asm   jsscript.c
>> config              jsdhash.c       jslog2.c      jsscript.h
>> config.mk           jsdhash.h       jslong.c      jsshell.msg
>> CVS                 jsdtoa.c        jslong.h      jsstddef.h
>> editline            jsdtoa.h        jsmath.c      jsstr.c
>> fdlibm              jsdtracef.c     jsmath.h      jsstr.h
>> javascript-trace.d  jsdtracef.h     js.mdp        jstypes.h
>> js                  jsemit.c        js.msg        jsutil.c
>> js3240.rc           jsemit.h        jsnum.c       jsutil.h
>> jsapi.c             jsexn.c         jsnum.h       jsxdrapi.c
>> jsapi.h             jsexn.h         jsobj.c       jsxdrapi.h
>> jsarena.c           jsfile.c        jsobj.h       jsxml.c
>> jsarena.h           jsfile.h        jsopcode.c    jsxml.h
>> jsarray.c           jsfile.msg      jsopcode.h    Linux_All_DBG.OBJ
>> jsarray.h           jsfun.c         jsopcode.tbl  Linux_All_OPT.OBJ
>> jsatom.c            jsfun.h         jsOS240.def   liveconnect
>> jsatom.h            jsgc.c          jsotypes.h    lock_SunOS.s
>> jsbit.h             jsgc.h          jsparse.c     Makefile.in
>> jsbool.c            jshash.c        jsparse.h     Makefile.ref
>> jsbool.h            jshash.h        js.pkg        perfect.js
>> js.c                js_headers.txt  jsprf.c       plify_jsdhash.sed
>> jsclist.h           jsify.pl        jsprf.h       prmjtime.c
>> jscntxt.c           jsinterp.c      jsproto.tbl   prmjtime.h
>> jscntxt.h           jsinterp.h      jsprvtd.h     README.html
>> jscompat.h          jsinvoke.c      jspubtd.h     resource.h
>> jsconfig.h          jsiter.c        jsregexp.c    rules.mk
>> jsconfig.mk         jsiter.h        jsregexp.h    SpiderMonkey.rsp
>> jscpucfg.c          jskeyword.tbl   jsreops.tbl   win32.order
>> jscpucfg.h          jskwgen.c       jsscan.c      Y.js
>> jsdate.c            jslibmath.h     jsscan.h
>> jsdate.h            jslock.c        jsscope.c
>> jsdbgapi.c          jslock.h        jsscope.h
>> ]
>> 
>> The contents of /Linux_All_OPT.OBJ are:
>> [
>> js           jscntxt.o   jsemit.o    jskwgen    jsobj.d     jsscript.d
>> jsapi.d      jscpucfg    jsexn.d     jskwgen.d  jsobj.o     jsscript.o
>> jsapi.o      jscpucfg.d  jsexn.o     jskwgen.o  jsopcode.d  jsstr.d
>> jsarena.d    jscpucfg.o  jsfun.d     jslock.d   jsopcode.o  jsstr.o
>> jsarena.o    js.d        jsfun.o     jslock.o   jsparse.d   jsutil.d
>> jsarray.d    jsdate.d    jsgc.d      jslog2.d   jsparse.o   jsutil.o
>> jsarray.o    jsdate.o    jsgc.o      jslog2.o   jsprf.d     jsxdrapi.d
>> jsatom.d     jsdbgapi.d  jshash.d    jslong.d   jsprf.o     jsxdrapi.o
>> jsatom.o     jsdbgapi.o  jshash.o    jslong.o   jsregexp.d  jsxml.d
>> jsautocfg.h  jsdhash.d   jsinterp.o  jsmath.d   jsregexp.o  jsxml.o
>> jsautokw.h   jsdhash.o   jsinvoke.d  jsmath.o   jsscan.d    libjs.a
>> jsbool.d     jsdtoa.d    jsinvoke.o  jsnum.d    jsscan.o    libjs.so
>> jsbool.o     jsdtoa.o    jsiter.d    jsnum.o    jsscope.d   prmjtime.d
>> jscntxt.d    jsemit.d    jsiter.o    js.o       jsscope.o   prmjtime.o
>> ]
>> 
>> (note: the .so file is in there to)
>> 
>> So to recap
>> 
>> LD_LIBRARY_PATH is set to /tmp/js/src/Linux_All_OPT.OBJ
>> 
>> ./configure --with-js-include=/tmp/js/src
>> --with-js-lib=/tmp/js/src/Linux_All_OPT.OBJ
>> 
>> thanks again.
>> 


Mime
View raw message