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



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 <steve oneledger co uk>:

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 <steve oneledger co uk>:

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)


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