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