[
https://issues.apache.org/jira/browse/COUCHDB-1994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13970564#comment-13970564
]
Benoit Chesneau commented on COUCHDB-1994:
------------------------------------------
[~wohali] thanks!
rcouch never worked on windows which explains why the build breaks on this
platform. From time to time some people came saying they were working on it,
but it never happened.
Anyway some quick comments. Is it true that for now the build is only based on
gcc and POSIX platform (+solaris one) but there is no real assumptions on it.
1) For couchjs the controlled is controlled via the :rebar.config.script
https://github.com/apache/couchdb-couch/blob/1994-merge-rcouch/rebar.config.script
It's easy to test the platform there and use the correct build:
https://github.com/apache/couchdb-couch/blob/1994-merge-rcouch/rebar.config.script#L109
Like the static build:
https://github.com/apache/couchdb-couch/blob/1994-merge-rcouch/rebar.config.script#L74-L91
You can pass the needed flags for windows.
2) Spawnkillable is handled in the same file. And actually the windows build is
planned:
https://github.com/apache/couchdb-couch/blob/1994-merge-rcouch/rebar.config.script#L140
3) couch-collate and the nif build is controlled via:
https://github.com/apache/couchdb-couch-collate/blob/1994-merge-rcouch/rebar.config.script
You can also check there the platform and give the needed variable you want.
Even change C flags.
4) snappy and jiffy should build on windows.
Right now the spidermonkey sources and icu sources are downladed from
dl.refuge.io. I strongly advised to rely on an apache mirror for them instead
of relying on icu and mozilla websites. They are often unavailable.
Let me know if I could help. Feel free to send me a direct mail.
> merge rcouch with couchdb 1.6 in a branch
> -----------------------------------------
>
> Key: COUCHDB-1994
> URL: https://issues.apache.org/jira/browse/COUCHDB-1994
> Project: CouchDB
> Issue Type: Task
> Components: Build System, Database Core, HTTP Interface, JavaScript
> View Server
> Reporter: Benoit Chesneau
>
--
This message was sent by Atlassian JIRA
(v6.2#6252)