[freetds] Compiling php-5.03 with freetds-0.63RC10 fails

Andre Konopka andre.konopka at presse-data.de
Tue Mar 15 03:51:39 EST 2005


Hi,

I tried to compile php-5.0.3 with freetds support


./configure ..... --with-sybase=/opt/pdwwwtst/freetds-0.63RC10 \
--with-iodbc=/opt/pdwwwtst/freetds-0.63RC10 \

without success on my RH system.



/bin/sh /opt/pdwwwtst/pkgs/php-5.0.3/libtool --silent 
--preserve-dup-deps --mode=compile gcc  -Iext/sybase/ 
-I/opt/pdwwwtst/pkgs/php-5.0.3/ext/sybase/ -DPHP_ATOM_INC 
-I/opt/pdwwwtst/pkgs/php-5.0.3/include 
-I/opt/pdwwwtst/pkgs/php-5.0.3/main -I/opt/pdwwwtst/pkgs/php-5.0.3 
-I/opt/pdwwwtst/freetds-0.63RC10/include 
-I/opt/pdwwwtst/pkgs/php-5.0.3/Zend 
-I/opt/pdwwwtst/libxml/include/libxml2 -I/opt/pdwwwtst/zlib/include 
-I/opt/pdwwwtst/jpeg/include -I/opt/pdwwwtst/libpng/include 
-I/opt/pdwwwtst/openldap/include -I/opt/pdwwwtst/libmcrypt-2.5.7/include 
-I/opt/pdwwwtst/mysql/include  -I/opt/pdwwwtst/pkgs/php-5.0.3/TSRM  -g 
-O2  -prefer-pic -c 
/opt/pdwwwtst/pkgs/php-5.0.3/ext/sybase/php_sybase_db.c -o 
ext/sybase/php_sybase_db.lo
/opt/pdwwwtst/pkgs/php-5.0.3/ext/sybase/php_sybase_db.c: In function 
`zif_sybase_fetch_object':
/opt/pdwwwtst/pkgs/php-5.0.3/ext/sybase/php_sybase_db.c:1112: invalid 
lvalue in assignment
/opt/pdwwwtst/pkgs/php-5.0.3/ext/sybase/php_sybase_db.c:1113: invalid 
lvalue in assignment
make: *** [ext/sybase/php_sybase_db.lo] Fehler 1


Can anybody help me?


Best regards

Andre


More information about the FreeTDS mailing list