Re: [gnome-db] How to build libgda and use it with Vala
[email protected] Sat, 05 Sep 2015 13:31:39 +0100
| Newsgroups | gmane.comp.gnome.db |
|---|---|
| Message-ID | <[email protected]> |
Hi Daniel, I couldn't get that macro's switches to work, I tried all sorts of combinations of --with-firebird and --with-firebird-libdir-name to get the script to see the Firebird libraries without success. The Firebird header files are in /usr/include/ and the client libraries are in /usr/lib/i386-linux-gnu/ I tried: --with-firebird --with-firebird=yes --with-firebird=yes _--with-firebird-libdir-name=/usr/lib/i386-linux-gnu/_ --with-firebird=/usr _--with-firebird-libdir-name=/usr/lib/i386-linux-gnu/_ _--with-firebird-libdir-name=/usr/lib/i386-linux-gnu/_ none of which worked. I don't know if there's a bug in the macro or if I was misunderstanding the instructions in the macro's header comments. Anyway, I noted the macro defaulted to searching /usr/include and /usr/lib so I created symlinks for the client libraries: _sudo ln -s /usr/lib/i386-linux-gnu/libfbclient.so /usr/lib/libfbclient.so_ _sudo ln -s /usr/lib/i386-linux-gnu/libfbembed.so /usr/lib/libfbembed.so_ and that seems to have done the trick: _Compiled providers:_ _ Berkeley DB = no_ _ Berkeley DB SQL = no_ _ FireBird (client)= yes_ _ FireBird (embed)= yes_ _ MDB (MS Access) = no_ _ MySQL = no_ _ Oracle = no_ _ PostgreSQL = no_ _ SQLite = yes (embedded)_ _ SQLCipher = yes_ _ JDBC = no_ _ WEB = no_ LDAP = no Thanks again for your help. Steve. On 2015-09-04 23:06, Daniel Espinosa wrote: > As for m4/firebird.m4 (you should read It), --with-firebird to automatically search the libs and headers. Because you follow standard procedure I hope this will be enough > El sept. 4, 2015 3:59 PM, <[email protected]> escribió: > > 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 [1]_ > > 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) Links: ------ [1] https://help.ubuntu.com/community/Firebird2.5 _______________________________________________ gnome-db-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gnome-db-list