couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Joseph Davis (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COUCHDB-562) link couchjs with bound libmozjs
Date Wed, 12 Jan 2011 01:28:46 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12980485#action_12980485
] 

Paul Joseph Davis commented on COUCHDB-562:
-------------------------------------------

That looks fine to me. If I were in a worse mood I would argue in favor of not setting the
defaults in the failure branch of pkg-config because of cognitive ease of understanding, but
its not something I'm gonna fight for at this point.

Oh, you mean the pkg-config macro as a dependency. We'll need to get Noah's opinion on that
because I'm not entirely certain on how those pieces fit together. For instance we ship the
icu and curl m4 macros for some reason. I was originally concerned about pkg-config itself
and you confused me.

I was only thinking to change the install to signal to the people that previously needed the
--with* vars for xul-runner on linux but will no longer need that. I think adding it to NEWS/CHANGES
would accomplish that goal just as nicely and probably even more efficiently cause its not
part of a diff that people would have to re-read INSTALL and notice.



> 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