Issue with DBM and CURRENT on RHEL/CentOS 6.5?
jesse.rehmer at blueworldhosting.com
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: *** [auth_krb5.o] Error 1
make: 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
Julien ÉLIE wrote:
> Hi Jesse,
>> [root at nnrp inn-CURRENT-20131208]# grep DBM_LIBS Makefile.global
>> DBM_LIBS = -lgdbm
>> This may help a bit:
>> [root at nnrp inn-CURRENT-20131208]# rpm -ql gdbm-devel
> 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
> version to regenerate a configure file.
> Incidentally, if you are currently blocked in your tests and wish to
> 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