Just for the record. This is what I did all this to compile libgda 6.0 with
vala bindings on Fedora 22.

sudo dnf install vala-devel vala-devel vala-compat-tools vala-tools
gtksourceview3 gtksourceview3-devel goocanvas2-devel graphviz-devel
libgee-devel community-mysql-devel postgresql-devel libsqlite3x-devel
git clone https://github.com/GNOME/libgda.git
cd libgda/
VALA_API_VERSION=0.28 ./autogen.sh --prefix=/opt --enable-json
--enable-vala=yes --enable-gda-gi=yes --enable-gdaui-gi=yes
--enable-gi-system-install=yes --enable-gdaui-vala=yes
--enable-vala-extensions=yes --enable-gtk-doc --enable-system-sqlite
--with-ui --with-gtksourceview --with-goocanvas --with-graphviz
--with-gnome-keyring --enable-binreloc --enable-system-sqlite=no

Can libgda 6.0 be installed along with the one that ships with fedora
(5.22)?

--
Noe


2015-08-24 12:32 GMT-07:00 yannick inizan <inizan.yann...@gmail.com>:

> because vapi doesn't exist. Only 4.0 is present. libgda 6.0 has his own
> generated vapi
> If you want 6.0, build from git. Or on ubuntu :
> https://launchpad.net/~inizan-yannick/+archive/ubuntu/development/
>
> 2015-08-24 21:20 GMT+02:00 Noe Nieto <nni...@noenieto.com>:
>
>> Hi, I generated a vala project using Anjuta on Fedora 22. When I run make
>> on the project I get the following error:
>>
>> $ make
>> make  all-recursive
>> make[1]: Entering directory '/home/nnieto/Code/mezquite'
>> Making all in src
>> make[2]: Entering directory '/home/nnieto/Code/mezquite/src'
>>   VALAC    mezquite_vala.stamp
>> error: Package `libgda-5.0' not found in specified Vala API directories or
>> GObject-Introspection GIR directories
>> error: Package `libgda-mysql-5.0' not found in specified Vala API
>> directories or GObject-Introspection GIR directories
>> Compilation failed: 2 error(s), 0 warning(s)
>> Makefile:479: recipe for target 'mezquite_vala.stamp' failed
>> make[2]: *** [mezquite_vala.stamp] Error 1
>> make[2]: Leaving directory '/home/nnieto/Code/mezquite/src'
>> Makefile:454: recipe for target 'all-recursive' failed
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory '/home/nnieto/Code/mezquite'
>> Makefile:365: recipe for target 'all' failed
>> make: *** [all] Error 2
>>
>> Libgda is installed on the system:
>> $ pkg-config --list-all | grep gda
>> libgda-ldap-5.0                     libgda-ldap-5.0 - GDA Ldap provider
>> libgda-xslt-5.0                     libgda-xslt-5.0 - GDA (GNOME Data
>> Access) XSLT extension
>> libgda-bdbsql-5.0                   libgda-bdbsql-5.0 - GDA (GNOME Data
>> Access) BDBSql provider
>> libgda-jdbc-5.0                     libgda-jdbc-5.0 - GDA (GNOME Data
>> Access) JDBC provider
>> libgda-sqlcipher-5.0                libgda-sqlcipher-5.0 - GDA (GNOME Data
>> Access) SQLCipher provider
>> libgda-5.0                          libgda-5.0 - GDA (GNOME Data Access)
>> library
>> libgdata                            libgdata - GData client library
>> libgda-report-5.0                   libgda-report-5.0 - GDA (GNOME Data
>> Access) Reports
>> libgda-mdb-5.0                      libgda-mdb-5.0 - GDA (GNOME Data
>> Access) MDB provider
>> libgda-sqlite-5.0                   libgda-sqlite-5.0 - GDA (GNOME Data
>> Access) SQLite provider
>> libgda-mysql-5.0                    libgda-postgres-5.0 - GDA (GNOME Data
>> Access) Mysql provider
>> libgda-bdb-5.0                      libgda-bdb-5.0 - GDA (GNOME Data
>> Access) BDB provider
>> libgda-postgres-5.0                 libgda-postgres-5.0 - GDA (GNOME Data
>> Access) PostgreSQL provider
>> libgda-web-5.0                      libgda-web-5.0 - GDA (GNOME Data
>> Access) Web provider
>>
>> And my Makefile.am looks lik this:
>>
>> dnl Process this file with autoconf to produce a configure script.
>> dnl Created by Anjuta application wizard.
>>
>> AC_INIT(mezquite, 0.1)
>>
>> AC_CONFIG_HEADERS([config.h])
>>
>> AM_INIT_AUTOMAKE([1.11])
>>
>> AM_SILENT_RULES([yes])
>>
>> AC_PROG_CC
>>
>>
>>
>>
>> LT_INIT
>>
>> dnl Check for vala
>> AM_PROG_VALAC([0.10.0])
>>
>>
>> PKG_CHECK_MODULES(MEZQUITE, [libgda-5.0 libgda-mysql-5.0 gtk+-3.0])
>>
>>
>> AC_OUTPUT([
>> Makefile
>> src/Makefile
>>
>> ])
>>
>> I'm a bit lost on this. Any help will be greatly appreciated.
>>
>>
>> --
>> ---
>> Noe Nieto
>> NNieto Consulting Services
>> M: nni...@noenieto.com
>> W: http://noenieto.com
>> T:  @tzicatl <https://twitter.com/#%21/tzicatl>
>> Li: Perfil en LinkedIn <http://www.linkedin.com/profile/view?id=84300665>
>> _______________________________________________
>> vala-list mailing list
>> vala-list@gnome.org
>> https://mail.gnome.org/mailman/listinfo/vala-list
>>
>
>


-- 
---
Noe Nieto
NNieto Consulting Services
M: nni...@noenieto.com
W: http://noenieto.com
T:  @tzicatl <https://twitter.com/#%21/tzicatl>
Li: Perfil en LinkedIn <http://www.linkedin.com/profile/view?id=84300665>
_______________________________________________
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to