couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Randall Leeds (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COUCHDB-562) link couchjs with bound libmozjs
Date Wed, 12 Jan 2011 00:54:46 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Randall Leeds updated COUCHDB-562:
----------------------------------

    Attachment: 0001-link-couchjs-w-mozjs-use-pkg-config-COUCHDB-562.patch

It's not a build dependency because it's only in configure.ac. Maybe I'm using non-standard
vocabulary, but I'd call that a "release dependency". configure is generated with calls to
the pkg-config binary conditional upon the identification of a valid pkg-config binary of
sufficient version (expanded from the PKG_PROG_PKG_CONFIG macro).

Also, looking back once more, here's a cleaner version of the patch. I don't think it's necessary
to change the build instructions at all since the INSTALL file already discusses that configure
will try to find things itself (all we've done is make it smarter at doing so). A note in
the changelog/news whenever this gets released would be sufficient to call awareness to the
feature.

> link couchjs with bound libmozjs
> --------------------------------
>
>                 Key: COUCHDB-562
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-562
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Build System
>    Affects Versions: 0.11
>         Environment: linux, ubuntu,debian
>            Reporter: Meno Abels
>             Fix For: 1.2
>
>         Attachments: 0001-link-couchjs-w-mozjs-use-pkg-config-COUCHDB-562.patch, couchdb-562.patch,
couchdb-562_2.patch, couchdb-562_3.patch, couchdb-mozjs-rpath.patch
>
>
> If you build the couchdb from the source with a prefix set and --with-js-[lib|include]
option the resulting couchjs programm in <prefix>/lib/couchdb/bin/couchjs does not know
where to find the specified libmozjs.so which was specified in with-js-lib. This causes that
quite all test will fail. 
> To fix this the rpath has to setup during the compile. I don't had a look where to do
this.
> but a small shell wrapper fix it also
> #!/bin/sh
> LD_LIBRARY_PATH=...  exec $0.orig $@

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message