Building Proftp with mod_tls problem
Hi
I need to build proftp but with SSL support, so I did the following...
(Suse 10 btw)
(SSL is downloaded and installed at this point)
./configure --sysconfdir=/etc --with-modules=mod_tls
thats looks to work all ok.
I then "make" and I get a ton of errors, but it starts with this little lot
gcc -DHAVE_CONFIG_H -DLINUX -I.. -I../include -O2 -Wall -c mod_tls.c
mod_tls.c:40:25: error: openssl/ssl.h: No such file or directory
mod_tls.c:41:25: error: openssl/evp.h: No such file or directory
mod_tls.c:42:28: error: openssl/x509v3.h: No such file or directory
mod_tls.c:43:25: error: openssl/err.h: No such file or directory
mod_tls.c:44:26: error: openssl/rand.h: No such file or directory
mod_tls.c:74: error: syntax error before â*â token
mod_tls.c:74: warning: return type defaults to âintâ
mod_tls.c: In function âget_dh512â:
mod_tls.c:75: error: âDHâ undeclared (first use in this function)
mod_tls.c:75: error: (Each undeclared identifier is reported only once
mod_tls.c:75: error: for each function it appears in.)
mod_tls.c:75: error: âdhâ undeclared (first use in this function)
mod_tls.c:77: warning: implicit declaration of function âDH_newâ
mod_tls.c:80: warning: implicit declaration of function âBN_bin2bnâ
It looks to be saying that it cant find ssl.h and so on, now ssl.h is on the system at location
/usr/local/ssl/include/openssl/ssl.h
This checked the mod_tls in the modules directory and there is the paths
#include <openssl/ssl.h>
#include <openssl/evp.h>
#include <openssl/x509v3.h>
#include <openssl/err.h>
#include <openssl/rand.h>
I changed then to the full path but same error, I added /usr/local/ssl/include to my path, same error, I moved ssl.h into /usr/local/bin and change the include like to <ssl.h> and get the same error...
What am I missing here??? (part from a brain)
Ta
|