couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Cottlehuber (JIRA)" <>
Subject [jira] [Commented] (COUCHDB-1595) etc/couchdb/Makefile should use autoconf rules for windows
Date Sat, 10 Nov 2012 20:53:12 GMT


Dave Cottlehuber commented on COUCHDB-1595:

This is by "design'. In windows we deploy couch + erlang together as a single distribution
executable. There's no control over where this gets installed to, and to avoid path problems
(e.g. spaces in the c:\program files (x86)\Apache ...." or similar, all paths are relative
to the %COUCHDIR%/bin directory, as you see. Unless there's an issue with this, its a reasonable
compromise in accommodating unix heritage paths on a system with a completely different approach.

I'm open to finding a different way, but I am sure we'll find lots of our code doesn't handle
paths with spaces well. The Windows solution would be to put this into c:\users\allusers\application
data\apache software foundation\couchdb\ or similar, however this file location is inconsistent
across windows releases:

There is no API available within the installer to target this cleanly, nor does
allow me to retrieve the information. The current approach is not ideal but the alternatives
feel worse and unnecessarily painful. Unless there's a good reason for addressing this I'd
prefer to close as wontfix, or reconsider during OTP-ification.

> etc/couchdb/Makefile should use autoconf rules for windows
> ----------------------------------------------------------
>                 Key: COUCHDB-1595
>                 URL:
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Build System
>    Affects Versions: 1.2, 1.3
>            Reporter: Benoit Chesneau
>              Labels: Windows
> actually we have a case in the Makefile to use different dirs for windows where it should
simply follow the rules given by the autotools:
> "s|%localstatelibdir%|../var/lib/couchdb|g" \
> should be:
> -e "s|%localstatelibdir%|$(localstatelibdir)|g" 
> like on unix.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message