couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Joseph Davis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-1012) Utility to help plugin developers manage paths
Date Mon, 22 Aug 2011 16:55:29 GMT

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

Paul Joseph Davis commented on COUCHDB-1012:
--------------------------------------------

The suggestion was --elib-dir over --lib-dir because --lib-dir might be assumed to point at
/usr/local/lib and it was hoped that --elib-dir would be recognized as the place where developers
should install their erlang modules.

As to:

"I'd drop pid-file, uri-file and all the autotools stuff because it's not relevant for developing
_modules_ for couchdb." 

Randall was focusing on developers writing extensions for CouchDB (which was the original
genesis of this feature). Dropping those suggestions focuses back on the original motivation
for this discussion.

The pid-file and uri-file are part of the suggestion because they're part of the larger idea
of a tool that sysadmin/packagers/developers can use to locate important bits of a CouchDB
installation.

I have no specific input on including or excluding a --doc-dir switch.

> 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
>            Assignee: Randall Leeds
>             Fix For: 1.2
>
>         Attachments: 0001-add-couch-config-file-used-to-ease-the-build-of-plug.patch,
0001-add-couch-config-file-used-to-ease-the-build-of-plug.patch, 0001-support-pkg-config-for-plugins-COUCHDB-1012.patch
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message