in reply to How to install a CPAN module which is only available as part of a comprehensive Perl distribution?

Note that for the suggested build to succeed, you'll also need to have the gdbm library and header files installed. And in case they are not in standard places, you'd need to run

perl Makefile.PL INC=-I/path/to/nonstandard/include LIBS='-L/path/to/n +onstandard/lib -lgdbm'

And if you want to run the tests, comment out line 6

@INC = '../lib';

in t/gdbm.t before running make test  (setting @INC to ../lib is designed to work in the context of building GDBM_File as a core module during the normal build of the entire Perl distribution... — without the change, you'd get "Can't locate Config.pm in @INC").

Other than that, things should work fine with 5.8.8 (just tried it).

  • Comment on Re: How to install a CPAN module which is only available as part of a comprehensive Perl distribution?
  • Select or Download Code