Hello Monks,
My MacBookPro, me writing/running years of Perl stuff, died a terrible death, and $$$ to repair it are in short supply, so...
I am running Windows 10 on my better half's cute little Lenovo ThinkPad, and for Perl, ubuntu in Windows Subsystem for Linux. WSL is very cool, and so far so good. Moved a bunch of stuff over from my backups using Paragon HFS+, also very cool. However, getting BerkeleyDB installed is proving to be a bitch, just as it was in macOS. I've tried cpan, cpanm and HomeBrew to build BerkeleyDB.pm from BerkeleyDB-0.64.tar.gz but the build log consistently reports:
BerkeleyDB.xs:76:10: fatal error: db.h: No such file or directory 76 | #include <db.h>
Thinking it might be a ubuntu library issue, I've tried searching apt-cache for a db dev library, but nothing seems appropriate, unless I'm just missing something.
So, that tar ball, presumably from Oracle, is missing a critical header. I have searched Google high and low for a suitable header, and I suspect it is a header that pulls in other platform specific headers as needed, so getting the right one is critical. I use BerkeleyDB and tied hashes extensively, so I will lose much good work if I can't resolve this build issue.
Perhaps a polite note to the maintainer of that bundle would not be amiss, if I knew where to send it?
Thanks in advance, and any suggestions where and how to get that header and fix the build will be greatly appreciated.
In reply to Installing BerkeleyDB in WSL/ubuntu by perlboy_emeritus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |