Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1abrNK-0001xp-GM for pgsql-hackers@arkaria.postgresql.org; Fri, 04 Mar 2016 15:10:42 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1abrNJ-0006cO-Q8 for pgsql-hackers@arkaria.postgresql.org; Fri, 04 Mar 2016 15:10:41 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1abrLz-00054Z-DP for pgsql-hackers@postgresql.org; Fri, 04 Mar 2016 15:09:19 +0000 Received: from out.smtp-auth.no-ip.com ([8.23.224.60]) by makus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1abrLw-0000l7-5Z for pgsql-hackers@postgresql.org; Fri, 04 Mar 2016 15:09:18 +0000 X-No-IP: alvh.no-ip.org@noip-smtp X-Report-Spam-To: abuse@no-ip.com Received: from alvin.alvh.no-ip.org (unknown [186.11.224.164]) (Authenticated sender: alvh.no-ip.org@noip-smtp) by smtp-auth.no-ip.com (Postfix) with ESMTPA id 25866400EC4; Fri, 4 Mar 2016 07:09:03 -0800 (PST) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 91FD774B; Fri, 4 Mar 2016 12:08:53 -0300 (CLT) Date: Fri, 4 Mar 2016 12:08:53 -0300 From: Alvaro Herrera To: Michael Paquier Cc: Petr Jelinek , Magnus Hagander , Andrew Dunstan , PostgreSQL mailing lists Subject: Re: VS 2015 support in src/tools/msvc Message-ID: <20160304150853.GA694742@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -1.1 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Michael Paquier wrote: > - 0001, as mentioned by Petr upthread, psed is removed from the core > distribution of Perl in 5.22, so when installing ActivePerl it is not > possible to create probes.h, and the code compilation would fail. I > bumped into that so here is a patch. What I am proposing here is to > replace psed by sed, sed being available in MSYS like bison and flex, > so when building using MSVC the environment to set up is normally > already good to go even with this additional dependency. Now, it is > important to mention that probes.h is not part of a source tarball. I > think that we would want probes.h to be part of a source tarball so as > it would be possible to compile the code on Windows using MSVC without > having to install MSYS. I haven't done that in this patch, thoughts on > the matter are welcome. I think the path of least resistance is to change the sed script into a Perl script. Should be fairly simple ... -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers