Skip to Content.
Sympa Menu

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

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddyz77 AT tin.it>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Problems configuring PHP --with-sybase=/usr/local/freetds
  • Date: Fri, 01 Apr 2005 20:32:53 +0200

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
>

If I remember this is a PHP problem. Try to search in FreeTDS ML or in
PHP BUG reports. You should find a patch to fix the problem.

freddy77






Archive powered by MHonArc 2.6.24.

Top of Page