LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-20-2005, 06:19 AM   #1
Led*Zep
LQ Newbie
 
Registered: Jul 2001
Location: Aldershot, UK
Distribution: Fedora Core 4
Posts: 16

Rep: Reputation: 0
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ProFTP Problem KeithKessler Linux - Software 3 12-04-2004 09:28 AM
ProFTP motd problem BradW Linux - Software 0 07-04-2004 04:28 AM
ProfFTPd & mod_tls BedriddenTech Linux - Software 7 10-07-2003 09:14 AM
make problems with ProFTPD with mod_tls on RedHat 9 Osten Linux - Software 0 09-28-2003 09:51 PM
proftp chroot problem dazk Linux - Networking 1 12-19-2002 06:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration