Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ProFTPd config with mod_tls on RH9

Status
Not open for further replies.

Donboy

IS-IT--Management
Aug 20, 2002
73
0
0
US
I am trying to install ProFTPd with -mod_tls included. I'm running Redhat 9.0. My configure looks like this...

./configure --sysconfdir=/etc/proftpd --with-modules=mod_wrap --with-modules=mod_tls

When I run make, I get the error message shown below. I have read in other forums (for apache problems) that because of the unusual location of kerberos, I may need to change some config options so that Proftpd will install properly.

Any idea what I can do to install mod_tls?

[root@slaveone proftpd-1.2.9]# make
cd lib/ && make lib
make[1]: Entering directory `/usr/local/src/proftpd-1.2.9/lib'
make[1]: Nothing to be done for `lib'.
make[1]: Leaving directory `/usr/local/src/proftpd-1.2.9/lib'
cd src/ && make src
make[1]: Entering directory `/usr/local/src/proftpd-1.2.9/src'
make[1]: Nothing to be done for `src'.
make[1]: Leaving directory `/usr/local/src/proftpd-1.2.9/src'
cd modules/ && make modules
make[1]: Entering directory `/usr/local/src/proftpd-1.2.9/modules'
gcc -DLINUX -I.. -I../include -O2 -Wall -c mod_tls.c
In file included from /usr/include/openssl/ssl.h:179,
from mod_tls.c:40:
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
In file included from /usr/include/openssl/ssl.h:179,
from mod_tls.c:40:
/usr/include/openssl/kssl.h:134: parse error before "krb5_enctype"
/usr/include/openssl/kssl.h:136: parse error before '*' token
/usr/include/openssl/kssl.h:137: parse error before '}' token
/usr/include/openssl/kssl.h:149: parse error before "kssl_ctx_setstring"
/usr/include/openssl/kssl.h:149: parse error before '*' token
/usr/include/openssl/kssl.h:150: parse error before '*' token
/usr/include/openssl/kssl.h:151: parse error before '*' token
/usr/include/openssl/kssl.h:151: parse error before '*' token
/usr/include/openssl/kssl.h:152: parse error before '*' token
/usr/include/openssl/kssl.h:153: parse error before "kssl_ctx_setprinc"
/usr/include/openssl/kssl.h:153: parse error before '*' token
/usr/include/openssl/kssl.h:155: parse error before "kssl_cget_tkt"
/usr/include/openssl/kssl.h:155: parse error before '*' token
/usr/include/openssl/kssl.h:157: parse error before "kssl_sget_tkt"
/usr/include/openssl/kssl.h:157: parse error before '*' token
/usr/include/openssl/kssl.h:159: parse error before "kssl_ctx_setkey"
/usr/include/openssl/kssl.h:159: parse error before '*' token
/usr/include/openssl/kssl.h:161: parse error before "context"
/usr/include/openssl/kssl.h:162: parse error before "kssl_build_principal_2"
/usr/include/openssl/kssl.h:162: parse error before "context"
/usr/include/openssl/kssl.h:165: parse error before "kssl_validate_times"
/usr/include/openssl/kssl.h:165: parse error before "atime"
/usr/include/openssl/kssl.h:167: parse error before "kssl_check_authent"
/usr/include/openssl/kssl.h:167: parse error before '*' token
/usr/include/openssl/kssl.h:169: parse error before "enctype"
In file included from mod_tls.c:40:
/usr/include/openssl/ssl.h:909: parse error before "KSSL_CTX"
/usr/include/openssl/ssl.h:931: parse error before '}' token
make[1]: *** [mod_tls.o] Error 1
make[1]: Leaving directory `/usr/local/src/proftpd-1.2.9/modules'
make: *** [modules] Error 2
 
Go up to your very first error:
Code:
In file included from /usr/include/openssl/ssl.h:179,
                 from mod_tls.c:40:
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory

Looks like you need the kerberos 5 development files (headers, includes, whatever you prefer to call them). You mentioned Redhat 9.0. Go to (because I prefer their advanced search over rpmfind.net), do a search for 'kerberos' in Redhat 9, you get:

I'm pretty sure if you install that package and try to compile the code again, you will get past this error.

----
JBR
 
I got it. I just added the following right before the configure command.

CPPFLAGS=-I/usr/kerberos/include ./configure ...

Works great! Thanks for the help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top