[
https://issues.apache.org/jira/browse/COUCHDB-826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12889207#action_12889207
]
Klaus Trainer commented on COUCHDB-826:
---------------------------------------
When running configure, you also have to set the LD_RUN_PATH accordingly, e.g.
(when using the xulrunner-1.9.2-dev package from Ubuntu 10.04):
LD_RUN_PATH=/usr/lib/xulrunner-1.9.2.6 ./configure
--with-js-lib=/usr/lib/xulrunner-devel-1.9.2.6/lib/
--with-js-include=/usr/lib/xulrunner-devel-1.9.2.6/include
afterwards (after running make && sudo make install), you also need to set the
LD_LIBRARY_PATH either permanently in your shell or always when starting
couchdb, e.g.:
sudo LD_LIBRARY_PATH=/usr/lib/xulrunner-1.9.2.6 /usr/local/bin/couchdb
I hope that helps.
> Can not compile CouchDB on Ubuntu Lucid with latest Spidermonkey
> ----------------------------------------------------------------
>
> Key: COUCHDB-826
> URL: https://issues.apache.org/jira/browse/COUCHDB-826
> Project: CouchDB
> Issue Type: Bug
> Components: Build System
> Affects Versions: 1.0
> Environment: Ubuntu Lucid with latest Spidermonkey
> Reporter: Vanson Samuel
>
> Configure goes through correctly however make fails due to an undefined
> reference to js_fgets. I am using the latest Spidermonkey directly from the
> repo. The configure, and make logs are included in the links below.
> ./configure --prefix=/opt/couchdb
> --with-erlang=/opt/erlang/lib/erlang/usr/include
> --with-js-include=/opt/js/include/js --with-js-lib=/opt/js/lib
> => http://pastie.org/1046491
> make
> => http://pastie.org/1046496
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.