After moving the BerkelyDB.pm stuff back out of the DBD folder, I get: $ cd / $ perl -e "use BerkeleyDB;print $BerkeleyDB::db_version;" $ perl -e 'use BerkeleyDB;print BerkeleyDB->VERSION;' 0.54
James. On 28 Apr 2014, at 3:05 pm, Thomas Eckardt <[email protected]> wrote: > BerkeleyDB.pm is not a DBD driver - don't move it! > check 'DBdriver' - it should be 'BerkeleyDB' > > check that 'BerkeleyDB' is available - 'Info and Stats' -> 'Perl Modules' > before setting DBdriver to 'BerkeleyDB' > > run > >> perl -e 'use BerkeleyDB;print BerkeleyDB->VERSION;' > > to see what happens with this module. > > > C:\>perl -e "use BerkeleyDB;print BerkeleyDB->VERSION;" > 0.54 > C:\>perl -e "use BerkeleyDB;print $BerkeleyDB::db_version;" > 6.0 > C:\> > > > Thomas > > > > > > > > Von: James Brown <[email protected]> > An: ASSP development mailing list <[email protected]>, > Datum: 28.04.2014 06:17 > Betreff: [Assp-test] "Can't locate object method "driver" via > package "DBD::BerkeleyDB" > > > > Finally got over my “Too many open files” problem with BerkeleyDB. > Running: > > sudo sysctl -w kern.maxfiles=32768 > sudo sysctl -w kern.maxprocperuid=16384 > > seemed to work. > > I then got errors about couldn’t find DBD::BerkeleyDB in @INC: > > [init] Whitelist database error: install_driver(BerkeleyDB) failed: Can't > locate DBD/BerkeleyDB.pm in @INC (you may need to install the > DBD::BerkeleyDB module) (@INC contains: lib /Applications/assp/lib > /usr/local/lib/perl5/site_perl/5.18.2/darwin-thread-multi-ld-2level > /usr/local/lib/perl5/site_perl/5.18.2 > /usr/local/lib/perl5/5.18.2/darwin-thread-multi-ld-2level > /usr/local/lib/perl5/5.18.2 . /Applications/assp > /Applications/assp/Plugins) at (eval 512) line 3. > Perhaps the DBD::BerkeleyDB perl module hasn't been fully > installed, > or perhaps the capitalisation of 'BerkeleyDB' isn't > right. > Available drivers: DBM, ExampleP, File, Gofer, LDAP, > ODBC, PgPP, Proxy, SQLite, Sponge, Sprite, mysql. > at sub main::initDBHashes line 42. > > Found the BerkeleyDB .pm files in /usr/local/lib/perl5/site_perl/5.18.2 > /usr/local/lib/perl5/5.18.2/darwin-thread-multi-ld-2level and moved them > to the subdirectory DBD (i.e. they were one level too high). > > Now it doesn’t complain about not finding the module, but I’m getting the > error: > > [init] Whitelist database error: DBD::BerkeleyDB initialisation failed: > Can't locate object method "driver" via package "DBD::BerkeleyDB" at > /usr/local/lib/perl5/site_perl/5.18.2/darwin-thread-multi-ld-2level/DBI.pm > line 821. > > > Perhaps the capitalisation of DBD 'BerkeleyDB' isn't > right. at sub main::initDBHashes line 42. > > Anyone have any ideas? > > I feel I am getting close! > > Thanks, > > James. > ------------------------------------------------------------------------------ > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > Instantly run your Selenium tests across 300+ browser/OS combos. Get > unparalleled scalability from the best Selenium testing platform > available. > Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > _______________________________________________ > Assp-test mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/assp-test > > > > > DISCLAIMER: > ******************************************************* > This email and any files transmitted with it may be confidential, legally > privileged and protected in law and are intended solely for the use of the > > individual to whom it is addressed. > This email was multiple times scanned for viruses. There should be no > known virus in this email! > ******************************************************* > > > ------------------------------------------------------------------------------ > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > Instantly run your Selenium tests across 300+ browser/OS combos. Get > unparalleled scalability from the best Selenium testing platform available. > Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs_______________________________________________ > Assp-test mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/assp-test ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available. Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Assp-test mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/assp-test
