Re: [Vala] Help with libgda



Ok, this is embarrasing, I installed into /opt.

So, I checked out libgda version 6, compiled and installed on /usr prefix
and modified my configure.ac to use the version 6:
[...]
dnl Check for vala
AM_PROG_VALAC([0.10.0])


PKG_CHECK_MODULES(MEZQUITE, [libgda-6.0 libgda-mysql-6.0 gtk+-3.0])
[...]

and ran

make distclean
./autogen.sh
make

The result of running 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-mysql-6.0' not found in specified Vala API
directories or GObject-Introspection GIR directories
Compilation failed: 1 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

Should I run the same tests but for git tag 5.2.4?

--
Noe





2015-08-26 9:47 GMT-07:00 Noe Nieto <nnieto noenieto com>:

2015-08-26 3:01 GMT-07:00 Al Thomas <astavale yahoo co uk>:


----- Original Message -----
From: Noe Nieto <nnieto noenieto com>
Cc: Vala <vala-list gnome org>
Sent: Tuesday, 25 August 2015, 20:14
Subject: Re: [Vala] Help with libgda

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

Does
git clone -b LIBGDA_5_2_2 --single-branch
https://github.com/GNOME/libgda.git
also work?
Or now you already have cloned it:
cd libgda/
git checkout -b LIBGDA_5_2_2


Yes, it builds if I specify VALA_API_VERSION=0.28

I ran git checkout -b LIBGDA_5_2_4 and then  configure and make. Just
before running make install i checked the version with pkg-config:
$ pkg-config --modversion libgda-5.0
5.2.2

After executing sudo make install:
$ pkg-config --modversion libgda-5.0
5.2.2

So, it seems like if it didn't install the new version .. weird. My anjuta
project no longer complains about libgda-5.0 missing, but libgda-mysql-5.0
is still missing.


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


It looks as though 5.23 had a couple of commits related to VAPI:
https://git.gnome.org/browse/libgda/log/?h=LIBGDA_5.2
so it might be worth trying to build for LIBGDA_5_2_4


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

Looks though Ubuntu have a bug for this:
https://bugs.launchpad.net/ubuntu/+source/libgda5/+bug/1016727
but can't find anything for Fedora:

https://bugzilla.redhat.com/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=POST&bug_status=MODIFIED&bug_status=ON_DEV&bug_status=ON_QA&bug_status=VERIFIED&bug_status=RELEASE_PENDING&bug_status=CLOSED&classification=Fedora&component=libgda&product=Fedora&query_format=advanced

If the VAPI builds OK for 5.22 or 5.24 it may be worth filing a Fedora
bug so
atleast it appears in the next release. Not sure when 6.0 is expected to
be released:
http://www.gnome-db.org/Roadmap

Thanks for letting us know of your progress,

Al
_______________________________________________
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>




-- 
---
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]