incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Sacks" <dennis.sa...@gmail.com>
Subject Re: building couchdb from svn
Date Thu, 17 Apr 2008 14:23:45 GMT
I compiled spidermonkey myself and copied the library files to
/usr/local/lib and the header files to /usr/local/include/js

I applied the patch, reran bootstrap and during configure am getting the
same error, so I'm not sure its the same issue.

Dennis

On Thu, Apr 17, 2008 at 5:14 AM, Matt Goodall <matt.goodall@gmail.com>
wrote:

> On 17/04/2008, Dennis Sacks <dennis.sacks@gmail.com> wrote:
> > Matt, after I apply that patch, do I just run ./configure again or do I
> need
> >  to do something else first? I don't know how configure.ac gets used in
> the
> >  process ...
>
> Sorry, I think you need to run the bootstrap script again ...
>
>    $ ./bootstrap -C
>    [...]
>    $ ./configure
>    [...]
>
> Hopefully configure will complete correctly this time and you'll be
> good to "make && make install".
>
> Oh, just to check the obvious ;-) ... you do have the spidermonkey
> development package installed right? Many Linux distributions split
> packages into dev and non-dev; for example, it's called libmozjs-dev
> on Ubuntu.
>
> Hope this helps.
>
> - Matt
>
>
> >  On Thu, Apr 17, 2008 at 4:53 AM, Matt Goodall <matt.goodall@gmail.com>
> >  wrote:
> >
> >
> >  > On 17/04/2008, Dennis Sacks <dennis.sacks@gmail.com> wrote:
> >  > > ./configure  outout errors with this:
> >  > >
> >  > >  checking for JS_NewContext in -ljs... no
> >  > >  checking for JS_NewContext in -lmozjs... no
> >  > >
> >  > >  configure: error: Could not find the js library.
> >  > >
> >  > >  Is the Mozilla SpiderMonkey library installed?
> >  > >
> >  > >  I specified --with-js-lib=/usr/local/lib or without (doesn't seem
> to
> >  > matter)
> >  > >
> >  > >  libjs.so is in /usr/local/lib, and /usr/local/lib is in the ld
> cache. I
> >  > >  verified JS_NewContext exists as a symbol in libjs.so ...
> >  > >
> >  > >  Help?!
> >  > >
> >  >
> >  > Try applying the attached patch to configure.ac.
> >  >
> >  > I had this problem on an Ubuntu machine. gcc doesn't seem to like
> >  > having non-existent directories, e.g. /opt/local, in its paths.
> >  >
> >  > Let me know if it works for you too and I'll submit a patch to the
> >  > issues tracker.
> >  >
> >  > - Matt
> >  >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message