The problem is that I'm working with someone else's bulletin board script so I've got to use that to rebuild the database. When I tried this before I wasn't successful and I wasn't sure whether this was because I'd not been rebuilding it in the correct way or just that some versions of 4.1 of BerkeleyDB are so slow where there are over 1,500 messages (I have just under 4,000) according to the test script I ran. This seemed to be borne out by the test results I got just building a simple DB_File.
Although I'm only running the VM as a test server and not as a production one I'd prefer to have a more efficient version of BerkeleyDB if possible. I'll have another think about this. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Raven Sent: Monday, November 12, 2007 5:28 PM To: Active Perl Subject: RE: Berkeley DB Problem with DB_File Eric Robertson <mailto:[EMAIL PROTECTED]> wrote: > Many thanks for the reply, Brian. > > As well as trying to read the same database files on both machines I > should have mentioned that, knowing that there are differences > between how different versions of Berkeley DB produce the files, for > example those on Windows and Linux machines, I also tried to rebuild > the database from scratch on the virtual machine but this failed. > > If I understand you correctly you're saying that if I ensure that the > DB_File running on both machines is the same then this might solve my > problem. I'm only running Perl 5.6 and don't want to change for > various reasons so I don't want to use the current version of this > module for Perl 5.8. It would be handy if I could use the version > that I'm currently using on the standalone machine so that I could > use the current database files on both machines. I'll have a search > for this version, to see if it's still available - I have the ppm for > version 1.76 but not for the 1.73 on the original machine. > > If I can't find the same version would it be possible just to copy > over the DB_File folders from the one machine to the other or there > other changes I'd need to make? Before trying that, I would try recreating the db using the latest version. It would involve dumping the db in some suitably independent form (e.g. text) using the earlier version, which can be read and used to write a new db using the later version. If that is not too much work, it would be safer than trying to copy files from one perl installation to another. HTH -- Brian Raven ========================================= Atos Euronext Market Solutions Disclaimer ========================================= The information contained in this e-mail is confidential and solely for the intended addressee(s). Unauthorised reproduction, disclosure, modification, and/or distribution of this email may be unlawful. If you have received this email in error, please notify the sender immediately and delete it from your system. The views expressed in this message do not necessarily reflect those of Atos Euronext Market Solutions. Atos Euronext Market Solutions Limited - Registered in England & Wales with registration no. 3962327. Registered office address at 25 Bank Street London E14 5NQ United Kingdom. Atos Euronext Market Solutions SAS - Registered in France with registration no. 425 100 294. Registered office address at 6/8 Boulevard Haussmann 75009 Paris France. L'information contenue dans cet e-mail est confidentielle et uniquement destinee a la (aux) personnes a laquelle (auxquelle(s)) elle est adressee. Toute copie, publication ou diffusion de cet email est interdite. Si cet e-mail vous parvient par erreur, nous vous prions de bien vouloir prevenir l'expediteur immediatement et d'effacer le e-mail et annexes jointes de votre systeme. Le contenu de ce message electronique ne represente pas necessairement la position ou le point de vue d'Atos Euronext Market Solutions. Atos Euronext Market Solutions Limited Société de droit anglais, enregistrée au Royaume Uni sous le numéro 3962327, dont le siège social se situe 25 Bank Street E14 5NQ Londres Royaume Uni. Atos Euronext Market Solutions SAS, société par actions simplifiée, enregistré au registre dui commerce et des sociétés sous le numéro 425 100 294 RCS Paris et dont le siège social se situe 6/8 Boulevard Haussmann 75009 Paris France. ========================================= _______________________________________________ ActivePerl mailing list ActivePerl@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _______________________________________________ ActivePerl mailing list ActivePerl@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs