You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Vanson Samuel (JIRA)" <ji...@apache.org> on 2010/07/16 02:26:49 UTC
[jira] Created: (COUCHDB-826) Can not compile CouchDB on Ubuntu
Lucid with latest Spidermonkey
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.
[jira] Commented: (COUCHDB-826) Can not compile CouchDB on Ubuntu
Lucid with latest Spidermonkey
Posted by "Vanson Samuel (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12890274#action_12890274 ]
Vanson Samuel commented on COUCHDB-826:
---------------------------------------
I wasn't using the xullrunner package. Installing that solved the problem. Thanks Klaus.
> 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.
[jira] Commented: (COUCHDB-826) Can not compile CouchDB on Ubuntu
Lucid with latest Spidermonkey
Posted by "Vanson Samuel (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12889211#action_12889211 ]
Vanson Samuel commented on COUCHDB-826:
---------------------------------------
This might be it. I will check this and confirm tonight. Thanks!
> 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.
[jira] Commented: (COUCHDB-826) Can not compile CouchDB on Ubuntu
Lucid with latest Spidermonkey
Posted by "Klaus Trainer (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Closed: (COUCHDB-826) Can not compile CouchDB on Ubuntu
Lucid with latest Spidermonkey
Posted by "Vanson Samuel (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vanson Samuel closed COUCHDB-826.
---------------------------------
Resolution: Fixed
> 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.