Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 44816200C3C for ; Mon, 20 Mar 2017 03:20:53 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 43146160B8E; Mon, 20 Mar 2017 02:20:53 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8C88A160B7D for ; Mon, 20 Mar 2017 03:20:52 +0100 (CET) Received: (qmail 97522 invoked by uid 500); 20 Mar 2017 02:20:51 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 97512 invoked by uid 99); 20 Mar 2017 02:20:51 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Mar 2017 02:20:51 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 22BA4C0576 for ; Mon, 20 Mar 2017 02:20:51 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.001 X-Spam-Level: **** X-Spam-Status: No, score=4.001 tagged_above=-999 required=6.31 tests=[HEADER_FROM_DIFFERENT_DOMAINS=0.001, KAM_LAZY_DOMAIN_SECURITY=1, RDNS_NONE=3] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id J25BmiTGynNp for ; Mon, 20 Mar 2017 02:20:50 +0000 (UTC) Received: from blaine.gmane.org (unknown [195.159.176.226]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id B1D4B5FE25 for ; Mon, 20 Mar 2017 02:20:49 +0000 (UTC) Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cpmw5-0000lp-Ge for dev@apr.apache.org; Mon, 20 Mar 2017 03:20:41 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: dev@apr.apache.org From: Jan Ehrhardt Subject: Re: 1.6 release timetable Date: Mon, 20 Mar 2017 03:20:36 +0100 Lines: 64 Message-ID: References: <20170317233134.6de622c2@bifrost.webthing.com> <1489823857.3937.353.camel@mimir.webthing.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@blaine.gmane.org X-Newsreader: Forte Agent 3.3/32.846 archived-at: Mon, 20 Mar 2017 02:20:53 -0000 Jan Ehrhardt in gmane.comp.apache.apr.devel (Sun, 19 Mar 2017 20:21:47 +0100): >>So, the answer to the question "does it work for you?" seems to be No. > >Or Yes, if CMake works. I will try that later. CMake almost works. I had the following dirs - apr - apr - apr-util - xml - openssl For apr and apr-util I used the 1.6.x branches: http://svn.apache.org/viewvc/apr/apr/branches/1.6.x/ http://svn.apache.org/viewvc/apr/apr-util/branches/1.6.x/ Steps for compiling the VC14 x64 libs and dll's: . compile OpenSSL (version 1.1.0e). . copy the XML headers to \apr\apr-util\include . install \apr\apr\include\apr.h manually (cf apr 1.4/OpenSSL 1.0.2) . compile apr, with the CMake args on 1 line: set INCLUDE=\apr\openssl\include;%INCLUDE% set LIB=\apr\openssl\;%LIB% set PATH=\apr\openssl\apps;%PATH% cd \apr\apr if exist \apr\apr\vc14.x64 rd \apr\apr\vc14.x64 md \apr\apr\vc14.x64 cd \apr\apr\vc14.x64 cmake -G "Visual Studio 14 2015 Win64" -D CMAKE_BUILD_TYPE=RelWithDebInfo \ -D APR_BUILD_TESTAPR=1 -D CMAKE_INSTALL_PREFIX=\apr\install \ -D INSTALL_PDB=OFF .. pause call msbuild APR.sln /p:Configuration=RelWithDebInfo /p:Platform=x64 call msbuild INSTALL.vcxproj /p:Configuration=RelWithDebInfo /p:Platform=x64 . compile apr-util, with the CMake args on 1 line: set INCLUDE=\apr\openssl\include;%INCLUDE% set LIB=\apr\openssl\;%LIB% set PATH=\apr\openssl\apps;%PATH% cd \apr\apr-util if exist \apr\apr-util\vc14.x64 rd \apr\apr-util\vc14.x64 md \apr\apr-util\vc14.x64 cd \apr\apr-util\vc14.x64 cmake -G "Visual Studio 14 2015 Win64" \ -D OPENSSL_ROOT_DIR=\apr\openssl -D OPENSSL_INCLUDE_DIR=\apr\openssl\include \ -D APR_INCLUDE_DIR=\apr\apr\include -D APR_LIBRARIES=\apr\apr\vc14.x64\RelWithDebInfo\libapr-1.lib \ -D APU_HAVE_CRYPTO=1 -D APR_BUILD_TESTAPR=1 -D CMAKE_INSTALL_PREFIX=\apr\install -D INSTALL_PDB=OFF .. pause perl -pi.bak -e "s/;APU_DECLARE_EXPORT;/;APR_DECLARE_EXPORT;APU_DECLARE_EXPORT;/gi" libaprutil-1.vcxproj for %%f in (*.vcxproj) do perl -pi.bak -e "s/;DLL_NAME=/;APR_DECLARE_EXPORT;APU_DECLARE_EXPORT;DLL_NAME=/gi" %%f call msbuild APR.sln /p:Configuration=RelWithDebInfo /p:Platform=x64 call msbuild INSTALL.vcxproj /p:Configuration=RelWithDebInfo /p:Platform=x64 The two perl replacements are need to avoid errors that dllimport is not allowed. They can be patched into the apr-util CMakeLists.txt Result (zipped from \apr\install): https://phpdev.toolsforresearch.com/apr-1.6.x.zip I did not run any tests, but it is a start. -- Jan