Bug #64171 [Opn->Fbk]: configure script fail when I use --with-curl and --with-mysql parameters

From: Date: Fri, 25 Apr 2014 08:54:51 +0000
Subject: Bug #64171 [Opn->Fbk]: configure script fail when I use --with-curl and --with-mysql parameters
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-185432@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=64171&edit=1 ID: 64171 Updated by: mike@php.net Reported by: difer_t at hotmail dot com Summary: configure script fail when I use --with-curl and --with-mysql parameters -Status: Open +Status: Feedback Type: Bug Package: cURL related Operating System: Ubuntu 12.10 PHP Version: 5.4.11 Block user comment: N Private report: N New Comment: Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. So, once libcurl cannot be found and then appropriate mysql libs cannot be found. Previous Comments: ------------------------------------------------------------------------ [2013-02-08 06:26:03] difer_t at hotmail dot com 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 this bug report at https://bugs.php.net/bug.php?id=64171&edit=1

« previous php.bugs (#185432) next »