Re: [Vala] Help with libgda



Thanks.

I'll try to build it from git.

--
Noe

2015-08-24 12:32 GMT-07:00 yannick inizan <inizan yannick 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 <nnieto 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: nnieto 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: nnieto 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>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]