Return-Path: X-Original-To: apmail-apr-dev-archive@www.apache.org Delivered-To: apmail-apr-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6B8E27650 for ; Thu, 6 Oct 2011 14:19:16 +0000 (UTC) Received: (qmail 53987 invoked by uid 500); 6 Oct 2011 14:19:15 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 53668 invoked by uid 500); 6 Oct 2011 14:19:15 -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 53659 invoked by uid 99); 6 Oct 2011 14:19:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Oct 2011 14:19:15 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of peter@peterodding.com designates 79.99.133.60 as permitted sender) Received: from [79.99.133.60] (HELO mail.peterodding.com) (79.99.133.60) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Oct 2011 14:19:08 +0000 Received: by mail.peterodding.com (Postfix, from userid 5001) id 723FB2C4F3; Thu, 6 Oct 2011 16:18:48 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on peterodding.com X-Spam-Level: Received: from [IPv6:::1] (localhost [127.0.0.1]) (Authenticated sender: peter) by mail.peterodding.com (Postfix) with ESMTPA id A21972C4F1; Thu, 6 Oct 2011 16:18:47 +0200 (CEST) Message-ID: <4E8DB8C6.1000101@peterodding.com> Date: Thu, 06 Oct 2011 16:18:46 +0200 From: Peter Odding User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.23) Gecko/20110921 Thunderbird/3.1.15 MIME-Version: 1.0 To: leighton@cis.udel.edu CC: dev@apr.apache.org Subject: Re: how to build APR with VS 2010 References: <1317828048.74797.ezmlm@apr.apache.org> <4E8C7C1A.9070107@cis.udel.edu> <4E8CC263.8060205@cis.udel.edu> <4E8CCA44.4080109@rowe-clan.net> <4E8CF538.9050809@cis.udel.edu> In-Reply-To: <4E8CF538.9050809@cis.udel.edu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=ham version=3.3.1 >>> Is there an update to http://apr.apache.org/compiling_win32.html that >>> applies to VS 2010, >>> or some other source of info for how to build APR with VS2010? I'm >>> trying to build APR, >>> but so far without luck. Here's the output I get using nmake: >>> >>> C:\Users\jon\Desktop\apr\apr-util-1.3.12>nmake /f aprutil.mak >> I don't see nmake on that page. And it does need a refresh. >> >> Please see Makefile.win in your apr-util directory. > Thanks - I've looked at Makefile.win in apr-util and tried again with > the following result: > > ... > NMAKE : fatal error U1073: don't know how to make '"apr.h"' > Stop. > ... > > I can't tell what path it's complaining about not being able to find, > but explicitly specifying the AP[R|I|U]_PATHs doesn't change the result > . Also, the apr.h file does not exist in apr/include so I'm wondering if > I first need to invoke something akin to configure on *nix systems, to > generate it. I think the make files are just broken. Here's how I build APR and APR-Util on Windows XP using the Windows Platform SDK: https://github.com/xolox/lua-apr/blob/master/etc/win32-bootstrap/make.cmd See specifically the following lines (executed BEFORE building anything): :: I haven't a clue why this is needed, but it certainly helps :-) TYPE apr\include\apr.hw > apr\apr.h TYPE apr\include\apr.hw > apr\include\apr.h - Peter