View Full Version : Problem on Debian Sarge Perfect Setup

12th January 2006, 01:08
I can't get rid of some errors installing Debian Sarge (following perfect setup guide), everything goes well until I get to the perl installation. Following error is what I'm getting:

cpan> install DB_File
version.c:30:16: db.h: No such file or directory
make: *** [version.o] Error 1
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible


Everything else was fine as I said before. Googling could see that this could be related to berkeley db, but cannot find debian package. Also read that cyrus & imap must be compiled with same bd version, that stopped my manual install.

Thanks in advance for your help

12th January 2006, 02:20
On http://www.howtoforge.com/perfect_setup_debian_sarge_p3 it reads:
apt-get install wget bzip2 rdate fetchmail libdb3++-dev unzip zip ncftp xlispstat libarchive-zip-perl zlib1g-dev libpopt-dev nmap openssl lynx fileutils

I guess you've missed the libdb3++-dev package...

12th January 2006, 03:47
Well it's possible, even more if you consider that all commands were retyped.
Tomorrow at first time I'll check that.

Thank's for answer so quickly

12th January 2006, 13:57
The best thing would be to use PuTTY ( http://www.chiark.greenend.org.uk/~sgtatham/putty/ ) on your Windows workstation and then simply copy and paste the commands from the tutorial.

12th January 2006, 15:10
I guess PuTTY could be the best way to follow the tutorial, I tried to use it but since ssh was not installed (discovered at last) couldn't make it work.

Must say I'm a linux novice and this kind of tutorials are very usefull.

Thanks and best regards from Misisiones - Argentina.