You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Jan Lehnardt (JIRA)" <ji...@apache.org> on 2010/06/02 22:37:39 UTC
[jira] Closed: (COUCHDB-378) couchdb start-up script breaks on
Solaris 10, expects GNU find
[ https://issues.apache.org/jira/browse/COUCHDB-378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Lehnardt closed COUCHDB-378.
--------------------------------
Fix Version/s: 0.11.1
1.0
Resolution: Fixed
Closed by COUCHDB-666.
> couchdb start-up script breaks on Solaris 10, expects GNU find
> --------------------------------------------------------------
>
> Key: COUCHDB-378
> URL: https://issues.apache.org/jira/browse/COUCHDB-378
> Project: CouchDB
> Issue Type: Bug
> Components: Infrastructure
> Affects Versions: 0.10
> Environment: Solaris 10
> Reporter: Erno Palonheimo
> Priority: Trivial
> Fix For: 0.11.1, 1.0
>
>
> If I install couchdb on stock Solaris 10, this happens when trying to start it using command 'couchdb':
> # couchdb
> find: bad option -mindepth
> find: [-H | -L] path-list predicate-list
> Reason here is that Solaris 10 doesn't ship with GNU find, and Solaris 10's own find doesn't support -mindepth or -maxdepth options. The offending command is in _add_config_dir function. Replacing it with a simple wildcard + test-expression should be trivial. Something along these lines:
> for file in "$1"/*; do
> test -f $file && _add_config_file $file
> done
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.