[freetds] Problems configuring PHP --with-sybase=/usr/local/freetds
Reymann, Joseph
JReymann at jftl.jpl.nasa.gov
Fri Apr 1 12:06:09 EST 2005
Hi,
I am trying to configure PHP with db-lib access to work with FreeTDS. The
FreeTDS install went smoothly and was tested successfully with tsql. Below
is the configure directives. With the exception
--with-sybase=/usr/local/freetds directive, all other directives were
successfully configured and running with PHP 4.3.7.
We are trying to configure the latest version of PHP 5 with FreeTDS. Any
help would be appreciated.
./configure --with-apxs=/usr/local/apache/bin/apxs
--with-openssl=/usr/local/ssl --with-db4=/usr/local/BerkeleyDB --with-ldap
--with-mysql=/usr/local/mysql --with-sybase=/usr/local/freetds
ext/sybase/php_sybase_db.lo
/usr/local/src/php-5.0.3/ext/sybase/php_sybase_db.c:
In function `zif_sybase_fetch_object':
/usr/local/src/php-5.0.3/ext/sybase/php_sybase_db.c:1112:
error: invalid lvalue in assignment
/usr/local/src/php-5.0.3/ext/sybase/php_sybase_db.c:1113:
error: invalid lvalue in assignment
make:
*** [ext/sybase/php_sybase_db.lo] Error 1
Thanks,
Joe
More information about the FreeTDS
mailing list