Bug #71846 [NEW]: Curl is not found when giving external path to curl on Windows

From: Date: Thu, 17 Mar 2016 17:22:29 +0000
Subject: Bug #71846 [NEW]: Curl is not found when giving external path to curl on Windows
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-199898@lists.php.net to get a copy of this message
From: starkloff dot kristian at gmail dot com Operating system: Windows Server 2012 R2 PHP version: 7.0.4 Package: Compile Warning Bug Type: Bug Bug description:Curl is not found when giving external path to curl on Windows 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 bug report at https://bugs.php.net/bug.php?id=71846&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=71846&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=71846&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=71846&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=71846&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=71846&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=71846&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=71846&r=needscript Try newer version: https://bugs.php.net/fix.php?id=71846&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=71846&r=support Expected behavior: https://bugs.php.net/fix.php?id=71846&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=71846&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=71846&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=71846&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=71846&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=71846&r=dst IIS Stability: https://bugs.php.net/fix.php?id=71846&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=71846&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=71846&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=71846&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=71846&r=mysqlcfg

« previous php.bugs (#199898) next »