Bug #73756 [NEW]: compile with --with-curl fail

From: Date: Fri, 16 Dec 2016 07:46:08 +0000
Subject: Bug #73756 [NEW]: compile with --with-curl fail
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-206050@lists.php.net to get a copy of this message
From: icelemon1024 at gmail dot com Operating system: CentOS6.8 PHP version: 7.0.14 Package: Compile Failure Bug Type: Bug Bug description:compile with --with-curl fail Description: ------------ When i configure the php: ./configure --with-curl=/usr/include/curl it's show : Configuring extensions checking size of long... (cached) 8 checking size of int... (cached) 4 checking for int32_t... yes checking for uint32_t... yes checking for sys/types.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for string.h... (cached) yes checking for stdlib.h... (cached) yes checking for strtoll... yes checking for atoll... yes checking for strftime... (cached) yes checking whether to enable LIBXML support... yes checking libxml2 install dir... no checking for xml2-config path... /usr/bin/xml2-config checking whether libxml build works... yes checking for OpenSSL support... no checking for Kerberos support... no checking whether to use system default cipher list instead of hardcoded value... no checking for PCRE library to use... bundled checking whether to enable PCRE JIT functionality... yes checking whether to enable the SQLite3 extension... yes checking bundled sqlite3 library... yes checking for ZLIB support... no checking if the location of ZLIB install directory is defined... no checking whether to enable bc style precision math functions... no checking for BZip2 support... no checking whether to enable calendar conversion support... no checking whether to enable ctype functions... yes checking for cURL support... yes checking for cURL in default path... found in /usr/local checking for cURL 7.10.5 or greater... libcurl 7.51.0 checking for SSL support in libcurl... yes checking how to run the C preprocessor... cc -E checking for openssl support in libcurl... no checking for gnutls support in libcurl... no checking for curl_easy_perform in -lcurl... no configure: error: There is something wrong. Please check config.log for more information. the config.log show: #define HAVE_ATOLL 1 #define HAVE_STRFTIME 1 #define HAVE_TIMELIB_CONFIG_H 1 #define HAVE_LIBXML 1 #define HAVE_LIBXML 1 #define HAVE_BUNDLED_PCRE 1 #define HAVE_PCRE_JIT_SUPPORT 1 #define HAVE_SQLITE3 1 #define HAVE_CTYPE 1 #define HAVE_CURL_SSL 1 configure: exit 1 [root@ php-7.0.14]$ ll /usr/include/curl/ total 168 -rw-r--r--. 1 root root 7146 May 11 2016 curlbuild-64.h -rw-r--r--. 1 root root 164 May 11 2016 curlbuild.h -rw-r--r--. 1 root root 73086 May 11 2016 curl.h -rw-r--r--. 1 root root 8419 Oct 29 2009 curlrules.h -rw-r--r--. 1 root root 2799 Nov 4 2009 curlver.h -rw-r--r--. 1 root root 3526 May 13 2008 easy.h -rw-r--r--. 1 root root 2850 May 20 2008 mprintf.h -rw-r--r--. 1 root root 13039 May 20 2008 multi.h -rw-r--r--. 1 root root 1384 May 20 2009 stdcheaders.h -rw-r--r--. 1 root root 33416 Jan 26 2009 typecheck-gcc.h -rw-r--r--. 1 root root 15 Dec 25 2007 types.h [root@ php-7.0.14]$ curl --version curl 7.51.0 (x86_64-pc-linux-gnu) libcurl/7.51.0 OpenSSL/1.0.2j zlib/1.2.3 Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp Features: IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP UnixSockets Test script: --------------- ./configure --with-curl=/usr/include/curl -- Edit bug report at https://bugs.php.net/bug.php?id=73756&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=73756&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=73756&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=73756&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=73756&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=73756&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=73756&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=73756&r=needscript Try newer version: https://bugs.php.net/fix.php?id=73756&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=73756&r=support Expected behavior: https://bugs.php.net/fix.php?id=73756&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=73756&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=73756&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=73756&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=73756&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=73756&r=dst IIS Stability: https://bugs.php.net/fix.php?id=73756&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=73756&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=73756&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=73756&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=73756&r=mysqlcfg

« previous php.bugs (#206050) next »