in reply to Getting a Perl connection to a Firebird2.1-classic database in Kubuntu 9.10
Hi Guys,
Well thank you for all your input.
I specially want to thank 'almut' for the *-dev hint, 'CountZero' for reading through the Makfile.PL, amazing dedication to duty, and 'mapopa' for taking me down the final few yards and of course everyone else for keeping my moral up.
OK, now the answer we've all been waiting for:
Firebird2.1, any version, installs fairly easily on Kubuntu 9.10 with apt-get or KPackage, but you have to start the service with:
sudo dpkg-reconfigure firebird2.1-classic,which hangs but don't worry it's still done the job, or
sudo dpkg-reconfigure firebird2.1-superwhich doesn't.
Then you install firebird2.1-dev and DBI, again, with apt-get or KPackage. Now to get DBD::InterBase, it's the paths that throw you. Here is the script:
wget http://search.cpan.org/CPAN/authors/id/E/ED/EDPRATOMO/DBD-InterBa +se-0.48.tar.gz tar -zxvf DBD-InterBase-0.48.tar.gz cd DBD-InterBase-0.48 perl Makefile.PL bin directory : /usr/lib/firebird/2.1/bin include directory : /usr/include lib directory : /usr/lib libfbembed? (y/n) [n] Full path to your test database: /tmp/foo/test.fdb Username : SYSDBA Password : masterkey make make test (optional step) make install
If you haven't started the service, none of the tests will pass, in fact it still hung with me anyway, but ctrl-c is a wonderful invention.
Finally the install worked perfectly and I'm now back to debugging.
Thanks again for all your hard work.
Regards
Steve
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Getting a Perl connection to a Firebird2.1-classic database in Kubuntu 9.10 [SOLUTION]
by Steve_BZ (Chaplain) on Nov 13, 2009 at 14:11 UTC |