How to Build the Apache APR-Util v1.6.0 Library

时间:2017-08-30 20:44:40

标签: visual-studio-2017 apr

I am really struggling with this one. I have downloaded the latest version of each of the following Apache APR products for Windows:

I have extracted the zip files and renamed the directories according to the APR Windows build instructions. Then I opened the apr-util/apr-util.dsw solution within Visual Studio 2017 and performed the required upgrade. When I build, I'm getting a bunch of errors from the apr-util/xml/xml.vcxproj project about missing source files. I have verified that none of the files referenced by the xml project actually exist on disk (or within the zip archive). Those files also don't exist within the Linux source download. Further, all of those files exist in APR-util v1.5.4. In my mind, this leaves only three possibilities:

  1. The version I downloaded is corrupted
  2. Apache released a version that is missing files required to build
  3. There are additional build steps required for this version that are missing from the build instructions

I have verified my download of apr-util against the expected MD5 hash, and even tried downloading from other mirrors to eliminate #1 as a possibility.

This version of apr-util was released 2.5 months ago, so if #2 were the case I expect it would have been fixed by now. Has anyone else successfully built this version of Apache APR?

1 个答案:

答案 0 :(得分:4)

根据8月3日开放的issue #61379,Apache似乎从 apr-util 中删除了Expat源代码。现在有一个未记录的附加步骤,在构建之前将 Source / lib 目录从Expat安装复制到 apr-util / xml / expat / lib