php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64171 configure script fail when I use --with-curl and --with-mysql parameters
Submitted: 2013-02-08 06:26 UTC Modified: 2014-12-30 10:41 UTC
From: difer_t at hotmail dot com Assigned:
Status: No Feedback Package: cURL related
PHP Version: 5.4.11 OS: Ubuntu 12.10
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: difer_t at hotmail dot com
New email:
PHP Version: OS:

 

 [2013-02-08 06:26 UTC] 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 ""
.
.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-04-25 08:54 UTC] mike@php.net
-Status: Open +Status: Feedback
 [2014-04-25 08:54 UTC] mike@php.net
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.
 [2014-12-30 10:41 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 07:01:29 2024 UTC