Edit report at https://bugs.php.net/bug.php?id=64558&edit=1

 ID:                 64558
 Comment by:         perske at uni-muenster dot de
 Reported by:        cburke at innova-partners dot com
 Summary:            ./configure fails with error
 Status:             Open
 Type:               Bug
 Package:            Compile Failure
 Operating System:   RHEL 6.3
 PHP Version:        5.4.13
 Block user comment: N
 Private report:     N

 New Comment:

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.


Previous Comments:
------------------------------------------------------------------------
[2013-04-01 17:23:27] 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.


------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=64558&edit=1

Reply via email to