Issue with DBM and CURRENT on RHEL/CentOS 6.5?

Jesse Rehmer jesse.rehmer at
Wed Dec 11 21:36:36 UTC 2013


Adding the include line gets me past the error with ckpasswd.c, but now 
I have another:

gcc -g -O2 -I../include   -c auth_krb5.c
auth_krb5.c:27:22: error: com_err.h: No such file or directory
make[1]: *** [auth_krb5.o] Error 1
make[1]: Leaving directory 
make: *** [all-authprogs] Error 2

[root at nnrp authprogs]# find / -name com_err.h

I would think that "# include <et/com_err.h>" would include this, but it 
seems not.


Julien ÉLIE wrote:
> Hi Jesse,
>> [root at nnrp inn-CURRENT-20131208]# grep DBM_LIBS
>> DBM_LIBS    = -lgdbm
>> This may help a bit:
>> [root at nnrp inn-CURRENT-20131208]# rpm -ql gdbm-devel
>> /usr/include/gdbm
>> /usr/include/gdbm.h
>> /usr/include/gdbm/dbm.h
>> /usr/include/gdbm/gdbm.h
>> /usr/include/gdbm/ndbm.h
>> /usr/lib64/
>> /usr/share/info/
>> /usr/share/man/man3/gdbm.3.gz
> OK, thanks.
> Does the build work if you manually add in ckpasswd.c the line:
> #include <gdbm/ndbm.h>
> after for instance:
> #include <grp.h>
> I suggest this quick test because you do not have a recent enough 
> autoconf
> version to regenerate a configure file.
> Incidentally, if you are currently blocked in your tests and wish to 
> build
> INN, do not hesitate to comment the HAVE_DBM line in include/config.h;
> ckpasswd will then build fine because it will no longer try to include 
> ndbm support.

More information about the inn-workers mailing list