[freetds] Problems configuring PHP --with-sybase=/usr/local/freetds

Frediano Ziglio freddyz77 at tin.it
Fri Apr 1 14:11:08 EST 2005


Il giorno ven, 01-04-2005 alle 09:06 -0800, Reymann, Joseph ha scritto:
> 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
> 

I found it, look at http://bugs.php.net/bug.php?id=28248

freddy77




More information about the FreeTDS mailing list