From: difer_t at hotmail dot com Operating system: Ubuntu 12.10 PHP version: 5.4.11 Package: cURL related Bug Type: Bug Bug description:configure script fail when I use --with-curl and --with-mysql parameters
Description: ------------ ./configure --prefix=/home/diegof/Desarrollo/php --with-apxs2=/home/diegof/Desarrollo/apache/bin/apxs \ --with-mysql=/home/diegof/Desarrollo/mysql \ --with-mysqli=/home/diegof/Desarrollo/mysql/bin/mysql_config \ --with-mysql-sock=/tmp/mysql.sock \ --with-pgsql=/home/diegof/Desarrollo/postgresql-9.2.2 \ --with-pdo-pgsql=/home/diegof/Desarrollo/postgresql-9.2.2/bin \ --with-zlib \ --with-zlib-dir \ --with-bz2 \ --with-gd \ --enable-gd-jis-conv \ --enable-gd-native-ttf \ --with-jpeg-dir=/home/diegof/Desarrollo/aditivos/libjpeg \ --with-png-dir=/home/diegof/Desarrollo/aditivos/libpng \ --with-freetype-dir=/home/diegof/Desarrollo/aditivos/freetype \ --with-iconv=/home/diegof/Desarrollo/aditivos/libiconv \ --with-gettext \ --with-config-file-path=/home/diegof/Desarrollo/apache/conf \ --enable-ftp \ --enable-mbstring \ --with-openssl=/home/diegof/Desarrollo/aditivos/openssl \ --with-curl=/home/diegof/Desarrollo/aditivos/curl Test script: --------------- . . checking whether to enable calendar conversion support... no checking whether to enable ctype functions... yes checking for cURL support... yes checking if we should use cURL for url streams... no checking for cURL 7.10.5 or greater... libcurl 7.29.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. $ without --with-curl parameter: . . checking for MSSQL support via FreeTDS... no checking for MySQL support... yes checking for specified location of the MySQL UNIX socket... /tmp/mysql.sock checking for mysql_close in -lmysqlclient_r... no checking for mysql_error in -lmysqlclient_r... no configure: error: mysql configure failed. Please check config.log for more information. $ Expected result: ---------------- Compilation Completed Successfully Thanks for use PHP ! Actual result: -------------- "config.log" says . . . configure:27511: checking whether to enable calendar conversion support configure:27546: result: no configure:27855: checking whether to enable ctype functions configure:27890: result: yes configure:28199: checking for cURL support configure:28235: result: yes configure:28244: checking if we should use cURL for url streams configure:28259: result: no configure:28289: checking for cURL 7.10.5 or greater configure:28303: result: libcurl 7.29.0 configure:28528: checking for SSL support in libcurl configure:28532: result: yes configure:28546: checking how to run the C preprocessor configure:28616: result: cc -E configure:28636: cc -E -D_REENTRANT conftest.c configure:28636: $? = 0 configure:28650: cc -E -D_REENTRANT conftest.c conftest.c:235:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:28650: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" . . -- Edit bug report at https://bugs.php.net/bug.php?id=64171&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=64171&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=64171&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=64171&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=64171&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=64171&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=64171&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=64171&r=needscript Try newer version: https://bugs.php.net/fix.php?id=64171&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=64171&r=support Expected behavior: https://bugs.php.net/fix.php?id=64171&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=64171&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=64171&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=64171&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64171&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=64171&r=dst IIS Stability: https://bugs.php.net/fix.php?id=64171&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=64171&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=64171&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=64171&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=64171&r=mysqlcfg