couchdb-dev mailing list archives

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


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:

Also pkg-config is a common tool across platforms.

> Utility to help plugin developers manage paths
> ----------------------------------------------
>                 Key: COUCHDB-1012
>                 URL:
>             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
> 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.

View raw message