Re: Proposed Extension: libgda
| From: | Chris Silles | Date: | Tue, 16 Sep 2003 00:59:35 +0000 |
| Subject: | Re: Proposed Extension: libgda | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-21530@lists.php.net to get a copy of this message | ||
On Monday 15 September 2003 20:45, Xavier Noguer wrote:
> I had to make some changes in config.m4 in order to make it compile
>
> replaced
>
> PHP_ADD_INCLUDE(-I/usr/include/glib-2.0)
>
> for
>
> PHP_ADD_INCLUDE(/usr/include/glib-2.0)
>
> and I also had to add
>
> PHP_ADD_INCLUDE(/usr/include/libxml2)
>
> but I think libxml can be installed someplace else also.
Locating the various different packages required (namely glib-2 and libxml2)
is something I'm not entirely sure how to implement, although I've added
these include paths, it still refuses to compile without CFLAGS/LDFLAGS.
> I still got some warnings:
>
> home/xnoguer/php-4.3.1/ext/gda/php_gda.c: In function
> `zif_gda_fetch_field': /home/xnoguer/php-4.3.1/ext/gda/php_gda.c:656:
> warning: passing arg 4 of `add_property_string_ex' discards qualifiers from
> pointer target type /home/xnoguer/php-4.3.1/ext/gda/php_gda.c:657: warning:
> passing arg 4 of `add_property_string_ex' discards qualifiers from pointer
> target type
Warnings have been removed, thanks.
> I didn't test it yet, but I'll do it soon.
I've tested it with MySQL and PgSQL, and both have performed fine (with libgda
0.99).. However the other database backends are yet to be tested (simply
because I do not have access to them), and may require some changes to libgda
to comply fully..