Thomas Smith writes:

I had Courier-IMAP running on RH7.2. I upgraded to RH9 and all was fine. I decided to move away from VmailMgr (was testing it at the time) to vpopmail. In order for Courier to authenticate via vpopmail I had to enable authvchkpw as I disabled on the prior install.

configure works fine using the following command:

su vpopmail -c "./configure --without-auth pwd --without-authshadow --without-authuserdb --without-authcram --without-auth ldap --without-authmysql --without-authdaemond"

(I used the vpopmail user so ./configure could read ~vpopmail/lib/libvpopmail.)

The problem occurs when I run make (su vpopmail -c "make"). I get the following error:

gcc -DHAVE_CONFIG_H -I. -I. -I.     -I./.. -I.. -Wall -g -O2 -c starttls.c
In file included from /usr/include/openssl/ssl.h:179,
                 from starttls.c:47:
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory

For some reason your configure script did not pick up the Kerberos dependencies.

Check in your tcpd/config.log, you should see the following output somewhere in there:

configure:2944: checking for krb5-config
configure:2962: found /usr/kerberos/bin/krb5-config
configure:2975: result: /usr/kerberos/bin/krb5-config

Later on in tcpd/config.log you should see this:

configure:5205: checking whether OpenSSL requires Kerberos
configure:5226: gcc -c -I./.. -I.. -Wall -g -O2  conftest.c >&5
In file included from /usr/include/openssl/ssl.h:179,
                from configure:5243:
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory

... followed by errors similar to yours. After those error messages you should see:


configure:5266: gcc -c -I./.. -I.. -Wall -g -O2 -I/usr/kerberos/include conftest.c >&5
configure: In function `main':
configure:5288: warning: unused variable `x'
configure:5269: $? = 0
configure:5272: test -s conftest.o
configure:5275: $? = 0
configure:5297: result: yes
configure:5310: checking for OpenSSL 0.9.7
configure:5341: gcc -o conftest -I./.. -I.. -Wall -g -O2 -I/usr/kerberos/include conftest.c -lcrypto -L/usr/kerberos/lib -lkrb5 -lk5crypto -lcom_err >&5
configure:5344: $? = 0
configure:5347: test -s conftest
configure:5350: $? = 0
configure:5353: result: yes
configure:5515: creating ./config.status




Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to