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

From: Date: Tue, 30 Dec 2014 10:41:57 +0000
Subject: Bug #64171 [Fbk->NoF]: 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-189424@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:       php-bugs@lists.php.net
 Reported by:      difer_t at hotmail dot com
 Summary:          configure script fail when I use --with-curl and
                   --with-mysql parameters
-Status:           Feedback
+Status:           No Feedback
 Type:             Bug
 Package:          cURL related
 Operating System: Ubuntu 12.10
 PHP Version:      5.4.11
 Private report:   N

 New Comment:

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.


Previous Comments:
------------------------------------------------------------------------
[2014-04-25 08:54:50] 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.

------------------------------------------------------------------------
[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


Thread (3 messages)

« previous php.bugs (#189424) next »