perl and berkeley

Len Conrad LConrad at Go2France.com
Fri May 28 10:17:30 PDT 2004


> > perl -MCPAN -e 'install BerkeleyDB'
> >
> > ... still gives:
> >
> > BerkeleyDB.xs:74: #error db.h is from Berkeley DB 1.x - need at least
> > Berkeley DB 2.6.4
> > *** Error code 1
> >
> > I've deleted and re-installed that db3 pkg, but still get the same error.
>
>my first try would probably be to remove all CPAN modules installed
>under the old perl, and reinstall them.  Then try installing that DB.
>However, wiser heads may have a better clue.

Sounds like a good plan, but MCPAN doesn't seem to support uninstall of 
modules.  "find" does show where modules are installed to uninstall them 
manually.

I see MCPANPLUS supports uninstall.  Dammit, this "simple" project of 
getting PERL to talk to db3 is like the ball of string.

thanks
Len



More information about the freebsd-questions mailing list