From dev-return-48857-archive-asf-public=cust-asf.ponee.io@couchdb.apache.org Fri Oct 18 06:38:54 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id AAE211804BB for ; Fri, 18 Oct 2019 08:38:53 +0200 (CEST) Received: (qmail 13534 invoked by uid 500); 18 Oct 2019 06:38:52 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 13516 invoked by uid 99); 18 Oct 2019 06:38:52 -0000 Received: from Unknown (HELO mailrelay1-lw-us.apache.org) (10.10.3.42) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Oct 2019 06:38:52 +0000 Received: from [192.168.1.17] (69-196-165-48.dsl.teksavvy.com [69.196.165.48]) by mailrelay1-lw-us.apache.org (ASF Mail Server at mailrelay1-lw-us.apache.org) with ESMTPSA id 725906222; Fri, 18 Oct 2019 06:38:52 +0000 (UTC) Subject: Re: CouchDB 32bit Windows build To: dev@couchdb.apache.org, Jared Davison References: <1797913649.479.1526496277676.JavaMail.Joan@RITA> From: Joan Touzet Organization: Apache Software Foundation Message-ID: <9f6a15e6-ff23-3f23-00b7-5f7b53c2f926@apache.org> Date: Fri, 18 Oct 2019 02:38:51 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit On 2019-10-18 2:32 a.m., Jared Davison wrote: > Hi Alexis, > > That's great. Thanks for your reply. > > I did some more investigation and the server is actually 64bit CPU but has > a 32bit OS. The other machines I want to build a cluster from actually > already have Windows 2003 x64, but CouchDB won't run because of "Not a > Valid Win32 Application" even though it installed fine, I think due to a > minimum version linker option flag set in Visual Studio when it was > compiled. Does anyone know if that's necessary and if CouchDb/Erlang relies > on later Windows APIs, and if so if it is reasonable for VS to limit the > minimum version as it has? Yes, unfortunately, due to our dependencies that require newer versions of VS (such as ICU). Windows 2003 is no longer supported by Microsoft; I encourage you to move to a newer, supported OS if possible. If that's not possible, one cheap solution is to run CouchDB inside of VirtualBox or VMWare Workstation on that same server. (Win10 won't install -tried it, so that's not an > option for me) I was hoping to use the systems isolated in a firewalled > sandbox for cluster testing. > > Kind Regards > Jared Davison > > > On Fri, Oct 18, 2019 at 3:34 PM Alexis Côté wrote: > >> Hi Jared, >> >> I detailed the steps that I followed on a specific branch of >> Couchdb-glazier: >> https://github.com/apache/couchdb-glazier/blob/wip/2.x-win32/INSTALL_32.md >> >> You can contact me privately if you need help. I still have access to a >> setuped machine to compile in 32bit >> >> Regards, >> Alexis >> >> On Fri., Oct. 18, 2019, 12:02 a.m. Jared Davison, < >> jared@medical-objects.com.au> wrote: >> >>> Hi Alexis, >>> >>> I've just had reason to search for a 32bit version of couchdb today. I >> just >>> searched for your pull request but I couldn't find it. Were you able to >>> submit it? >>> >>> Thanks >>> >>> Jared >>> >>> On Thu, May 17, 2018 at 5:07 AM Alexis Côté >>> wrote: >>> >>>> Hi Joan, >>>> >>>> I totally understand that it's not optimal to run CouchDB on a 32bit >> OS. >>>> Therefore, we have that constraint from our client and we have to deal >>> with >>>> it. >>>> >>>> I will land a PR soon with instructions. I spent a lot of time to make >> it >>>> work so I hope those instructions could help someone in the future. >>>> >>>> Regards, >>>> Alexis >>>> >>>> 2018-05-16 14:44 GMT-04:00 Joan Touzet : >>>> >>>>> Hi Alexis, >>>>> >>>>> PRs are always welcome! If you're able to make the 32-bit builds >> work, >>>>> we can put that in the repo...but if you're not able to maintain it >>>>> long-term, and we get bug reports on it, we reserve the right to >>>>> remove the scripts as well ;) >>>>> >>>>> I get that some people want 32-bit CouchDB to run on legacy machines >>>>> and OSes. However.... >>>>> >>>>> We're not going to be building 32-bit binaries for distribution >>>>> through couchdb.apache.org, especially not when many other HW and >>>>> SW vendors have announced removal of 32-bit support: >>>>> >>>>> https://apple.slashdot.org/story/17/06/07/0538233/apple- >>>>> to-phase-out-32-bit-mac-apps-starting-in-january-2018 >>>>> https://www.networkworld.com/article/3091818/linux/linux- >>>>> distros-look-to-drop-32-bit-support.html >>>>> https://forums.anandtech.com/threads/nvidia-dropping- >>>>> support-for-32-bit-oses-nvidia.2531426/ >>>>> https://www.techpowerup.com/221296/amd-preparing-to-drop- >>>>> 32-bit-support-for-radeon-drivers >>>>> >>>>> I am personally in line with Brian Wilson at Backblaze on this one: >>>>> >>>>> https://www.backblaze.com/blog/64-bit-os-vs-32-bit-os/ >>>>> >>>>> You can't buy new hardware that won't run 64-bit Windows anymore, and >>>>> there is no practical reason to install 32-bit Windows on a machine >>>>> capable of running 64-bit Windows. >>>>> >>>>> Limiting CouchDB to only run in <4GB of RAM severely hamstrings >>>>> what it is capable of. We typically see a server using 8-16GB of RAM >>>>> in production. I don't want to encourage people to run a CouchDB >>>>> that prevents them from making full use of the database just because >>>>> it's been compiled with the wrong options. >>>>> >>>>> >>>>> >>>>> -Joan >>>>> >>>>> ----- Original Message ----- >>>>> From: "Alexis Côté" >>>>> To: dev@couchdb.apache.org >>>>> Sent: Wednesday, May 16, 2018 11:49:11 AM >>>>> Subject: CouchDB 32bit Windows build >>>>> >>>>> Hi everyone, >>>>> >>>>> I am currently working to build CouchDB for Windows 32bit. >>>>> >>>>> I modified few scripts and was wondering if there is any interest to >>> have >>>>> that on our couchdb-glazier repository? >>>>> >>>>> I could either create a new branch for CouchDB 2.X.X 32bit or simply >>> add >>>>> the modified files with a _32 suffix. >>>>> >>>>> Example: shell_32.cmd >>>>> >>>>> What do you think? >>>>> >>>>> >>>>> Regards, >>>>> Alexis >>>>> >>>> >>> >> >