On 10/5/11 5:21 PM, William A. Rowe Jr. wrote:
On 10/5/2011 3:47 PM, Jon Leighton wrote:
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:
C:\Users\jon\Desktop\apr-dist\apr-util>nmake -f Makefile.win
PREFIX=C:\apr build
all
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
The system cannot find the path specified.
ARCH = Win32 Release
APR_PATH = ..\apr
API_PATH = ..\apr-iconv (apr-iconv)
APU_PATH = ..\apr-util (apr-util)
PREFIX = C:\apr (install path)
DBD_LIST =
DBM_LIST =
cd ..\apr
"c:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\BIN\nmake.exe" -
nologo -f apr.mak CFG="apr - Win32 Release" RECURSE=0
NMAKE : fatal error U1073: don't know how to make '"apr.h"'
Stop.
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual
Studio 10.0
\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
C:\Users\jon\Desktop\apr-dist\apr-util>
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.