Re: [gnome-db] How to build libgda and use it with Vala

[email protected] Fri, 04 Sep 2015 21:59:03 +0100
Newsgroups gmane.comp.gnome.db
Message-ID <[email protected]>
 

I have installed Firebird2.5-classic, the client library, the embedded
library and the dev files following the instructions here: 

_https://help.ubuntu.com/community/Firebird2.5_ 

but the script still does not compile for Firebird. 

If I use the find command to look for ibase.h it is in /usr/include 

_sudo find / -name ibase.h_
_/usr/include/ibase.h_ 

so I think the dev files did install correctly. 

Is there something I can tweak to make the script find the Firebird dev
files? 

On 2015-09-04 20:26, Daniel Espinosa wrote: 

> You should install development package, in order to get Firebird pc file locatable by pkg-config. Then you'll see Firebird found and its provider compiled against. 
> 
> 2015-09-04 13:22 GMT-05:00 <[email protected]>:
> 
> Thanks again, Daniel 
> 
> The script now reaches the end successfully but I have one more question, this is the list of 'Compiled providers' displayed in my terminal: 
> 
> _Compiled providers:_
> _ Berkeley DB = no_
> _ Berkeley DB SQL = no_
> _ FireBird (client)= no_
> _ FireBird (embed)= no_
> _ MDB (MS Access) = no_
> _ MySQL = no_
> _ Oracle = no_
> _ PostgreSQL = no_
> _ SQLite = yes (embedded)_
> _ SQLCipher = yes_
> _ JDBC = no_
> _ WEB = no_
> _ LDAP = no_
> 
> Do I need to do something more to get Firebird active? I do have the Firebird client libraries and dev files installed. 
> 
> Steve. 
> 
> On 2015-09-04 18:02, Daniel Espinosa wrote: 
> 
> You should use 
> 
> VALA_API_VERSION=0.30 ./autogen.sh --enable-vala --enable-vala-extensions
> 
> in order to compile against Vala-0.30 
> 
> 2015-09-04 11:55 GMT-05:00 <[email protected]>:
> 
> Thanks Gergely and Daniel, 
> 
> I have Vala-0.29.2 on Linux Mint Mate which I have installed from source using the standard 
> 
> _./configure_ 
> 
> _make_ 
> 
> _sudo make install_ 
> 
> vala, valac, vapicheck and vapigen are all in /usr/local/bin and libvala-0.30.so.0.0.0 is in /usr/local/lib 
> 
> When I run the command you have suggested 
> 
> ./autogen.sh --enable-vala --enable-vala-extensions 
> 
> The script halts with the following error: 
> 
> _checking for vapigen vapigen-0.26... no_
> _configure: Searching for vapigen-0.26 program..._
> _checking for vapigen-0.26... no_
> _configure: error: Can't locate vapigen-0.26 >= 0.26.0 program_
> 
> It does not seem to accept vapigen-0.30 as > vapigen-0.26.0 
> 
> I created a symlink as vapigen-0.26.0 and that got me past this error but then I got a similar error message for libvala and the symlink trick wouldn't work for that. Is it a bug or did I do something wrong? 
> 
> Regards 
> 
> Steve 
> 
> -- 
> 
> Trabajar, la mejor arma para tu superación
> "de grano en grano, se hace la arena" (R) (en trámite, pero para los cuates: LIBRE)

-- 

Trabajar, la mejor arma para tu superación
"de grano en grano, se hace la arena" (R) (en trámite, pero para los
cuates: LIBRE)

_______________________________________________
gnome-db-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gnome-db-list