I was able to successfully compile and test MARC::Charset v. 0.8 from CPAN with the following minor modifications, while using MacPerl 5.8.0a2 on MacOS 9.2.2:

Line 37 of Table.pm:
changed to use NDBM_File rather than SDBM_FILE (since SDBM isn't included with MacPerl).

Line 182 of Table.pm:
changed from 'SDBM_File' to 'NDBM_File'

After making the above change, along with minor modifications to the Makefile.PL file (deleting the WriteMakefile section, leaving only the db building code, since makefiles don't play well with MacPerl; changing the 'use lib "lib"' as necessary to point to the location of the files on my machine (and after manually installing the .pm files to their appropriate locations)), running Makefile.PL program resulted in:

compiling marc8/utf8 database, please be patient
CODE(0x48f63a0)

After that, each of the tests indicate success, with only minor modification for cross-platform path differences (table.t line 13 adjusted to account for MacOS ':' vs. Unix '/').

I don't know the significance of "CODE(0x48f63a0)" in the output from the database compilation.

Thank you,

Bryan Baldus
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://home.inwave.com/eija

Reply via email to