PDA

View Full Version : openssl/ssl.h: No such file or directory


vizi0n
10-03-2004, 12:33 AM
Hi everyone!

First of all, great tutorial, it worked like a charm on my Cobalt RaQ2 a while back. But now, I'm tring to set it up on my friend's Debian machine but unfortunately it won't work past page 2 :)

at this point:
cd /usr/src/qmail/qmail-1.03
make man && make setup check

the make won't go through, and I get this error message:

----[beginning]---------
./load qmail-getpw case.a substdio.a error.a str.a fs.a \
auto_break.o auto_usera.o
./compile qmail-remote.c
qmail-remote.c:36:25: openssl/ssl.h: No such file or directory
qmail-remote.c:37: error: parse error before '*' token
qmail-remote.c:37: warning: data definition has no type or storage class
qmail-remote.c: In function `ssl_timeoutread':
qmail-remote.c:134: error: `SSL_ERROR_WANT_READ' undeclared (first use in this function)
qmail-remote.c:134: error: (Each undeclared identifier is reported only once
qmail-remote.c:134: error: for each function it appears in.)
qmail-remote.c:135: error: `SSL_ERROR_NONE' undeclared (first use in this function)
qmail-remote.c: In function `ssl_timeoutwrite':
qmail-remote.c:159: error: `SSL_ERROR_WANT_WRITE' undeclared (first use in this function)
qmail-remote.c:160: error: `SSL_ERROR_NONE' undeclared (first use in this function)
qmail-remote.c: At top level:
qmail-remote.c:177: error: parse error before '*' token
qmail-remote.c:183: error: parse error before "X509_STORE_CTX"
qmail-remote.c: In function `smtp':
qmail-remote.c:346: error: `SSL_CTX' undeclared (first use in this function)
qmail-remote.c:346: error: `ctx' undeclared (first use in this function)
qmail-remote.c:404: error: `SSL_FILETYPE_PEM' undeclared (first use in this function)
qmail-remote.c:418: error: `SSL_VERIFY_PEER' undeclared (first use in this function)
qmail-remote.c:421: warning: assignment makes pointer from integer without a cast
qmail-remote.c:454: error: `X509_V_OK' undeclared (first use in this function)
qmail-remote.c:462: error: `NID_commonName' undeclared (first use in this function)
qmail-remote.c: In function `main':
qmail-remote.c:590: warning: return type of `main' is not `int'
make: *** [qmail-remote.o] Error 1
----[end]---------

and then boom, back to prompt ... it looks like it needs /usr/src/qmail/qmail-1.03/openssl/ssl.h but it wasn't included in the qmailrocks.tar.gz file :\

could anyone help?

thanks

viz

well
10-03-2004, 07:38 AM
Try this

http://forum.qmailrocks.org/viewtopic.php?t=857&highlight=ssl+h

well

vizi0n
10-03-2004, 10:17 AM
haha! that's really good! :) thanks alot!

but do you know why searching for ssl.h didnt come up with that ?

that's really wierd

but thanks, now it goes through :)

viz

natter
12-26-2005, 05:26 PM
That url doesn't work anymore. Anyone know the answer to this?

nevermind, I found it

found the Debian solution:

apt-get install libssl-dev

saeedakhtar.484
11-19-2008, 02:37 AM
thanks man....... it really does work.... thanks alot