php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64558 ./configure fails with error
Submitted: 2013-04-01 17:23 UTC Modified: 2014-12-30 10:41 UTC
Votes:8
Avg. Score:3.8 ± 1.0
Reproduced:4 of 4 (100.0%)
Same Version:2 (50.0%)
Same OS:1 (25.0%)
From: cburke at innova-partners dot com Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 5.4.13 OS: RHEL 6.3
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2013-04-01 17:23 UTC] cburke at innova-partners dot com
Description:
------------
When trying to run ./configure the script fails with:


checking size of char... configure: error: cannot compute sizeof (char)

An identical configure strings works on this system with 5.4.12


Test script:
---------------
./configure --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --cache-file=../config.cache --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d --disable-debug --with-pic --disable-rpath --with-bz2 --with-curl --with-freetype-dir=/usr --with-png-dir=/usr --enable-gd-native-ttf --without-gdbm --with-gettext --with-gmp --with-iconv --with-jpeg-dir=/usr --with-openssl --with-pspell --with-pcre-regex=/usr --with-zlib --with-layout=GNU --enable-exif --enable-ftp --enable-sockets --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-wddx --with-pear=/usr/share/pear --with-kerberos --with-unixODBC=/usr --enable-shmop --enable-calendar --with-libxml-dir=/usr/lib --with-apxs2=/usr/sbin/apxs  --with-mysql --with-mysqli=/usr/lib64/mysql/mysql_config --with-pdo-mysql --with-gd --with-pdo-odbc=unixODBC,/usr --disable-dba --with-mssql=/usr/local/freetds --enable-mbstring --enable-soap --with-xmlrpc --with-libxml-dir=/usr/include/libxml2 --with-ldap --with-pdo-dblib=/usr/local/freetds --enable-zip --with-mhash --with-mcrypt --with-libdir=lib64

Expected result:
----------------
Configure completes. 

Actual result:
--------------
Configure does not complete and errors.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-04-02 12:43 UTC] perske at uni-muenster dot de
I got a similar message: ... cannot compute sizeof (long int).
Obviously embedding of FreeTDS has changed somehow, because config.log shows that -lsybdb could not be resolved.
I added a file /etc/ld.so.conf.d/freetds containing /usr/local/lib64 and ran ldconfig after installing FreeTDS and then my problem disappeared.
 [2014-10-25 04:41 UTC] ssufficool@php.net
-Status: Open +Status: Feedback
 [2014-10-25 04:41 UTC] ssufficool@php.net
Please try the suggested workaround for your platform and leave feedback.
 [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: Fri Mar 29 15:01:28 2024 UTC