Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^15: Change in Berkeley DB in Perl 5.12?

by Anonymous Monk
on Dec 23, 2011 at 18:53 UTC ( #944958=note: print w/ replies, xml ) Need Help??


in reply to Re^14: Change in Berkeley DB in Perl 5.12?
in thread Change in Berkeley DB in Perl 5.12?

It's just a shame that you can't download it for free any more since Oracle got their grubby mitts on it.

I think you can

http://www.oracle.com/technetwork/database/berkeleydb/downloads/

free Oracle account (mailme mailer) http://download.oracle.com/otn/berkeley-db/db-5.2.36.tar.gz.md5

direct http://download.oracle.com/berkeley-db/db-5.2.36.tar.gz.md5


Comment on Re^15: Change in Berkeley DB in Perl 5.12?
Re^16: Change in Berkeley DB in Perl 5.12?
by BrowserUk (Pope) on Dec 23, 2011 at 19:29 UTC

    Clicking any of the downloads via your first link result in redirection to an Oracle Access Manager page that reports: "System error. Please re-try your action. If you continue to get this error, please contact the Administrator."

    Your second link redirects to the same place immediately.

    Your third link actually results in a download. But it is a file called: C:\Downloaded\db-5.2.36.tar.gz.gz (note that the .md5 suffix has been replaced by a second '.gz' suffix), which is a whole 51 bytes. So unless the doubled .gz means that they've come up with some remarkable compression algorithm, it is doubtful if that contains any of the DB files which are listed as ranging from 12 to 45MB (compressed).

    Free doesn't just mean 'costs nothing'.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    The start of some sanity?

      Thanks, I know, I have actually used this before, wget, lwp-download ... your browser behavior not withstanding :) See download latest berkeleydb

        Thanks, I know, I have actually used this before, wget, lwp-download ... your browser behavior not withstanding :)

        Then what was the point of posting the links if you know they don't work?

        And why should I need a script to download a file when I have a whole gamut of tools that can do it for me? And why would it succeed where the tools don't?

        I'm not trying to be rude here. I'm just a little confused.


        With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.

        The start of some sanity?

Re^16: Change in Berkeley DB in Perl 5.12? (download latest berkeleydb)
by Anonymous Monk on Dec 23, 2011 at 19:30 UTC
    #!/usr/bin/perl -- use LWP::Simple qw/ get mirror $ua /; $ua->show_progress(1); my $html = get( q{http://www.oracle.com/technetwork/database/berkeleyd +b/downloads/} ); if( my( $current ) = $html =~ m{href=\x22http[^\x22]+?/([^/]+md5)\x22} +i ){ print "$current\n"; die "UHOH " if $current =~ /[^a-zA-Z0-9\.\-]/; mirror( "http://download.oracle.com/berkeley-db/$current", $curren +t ); $current =~ s/\.md5$//i; mirror( "http://download.oracle.com/berkeley-db/$current", $curren +t ); } __END__ ** GET http://www.oracle.com/technetwork/database/berkeleydb/downloads +/ ==> 301 Moved Permanently ** GET http://www.oracle.com/technetwork/database/berkeleydb/downloads +/index.html ==> 200 OK (1s) db-5.2.36.tar.gz.md5 ** GET http://download.oracle.com/berkeley-db/db-5.2.36.tar.gz.md5 ==> + 304 Not Modified ** GET http://download.oracle.com/berkeley-db/db-5.2.36.tar.gz ==> 304 + Not Modified

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://944958]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2014-07-11 01:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (217 votes), past polls