Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

MARC::Charset 1.34

1 view
Skip to first unread message

Galen Charlton

unread,
Feb 11, 2013, 12:17:36 PM2/11/13
to perl4lib
Hi,

I have uploaded version 1.34 of MARC::Charset to CPAN. This is a minor
bugfix and portability release. Changes from 1.33 are:

- RT#83257: use AnyDBM_File rather than hardcode GDBM_File

To improve portability, use AnyDBM_File to select a DBM
rather than rely on GDBM_File. GDBM_File apparently used
to be a core module, but not all distributions included it,
particularly OS X. In any event, GDBM_File is no longer
core.

This patch also includes a tweak to allow MARC::Charset to
work with NDBM_File and ODBM_File, neither of which
support 'exists'.

I've tested MARC::Charset successfully on the following
DBMs:

- GDBM_File
- DB_File
- NDBM_File
- ODBM_File
- SDBM_File

This is also my preferred order; SDBM_File is selected last
because it produces the biggest data file on disk.

- RT#38912: fix mapping of double diacritics (ligature and double
tilde).
Thanks to Thomas P. Ventimiglia for the bug report and test case.

Regards,

Galen
--
Galen Charlton
gmch...@gmail.com

Leif Andersson

unread,
Feb 11, 2013, 1:50:20 PM2/11/13
to Galen Charlton, perl4lib
It gunzips fine, but then there seems to be something wrong with the tar file...

/Leif Andersson
Stockholm University Library

Galen Charlton

unread,
Feb 11, 2013, 2:01:56 PM2/11/13
to Leif Andersson, perl4lib
Hi,

On Mon, Feb 11, 2013 at 10:50 AM, Leif Andersson
<Leif.An...@sub.su.se>wrote:

> It gunzips fine, but then there seems to be something wrong with the tar
> file...
>

Could you elaborate? In particular, what platform are you on and what
error message are you getting?

I tried installing MARC::Charset 1.34 via a 'cpan MARC::Charset' on a fresh
Debian box, and it worked for me.

Leif Andersson

unread,
Feb 11, 2013, 2:52:58 PM2/11/13
to Galen Charlton, perl4lib
Corrupt tar file RESOLVED.

But here's the background anyway.

I downloaded the MARC-Charset-1.34.tar.gz to Windows7.

"The archive is corrupt" was the error message from WinRAR on Windows.
Other utils on the same platform agreed.

I made a second download with the same result.

Now - third try - it suddenly works!

So, either something happened during the first two transfers.
Or - some mirror somewhere has a corrupt copy.
(and my downloads happened to use that mirror)

/Leif







________________________________
Från: Galen Charlton [gmch...@gmail.com]
Skickat: den 11 februari 2013 20:01
Till: Leif Andersson
Kopia: perl4lib
Ämne: Re: MARC::Charset 1.34

Hi,

On Mon, Feb 11, 2013 at 10:50 AM, Leif Andersson <Leif.An...@sub.su.se<mailto:Leif.An...@sub.su.se>> wrote:
It gunzips fine, but then there seems to be something wrong with the tar file...

Could you elaborate? In particular, what platform are you on and what error message are you getting?

I tried installing MARC::Charset 1.34 via a 'cpan MARC::Charset' on a fresh Debian box, and it worked for me.

Regards,

Galen
--
Galen Charlton
gmch...@gmail.com<mailto:gmch...@gmail.com>

Galen Charlton

unread,
Feb 11, 2013, 3:03:15 PM2/11/13
to Leif Andersson, perl4lib
Hi,

On Mon, Feb 11, 2013 at 11:52 AM, Leif Andersson
<Leif.An...@sub.su.se>wrote:

> Corrupt tar file RESOLVED.
>

Thanks for the update. I'm inclined to agree with your guess that a mirror
was corrupt.

Out of curiosity, are you using ActiveState or Strawberry?

Leif Andersson

unread,
Feb 11, 2013, 3:12:24 PM2/11/13
to Leif Andersson, Galen Charlton, perl4lib
Ah, I still had one of those bad archives left.
So I could see that the file size differed.

The bad .tar.gz was 182.056 bytes
The good 191.865

And after unzipping the corrupt file I got a .tar file of size 191.865 !
gzipped twice?

Well, I renamed the unzipped corrupt .tar file to .tar.gz
And now things worked well.
unzipping THIS file resulted in a .tar file that could be extracted.

So - however it happend - the "corrupt" file had been gzipped twice.

At least a partly explanation to this mystery :)

/Leif

Galen Charlton

unread,
Feb 11, 2013, 3:23:53 PM2/11/13
to Leif Andersson, perl4lib
Hi,

On Mon, Feb 11, 2013 at 12:12 PM, Leif Andersson
<Leif.An...@sub.su.se>wrote:

> So - however it happend - the "corrupt" file had been gzipped twice.
>
> At least a partly explanation to this mystery :)
>

Wild. Thanks for chasing down further.
0 new messages