Click here to get back home

DB_File default version

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
DB_File default version arnaud gaudinat 08-10-2004
Posted by arnaud gaudinat on August 10, 2004, 4:24 pm
Please log in for more thread options
Hi,

If you read the doc of the DB_File module you need to install Berkeley DB.
So why does this module work without installing Berkeley DB?
If there is a version of Berkeley DB which come with perl and if the case
what is the version number?
In fact I try to use DB_file data between several computers with different
OS, I don't understand really the rules of compatibility of data files
sometime it works with different versions of perl and sometimes not.

Please help me!

Arnaud.




Posted by Paul Marquess on August 10, 2004, 4:22 pm
Please log in for more thread options

> Hi,
>
> If you read the doc of the DB_File module you need to install Berkeley DB.

No, you only need to install Berkeley DB if you don't already have it
installed on your system.

> So why does this module work without installing Berkeley DB?

DB_File cannot work without an installed copy of Berkeley DB.

> If there is a version of Berkeley DB which come with perl and if the case
> what is the version number?

Berkeley DB does not ship with Perl.

> In fact I try to use DB_file data between several computers with different
> OS, I don't understand really the rules of compatibility of data files
> sometime it works with different versions of perl and sometimes not.

That is a different question.

Berkeley DB data files have been designed to be portable between different
OS's, as long as the same version of Berkeley DB is used on each system.

The data file format used by Berkeley DB has changed over the years, so you
need to make sure that you are running DB_File built with the same version
of Berkeley DB on each OS.

Paul




Posted by arnaud gaudinat on August 10, 2004, 7:26 pm
Please log in for more thread options
Thanks Paul,

Internet is amazing! What is better than to have an answer from the module
author!
You're right, for example for my cygwin version this is the 4.2 version
Berkeley DB which was installed by default with cygwin.
I have updated all my Berkeley DB with this version and now the behaviour is
the same on my different computers.

Best regards,

Arnaud.

2ns421F44ft3U1@uni-berlin.de...
>
> > Hi,
> >
> > If you read the doc of the DB_File module you need to install Berkeley
DB.
>
> No, you only need to install Berkeley DB if you don't already have it
> installed on your system.
>
> > So why does this module work without installing Berkeley DB?
>
> DB_File cannot work without an installed copy of Berkeley DB.
>
> > If there is a version of Berkeley DB which come with perl and if the
case
> > what is the version number?
>
> Berkeley DB does not ship with Perl.
>
> > In fact I try to use DB_file data between several computers with
different
> > OS, I don't understand really the rules of compatibility of data files
> > sometime it works with different versions of perl and sometimes not.
>
> That is a different question.
>
> Berkeley DB data files have been designed to be portable between different
> OS's, as long as the same version of Berkeley DB is used on each system.
>
> The data file format used by Berkeley DB has changed over the years, so
you
> need to make sure that you are running DB_File built with the same version
> of Berkeley DB on each OS.
>
> Paul
>
>




Similar ThreadsPosted
File::Spec version 0.08 required--this is only version 0.87 December 22, 2004, 4:00 pm
DateTime - default Timezone ? August 20, 2004, 2:21 pm
default location for apache2.pm October 3, 2005, 11:39 pm
IO::Socket default timeout September 25, 2006, 2:35 pm
CGI popup_menu does not change default selection March 24, 2005, 6:31 pm
changing $/ new line default character December 18, 2006, 11:03 am
DBI version error October 26, 2004, 11:49 am
mod_perl version December 15, 2004, 12:46 am
Version? of getopt::Long October 4, 2004, 2:48 pm
ANNOUNCE: New version of RPC::Simple October 18, 2004, 2:08 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap