You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "A. Bram Neijt (JIRA)" <ji...@apache.org> on 2010/11/22 13:55:13 UTC

[jira] Created: (COUCHDB-960) Have configure work without flags on Debian/Ubuntu

Have configure work without flags on Debian/Ubuntu
--------------------------------------------------

                 Key: COUCHDB-960
                 URL: https://issues.apache.org/jira/browse/COUCHDB-960
             Project: CouchDB
          Issue Type: Wish
          Components: Build System
    Affects Versions: 1.0.1
            Reporter: A. Bram Neijt
            Priority: Minor


On a Debian/Ubuntu system, you have to help configure to find the JS library:

xulrunner_gre_version=`xulrunner --gre-version`
./configure --with-js-lib=/usr/lib/xulrunner-devel-${xulrunner_gre_version}/lib/ --with-js-include=/usr/lib/xulrunner-devel-${xulrunner_gre_version}/include/ && make

It seems that Yelp is able to do this on it's own using special m4 macros[1].

I would like the CouchDB configure script to be able to find the JS library without requiring extra arguments.

[1] http://www.google.com/codesearch/p?#ErvFMsc8kPE/pub/GNOME/desktop/2.16/2.16.0/sources/yelp-2.16.0.tar.gz|U-t_e2pgMiw/yelp-2.16.0/configure.in
      http://www.google.com/codesearch/p?#ErvFMsc8kPE/pub/GNOME/desktop/2.16/2.16.0/sources/yelp-2.16.0.tar.gz|U-t_e2pgMiw/yelp-2.16.0/m4/gecko.m4&d=8


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


[jira] [Closed] (COUCHDB-960) Have configure work without flags on Debian/Ubuntu

Posted by "Randall Leeds (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Randall Leeds closed COUCHDB-960.
---------------------------------

       Resolution: Not A Problem
    Fix Version/s: 1.1.1

As of CouchDB 1.1.1 I think this works fine on sufficiently new Ubuntu/Debian. We test for 3 different versions of spidermonkey and do so in a way that should work with any properly configured paths.

I'll open a new ticket to support "js-config" at some point, but I think there were issues with it last I checked (some options when building spidermonkey break js-config, so it cannot be relied upon to exist).
                
> Have configure work without flags on Debian/Ubuntu
> --------------------------------------------------
>
>                 Key: COUCHDB-960
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-960
>             Project: CouchDB
>          Issue Type: Wish
>          Components: Build System
>    Affects Versions: 1.0.1
>            Reporter: A. Bram Neijt
>            Priority: Minor
>             Fix For: 1.1.1
>
>
> On a Debian/Ubuntu system, you have to help configure to find the JS library:
> xulrunner_gre_version=`xulrunner --gre-version`
> ./configure --with-js-lib=/usr/lib/xulrunner-devel-${xulrunner_gre_version}/lib/ --with-js-include=/usr/lib/xulrunner-devel-${xulrunner_gre_version}/include/ && make
> It seems that Yelp is able to do this on it's own using special m4 macros[1].
> I would like the CouchDB configure script to be able to find the JS library without requiring extra arguments.
> [1] http://www.google.com/codesearch/p?#ErvFMsc8kPE/pub/GNOME/desktop/2.16/2.16.0/sources/yelp-2.16.0.tar.gz|U-t_e2pgMiw/yelp-2.16.0/configure.in
>       http://www.google.com/codesearch/p?#ErvFMsc8kPE/pub/GNOME/desktop/2.16/2.16.0/sources/yelp-2.16.0.tar.gz|U-t_e2pgMiw/yelp-2.16.0/m4/gecko.m4&d=8

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (COUCHDB-960) Have configure work without flags on Debian/Ubuntu

Posted by "Noah Slater (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12934840#action_12934840 ] 

Noah Slater commented on COUCHDB-960:
-------------------------------------

Seems like a good proposal. Bonus points for doing it in a way that works on Debian, and other Debian based distros. Extra bonus points for adapting it to work with as many other distros as possible. Patches welcome.

> Have configure work without flags on Debian/Ubuntu
> --------------------------------------------------
>
>                 Key: COUCHDB-960
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-960
>             Project: CouchDB
>          Issue Type: Wish
>          Components: Build System
>    Affects Versions: 1.0.1
>            Reporter: A. Bram Neijt
>            Priority: Minor
>
> On a Debian/Ubuntu system, you have to help configure to find the JS library:
> xulrunner_gre_version=`xulrunner --gre-version`
> ./configure --with-js-lib=/usr/lib/xulrunner-devel-${xulrunner_gre_version}/lib/ --with-js-include=/usr/lib/xulrunner-devel-${xulrunner_gre_version}/include/ && make
> It seems that Yelp is able to do this on it's own using special m4 macros[1].
> I would like the CouchDB configure script to be able to find the JS library without requiring extra arguments.
> [1] http://www.google.com/codesearch/p?#ErvFMsc8kPE/pub/GNOME/desktop/2.16/2.16.0/sources/yelp-2.16.0.tar.gz|U-t_e2pgMiw/yelp-2.16.0/configure.in
>       http://www.google.com/codesearch/p?#ErvFMsc8kPE/pub/GNOME/desktop/2.16/2.16.0/sources/yelp-2.16.0.tar.gz|U-t_e2pgMiw/yelp-2.16.0/m4/gecko.m4&d=8

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