couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benoit Chesneau (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COUCHDB-1012) Utility to help plugin developers manage paths
Date Wed, 05 Jan 2011 09:35:46 GMT

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

Benoit Chesneau commented on COUCHDB-1012:
------------------------------------------

neither is erlang :) We could make it a requirements for couchdb install. 

pkg-config is now installed by default on openbsd, not sure for other but I think it's now
coming with xorg installation and in otther cases is easily installable via the package manager.
 ON OSX it's easily installable via homebrew, macports and fink. 

But, since we need to be multiplatform, maybe having a tiny script would do the trick better?
One advantage of pkg-config is that's it can be now handle in autotools.

Some links:
http://lists.freedesktop.org/archives/pkg-config/2007-August/000219.html
http://stackoverflow.com/questions/2164089/using-pkg-config-with-autotools
http://www.flameeyes.eu/autotools-mythbuster/pkgconfig/index.html


Also pkg-config is a common tool across platforms.




> Utility to help plugin developers manage paths
> ----------------------------------------------
>
>                 Key: COUCHDB-1012
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1012
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: Build System
>            Reporter: Randall Leeds
>
> Developers may want to write plugins (like GeoCouch) for CouchDB. Many hooks in the configuration
system allow loading arbitrary Erlang modules to handle various internal tasks, but currently
there is no straightforward and portable way for developers of these plugins to discover the
location of the CouchDB library files.
> Two options that have been proposed are to use pkg-config or install a separate script
that could be invoked (e.g. as couch-config --erl-libs) to discover important CouchDB installation
paths.
> As far as I know the loudest argument against pkg-config is lack of support for Windows.

-- 
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