You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Jan Lehnardt (JIRA)" <ji...@apache.org> on 2008/10/01 17:41:44 UTC
[jira] Created: (COUCHDB-132) Merge ./configure options
--with-js-include and --with-js-lib into --with-js
Merge ./configure options --with-js-include and --with-js-lib into --with-js
----------------------------------------------------------------------------
Key: COUCHDB-132
URL: https://issues.apache.org/jira/browse/COUCHDB-132
Project: CouchDB
Issue Type: Improvement
Components: Build System
Affects Versions: 0.9
Reporter: Jan Lehnardt
Priority: Minor
Spidermonkey, like most packages, uses a single $prefix directory under which headers and libraries are placed under include/ and lib/ subdirectories. So specifying both seems redundant.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
Re: [jira] Created: (COUCHDB-132) Merge ./configure options --with-js-include and --with-js-lib into --with-js
Posted by Paul Davis <pa...@gmail.com>.
There might be an issue with the different flavors of the js library.
On OS X it looks like SpiderMonkey's headers got installed into
/opt/local/include/js/*.h whereas on ubuntu, the package was installed
under /usr/include/mozjs/*.h
Given that the include is #include <jsapi.h> we'd have to assume that
when testing for the different versions in the ./configure script
things lived under $prefix/include/js or $prefix/include/mozjs
Not sure if that's the best thing to do or not.
On Wed, Oct 1, 2008 at 11:41 AM, Jan Lehnardt (JIRA) <ji...@apache.org> wrote:
> Merge ./configure options --with-js-include and --with-js-lib into --with-js
> ----------------------------------------------------------------------------
>
> Key: COUCHDB-132
> URL: https://issues.apache.org/jira/browse/COUCHDB-132
> Project: CouchDB
> Issue Type: Improvement
> Components: Build System
> Affects Versions: 0.9
> Reporter: Jan Lehnardt
> Priority: Minor
>
>
> Spidermonkey, like most packages, uses a single $prefix directory under which headers and libraries are placed under include/ and lib/ subdirectories. So specifying both seems redundant.
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>
[jira] Commented: (COUCHDB-132) Merge ./configure options
--with-js-include and --with-js-lib into --with-js
Posted by "Jan Lehnardt (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12638533#action_12638533 ]
Jan Lehnardt commented on COUCHDB-132:
--------------------------------------
I found out that some Linux distros use lib64 for 64-bit libraries,
so SpiderMonkey would live in /usr/local/include/*.h * /usr/local/lib64/*.so
So maybe we can add --with-js=/usr/local for the regular installs and
keep the separate options. We can also just close this request.
> Merge ./configure options --with-js-include and --with-js-lib into --with-js
> ----------------------------------------------------------------------------
>
> Key: COUCHDB-132
> URL: https://issues.apache.org/jira/browse/COUCHDB-132
> Project: CouchDB
> Issue Type: Improvement
> Components: Build System
> Affects Versions: 0.9
> Reporter: Jan Lehnardt
> Priority: Minor
>
> Spidermonkey, like most packages, uses a single $prefix directory under which headers and libraries are placed under include/ and lib/ subdirectories. So specifying both seems redundant.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.