sortmail won't build: libgdm-dev does not contain gdbm-ndbm.h
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sortmail (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I fetched the latest sortmail source from oneiric:
https:/
1eceebf76c5f9a2
950478be4125eae
and tried to build it.
(I applied the patch)
It won't build, complaining that it needs gdbm-ndbm.h
make gives:
cc -O -DLINUX -I/usr/include/gdbm -c -o sortmail.o sortmail.c
sortmail.c:76:23: fatal error: gdbm-ndbm.h: No such file or directory
#include <gdbm-ndbm.h>
The patch replaced an include of gdbm/ndbm.h like so:
-#include <gdbm/ndbm.h>
+#include <gdbm-ndbm.h>
apt-file wrongly reports that libgdm-dev has it:
$ apt-file search gdbm-ndbm.h
libgdbm-dev: /usr/include/
It doesn't.
There exists a build of sortmail 2.4-1 for ubuntu trusty, as I can install it and run it (albeit with an old bug), so where is the source for the ubuntu build.
When I looked here, I couldn't find one for the x86 for trusty, though the binary package exists:
https:/
I'm trying to re-fix a problem that I reported (with a fix) here:
http://
1) $ lsb_release -rd
Description: Ubuntu 14.04 LTS
Release: 14.04
2) The problem is building the latest version of the source.
$ apt-cache policy sortmail
sortmail:
Installed: 1:2.4-1ubuntu1
Candidate: 1:2.4-1ubuntu1
Version table:
*** 1:2.4-1ubuntu1 0
500 http://
100 /var/lib/
3) I expected to be able to find the corresponding source code and build it.
4) The build failed.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: sortmail 1:2.4-1ubuntu1
ProcVersionSign
Uname: Linux 3.13.0-5-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
CurrentDesktop: Unity
Date: Sun Jul 27 22:25:32 2014
InstallationDate: Installed on 2014-01-24 (184 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140123)
SourcePackage: sortmail
UpgradeStatus: No upgrade log present (probably fresh install)
I am the author of Sortmail. I swear by the old gods and the new that dbm is the most unstable library in Unix. I've had to refactor code and Makefile to accommodate changes to that damn library more than everything else put together. Integrating ssl was easier than keeping up with dbm changes.
Anyway, I've just pushed a new Makefile to SourceForge. I don't know who's packaging Sortmail for Debian (I only just found out today that Sortmail is *in* Debian), but they should pick up the latest version.