You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by John Le Brasseur <jo...@gmail.com> on 2017/04/22 17:29:55 UTC
Build CouchDB on Windows
Hi.
(I am on fully up to date Windows 10)
I am trying to follow the steps on '
https://github.com/apache/couchdb-glazier'
I have got quite far with the help of Joan (Touzet).
I believe everything has worked correctly up to the point of the section
"Building CouchDB itself"
In this section I believe there is an error in file 'configure.ps1'
line 87 character 39: The comma should not be present(??? my knowledge is
limited)
If I remove the comma, the command
'powershell -ExecutionPolicy Bypass .\configure.ps1 -WithCurl'
executes seemingly correctly.
However if I run the next step:
'make -f Makefile.win check'
I get the feedback:
"'make' is not recognized as an internal or external command,
operable program or batch file."
Just to refresh, I am in an admin command window here having run the
following:
'c:\relax\bin\shell.cmd'
"Select an Erlang:
7 for Erlang 17.5 (default)
8 for Erlang 18.0
1 for Erlang 18.1
Make your selection ===> 7
Select a shell:
w for Windows prompt (default)
b for bash prompt
p for PowerShell prompt
Make your selection ===>
Type exit to stop relaxing."
i.e. the Windows prompt.(of the 'SDK Prompt')
Does it look like I:
a) An error
b) Omitted something
c) Can check for the presence/absence of something that caused this.
d) I am nowhere near in the process where I should be.
e) I am misunderstanding something.
Could anyone guide me please.
I am trying to get to the point of installing geocouch on Windows.
(which looks quite difficult)
Many thanks.
John
Re: Build CouchDB on Windows
Posted by John Le Brasseur <jo...@gmail.com>.
Thank you very much for your trouble Joan.
I am working on other stuff at the moment.
Will get back when I can.
Thanks again.
On 7 July 2017 at 09:31, Joan Touzet <wo...@apache.org> wrote:
> Hi John,
>
> Sorry for the delay in replying here. I've finally gotten around to
> re-creating my build environment from scratch (as I do prior to every
> CouchDB release) and have the build running successfully as of a few
> hours ago.
>
> ----- Original Message -----
> > In this section I believe there is an error in file 'configure.ps1'
> > line 87 character 39: The comma should not be present
>
> Correct, I will be checking in a fix for this tomorrow.
>
> > However if I run the next step:
> > 'make -f Makefile.win check'
> > I get the feedback:
> >
> > "'make' is not recognized as an internal or external command,
> > operable program or batch file."
>
> Yes, there is a setup mistake here that I will correct tomorrow as
> well. You can work around this in your environment by running:
>
> choco install make
>
> and trying again.
>
> > I am trying to get to the point of installing geocouch on Windows.
> > (which looks quite difficult)
>
> geocouch won't work for CouchDB 2.x anyway as far as I know. You
> really should use the Cloudant geo stuff from:
>
> https://github.com/cloudant-labs/easton
> https://github.com/cloudant-labs/hastings
>
> Build instructions haven't yet been posted, but the process is
> similar to the build process for dreyfus (full-text search):
>
> https://developer.ibm.com/dwblog/2015/text-search-apache-couchdb/
>
> Good luck, and let us know how you get on.
>
> -Joan
>
John
Re: Build CouchDB on Windows
Posted by Joan Touzet <wo...@apache.org>.
Hi John,
Sorry for the delay in replying here. I've finally gotten around to
re-creating my build environment from scratch (as I do prior to every
CouchDB release) and have the build running successfully as of a few
hours ago.
----- Original Message -----
> In this section I believe there is an error in file 'configure.ps1'
> line 87 character 39: The comma should not be present
Correct, I will be checking in a fix for this tomorrow.
> However if I run the next step:
> 'make -f Makefile.win check'
> I get the feedback:
>
> "'make' is not recognized as an internal or external command,
> operable program or batch file."
Yes, there is a setup mistake here that I will correct tomorrow as
well. You can work around this in your environment by running:
choco install make
and trying again.
> I am trying to get to the point of installing geocouch on Windows.
> (which looks quite difficult)
geocouch won't work for CouchDB 2.x anyway as far as I know. You
really should use the Cloudant geo stuff from:
https://github.com/cloudant-labs/easton
https://github.com/cloudant-labs/hastings
Build instructions haven't yet been posted, but the process is
similar to the build process for dreyfus (full-text search):
https://developer.ibm.com/dwblog/2015/text-search-apache-couchdb/
Good luck, and let us know how you get on.
-Joan