windows - Visual Studio Community 2017 构建 Apache Httpd 和 MariaDB 的最低要求

标签 windows apache visual-studio build visual-studio-community

您好,我使用的是 Windows 10 企业版 64 位。

我的硬盘空间不足,我想优化它的使用。

我下载了 httpd-2.4.25.tar.gz

我想使用 Visual Studio Community 2017 构建 Apache Httpd,我是新手(我最近没有使用过 Visual Studio)。

当我启动 Visual Studio Community 2017 的安装程序时,我可以看到多个选项,所需的空间取决于我的选择,可能从 700MB 到 50GB 不等。

我看到我可以选择特定的单个组件。

我必须选择哪些单独的组件(严格来说!不能再选)来构建 Apache Httpd

而且我不知道构建 httpd-2.4.25.tar.gz 的要求是否与构建 php-7.1.2.tar.gzmariadb-10.1.22.tar.gz

是否需要另一个单独的组件来构建 mariadb 和 php

谢谢。

最佳答案

这里是需要的工具

    Visual Studio Installer :600MB
    Code tools
        -Static analysis tools :69MB
    Compilers, build tools, and runtimes
        -VC++ 2017 v141 toolset (x86,x64) :1.19GB
    SDKs, libraries, and frameworks
        -Windows 10 SDK (10.0.14393.0) :2.36GB
    Development activities
        -Visual Studio C++ core features :431MB

    Compilers, build tools, and runtimes
        -Visual C++ tools for CMake :354MB

All Tools needs 4.62GB 
All Tools including CMake 4.97GB

来自 Visual Studio 或其网站的 CMake CMake

MariaDB 需要 CMake。

PHP 不需要 CMake,但需要其他工具,如 Bison .

Httpd 或 Apache 需要 CMake 和 GawkStrawberry Perl .

关于windows - Visual Studio Community 2017 构建 Apache Httpd 和 MariaDB 的最低要求,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42811569/

相关文章:

windows - Powershell:导出用户权限分配

c++ - 如何在不遇到多重包含错误的情况下包含 Psapi.h?

php - 管理长时间运行的 php 脚本的最佳方法?

apache - 重命名 URL 中的文件(.php 文件)

c - SetWindowLongPtr() 如何传递消息?

.net - 如何模拟慢速且无读取缓存的磁盘驱动器

php - 如何在 PHP 7.0.14 中安装 mbstring?

c++ - 命令行帮助 cl.exe 版本 12.00.8186 中出现明显错误?

c# - 如何标记运行时所需但不应在代码中使用的成员?

c++ - Visual Studio CRT - 如何使用静态和动态 CRT 共享客户端使用的静态库?