Hi Stefbv,
Firstly, I never knew about perl Makefile.PL -i, that was really very helpful. Does it work on all Makefile.PLs? I'll check.
Well, I got it installed with a few tweaks, I'm not sure whether these were right or not, however, it seems to be working.
This is what happened:
perl Makefile.PL -i Configuring DBD::Firebird (on linux) libfbembed.so found in /usr/lib/../lib This script prepares the installation of the DBD::Firebird module. Warning: the process will create a temporary file to store the values required for the testing phase, including the password for access to the Firebird server in plain text: 't/tests-setup.tmp.conf'. Reading cached test configuration... Starting interactive setup, two attempts for each option, if both fail, the script will abort ... Enter the full paths to the Firebird instalation: Home: [/usr] /usr/lib/firebird/2.1/bin Include: [/usr/include] Lib: [/usr/lib] Configuring the test environment ... Hostname: [localhost] Enter the full path and file name of the test database (.fdb): Test DB: [/tmp/dbd-fb-testdb.fdb] Enter authentication options: Username: [SYSDBA] <user> Password: [masterkey] <password> Multiple copies of Driver.xst found in: /usr/local/lib/perl/5.12.4/aut +o/DBI/ /usr/lib/perl5/auto/DBI/ at Makefile.PL line 190 Using DBI 1.609 (for perl 5.012004 on x86_64-linux-gnu-thread-multi) i +nstalled in /usr/local/lib/perl/5.12.4/auto/DBI/ Multiple copies of Driver.xst found in: /usr/local/lib/perl/5.12.4/aut +o/DBI/ /usr/lib/perl5/auto/DBI/ at Makefile.PL line 193 Found libfbembed, will build DBD::FirebirdEmbed too. Configuring DBD::FirebirdEmbedded (on linux) FIREBIRD_HOME : /usr/lib/firebird/2.1/bin FIREBIRD_INCLUDE: /usr/include FIREBIRD_LIB : /usr/lib Client library : fbembed Writing Makefile for DBD::FirebirdEmbedded Writing MYMETA.yml and MYMETA.json Writing Makefile for DBD::Firebird Writing MYMETA.yml and MYMETA.json
My first question was that it wasn't intuitive that the first answer was '/usr/lib/firebird/2.1/bin', however as that is what I use for DBD:InterBase, I used it.
Secondly, it couldn't find my actual database when specified, so I used the test one defaulted and everything worked.
Update:I meant to add that make test also failed so I did nto run it on the last occassion and went straight from make to make install. This worked and the resulting code also seems to work, although I guess there will be some glitches if I use the code that failed.
Then changing the DSN itself was child's play and everything sprung into life.
So thanks again.
Regards
Steve
In reply to Re^6: Install problems with DBD::InterBase
by Steve_BZ
in thread Install problems with DBD::InterBase
by Steve_BZ
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |