Bug #71846 [Opn->Nab]: Curl is not found when giving external path to curl on Windows

From: Date: Fri, 18 Mar 2016 16:17:03 +0000
Subject: Bug #71846 [Opn->Nab]: Curl is not found when giving external path to curl on Windows
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-199921@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=71846&edit=1 ID: 71846 Updated by: ab@php.net Reported by: starkloff dot kristian at gmail dot com Summary: Curl is not found when giving external path to curl on Windows -Status: Open +Status: Not a bug Type: Bug Package: Compile Warning Operating System: Windows Server 2012 R2 PHP Version: 7.0.4 Block user comment: N Private report: N New Comment: Thanks for the report. According to the configure output, zlib is missing. You can find all the prebuilt dependencies under http://windows.php.net/downloads/php-sdk/ . Also, please check https://wiki.php.net/internals/windows/stepbystepbuild for the build environment setup instructions. All the core dependency libraries have to be put in a certain path so then you don't need to pass the *extra* options. Thanks. Previous Comments: ------------------------------------------------------------------------ [2016-03-17 17:22:25] starkloff dot kristian at gmail dot com Description: ------------ * Compile libcurl 32 bit (https://curl.haxx.se/download.html) * Compile PHP7 (32 bit architecture) on Windows (VS 2015) with these additional parameters: * --with-extra-includes=C:\Path\to\libcurl\include * --with-extra-libs=C:\Path\tolibcurl\lib * --disable-all --without-libxml --without-dom --enable-sockets --enable-embed --enable-com-dotnet --enable-ctype --enable-odbc --with-openssl --with-curl --enable-debug Expected result: ---------------- Compiles PHP 7 with libcurl from external paths Actual result: -------------- Checking for wspiapi.h ... <in default path> Enabling IPv6 support Enabling SAPI sapi\embed Checking for library oleaut32.lib ... <in LIB path> OleAut32.Lib Enabling extension ext\com_dotnet Checking for mscoree.h ... <in default path> Enabling extension ext\ctype Checking for library libcurl_a.lib;libcurl.lib ... <in extra libs path> Checking for curl/easy.h ... <not found> Checking for curl/easy.h ... D:\trunk\libext\php7.0-embed\build\..\..\..\libext\libcurl\include Checking for library ssleay32.lib ... <in extra libs path> Checking for library libeay32.lib ... <in extra libs path> Checking for library winmm.lib ... <in LIB path> WinMM.Lib Checking for library wldap32.lib ... <in LIB path> Wldap32.Lib Checking for library zlib_a.lib;zlib.lib ... <not found> WARNING: curl not enabled; libraries and headers not found Enabling extension ext\date Checking for library odbc32.lib ... <in LIB path> odbc32.lib Checking for library odbccp32.lib ... <in LIB path> odbccp32.lib Checking for sql.h ... <in default path> Checking for sqlext.h ... <in default path> Enabling extension ext\odbc Checking for library ssleay32.lib ... <in extra libs path> Checking for library libeay32.lib ... <in extra libs path> Checking for library crypt32.lib ... <in LIB path> Crypt32.Lib Checking for openssl/ssl.h ... D:\trunk\libext\php7.0-embed\build\deps\include Enabling extension ext\openssl Enabling extension ext\pcre Enabling extension ext\reflection Checking for library ws2_32.lib ... <in LIB path> WS2_32.Lib Checking for library Iphlpapi.lib ... <in LIB path> IPHlpApi.Lib Checking for winsock.h ... <in default path> Enabling extension ext\sockets Enabling extension ext\spl Checking for timelib_config.h ... ext/date/lib Enabling extension ext\standard Creating build dirs... Generating files... Generating Makefile Generating main/internal_functions.c Generating main/config.w32.h Generating phpize Done. Enabled extensions: ----------------------- | Extension | Mode | ----------------------- | com_dotnet | static | | ctype | static | | date | static | | odbc | static | | openssl | static | | pcre | static | | reflection | static | | sockets | static | | spl | static | | standard | static | ----------------------- Enabled SAPI: ------------- | Sapi Name | ------------- | embed | ------------- ---------------------------------------------- | | | ---------------------------------------------- | Build type | Debug | | Thread Safety | Yes | | Compiler | MSVC14 (Visual C++ 2015) | | Architecture | x86 | | Optimization | disabled | | Static analyzer | disabled | ---------------------------------------------- ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=71846&edit=1

« previous php.bugs (#199921) next »