[완료]메일서버(qmail) 셋팅중 오류 살려주세요~

choboadmin의 이미지

설치시 사용한 파일은
netqmail-1.05.tar.gz
ucspi-tcp-0.88.tar.gz
daemontools-0.76.tar.gz
qmail-date-localtime.patch
patches/netqmail-1.05-tls-smtpauth-20070417.patch
입니다..

일단 daemontools 패치 및 컴파일 설치는 성공적으로 했습니다.

그리고 이제 qmail패치까지 완료하고

make후 에러

./compile qmail-remote.c
In file included from qmail-remote.c:53:
tls.h:4:25: error: openssl/ssl.h: 그런 파일이나 디렉토리가 없음
In file included from qmail-remote.c:53:
tls.h:7: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
tls.h:9: error: expected ‘)’ before ‘*’ token
In file included from qmail-remote.c:54:
ssl_timeoutio.h:8:3: error: #error "Need OpenSSL version at least 0.9.6"
In file included from qmail-remote.c:54:
ssl_timeoutio.h:11: error: expected declaration specifiers or ‘...’ before ‘SSL’
ssl_timeoutio.h:12: error: expected declaration specifiers or ‘...’ before ‘SSL’
ssl_timeoutio.h:13: error: expected declaration specifiers or ‘...’ before ‘SSL’
ssl_timeoutio.h:15: error: expected declaration specifiers or ‘...’ before ‘SSL’
ssl_timeoutio.h:16: error: expected declaration specifiers or ‘...’ before ‘SSL’
ssl_timeoutio.h:19: error: expected declaration specifiers or ‘...’ before ‘SSL’
qmail-remote.c:55:29: error: openssl/x509v3.h: 그런 파일이나 디렉토리가 없음
qmail-remote.c: In function ‘saferead’:
qmail-remote.c:128: error: ‘ssl’ undeclared (first use in this function)
qmail-remote.c:128: error: (Each undeclared identifier is reported only once
qmail-remote.c:128: error: for each function it appears in.)
qmail-remote.c:129: warning: passing argument 5 of ‘ssl_timeoutread’ makes integer from pointer without a cast
qmail-remote.c:129: error: too many arguments to function ‘ssl_timeoutread’
qmail-remote.c: In function ‘safewrite’:
qmail-remote.c:141: error: ‘ssl’ undeclared (first use in this function)
qmail-remote.c:142: warning: passing argument 5 of ‘ssl_timeoutwrite’ makes integer from pointer without a cast
qmail-remote.c:142: error: too many arguments to function ‘ssl_timeoutwrite’
qmail-remote.c: In function ‘quit’:
qmail-remote.c:269: error: ‘ssl’ undeclared (first use in this function)
qmail-remote.c:269: error: ‘SSL_ST_BEFORE’ undeclared (first use in this function)
qmail-remote.c:270: error: ‘SSL_ST_OK’ undeclared (first use in this function)
qmail-remote.c: In function ‘tls_quit’:
qmail-remote.c:337: error: ‘ssl’ undeclared (first use in this function)
qmail-remote.c: At top level:
qmail-remote.c:353: error: expected declaration specifiers or ‘...’ before ‘X509_STORE_CTX’
qmail-remote.c: In function ‘tls_init’:
qmail-remote.c:358: error: ‘SSL’ undeclared (first use in this function)
qmail-remote.c:358: error: ‘myssl’ undeclared (first use in this function)
qmail-remote.c:359: error: ‘SSL_CTX’ undeclared (first use in this function)
qmail-remote.c:359: error: ‘ctx’ undeclared (first use in this function)
qmail-remote.c:392: error: ‘ssl’ undeclared (first use in this function)
qmail-remote.c:411: error: ‘SSL_VERIFY_PEER’ undeclared (first use in this function)
qmail-remote.c:417: error: ‘SSL_FILETYPE_PEM’ undeclared (first use in this function)
qmail-remote.c:457: error: too many arguments to function ‘ssl_timeoutconn’
qmail-remote.c:461: error: ‘X509’ undeclared (first use in this function)
qmail-remote.c:461: error: ‘peercert’ undeclared (first use in this function)
qmail-remote.c:462: error: ‘GENERAL_NAME’ undeclared (first use in this function)
qmail-remote.c:462: error: ‘gens’ undeclared (first use in this function)
qmail-remote.c:465: error: ‘X509_V_OK’ undeclared (first use in this function)
qmail-remote.c:467: warning: passing argument 2 of ‘tls_quit’ makes pointer from integer without a cast
qmail-remote.c:479: error: ‘NID_subject_alt_name’ undeclared (first use in this function)
qmail-remote.c:483: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
qmail-remote.c:483: error: ‘gn’ undeclared (first use in this function)
qmail-remote.c:484: error: ‘GEN_DNS’ undeclared (first use in this function)
qmail-remote.c:487: error: ‘GENERAL_NAME_free’ undeclared (first use in this function)
qmail-remote.c:493: error: ‘X509_NAME’ undeclared (first use in this function)
qmail-remote.c:493: error: ‘subj’ undeclared (first use in this function)
qmail-remote.c:494: error: ‘NID_commonName’ undeclared (first use in this function)
qmail-remote.c:496: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
qmail-remote.c:496: error: ‘s’ undeclared (first use in this function)
qmail-remote.c:496: error: invalid type argument of ‘->’
qmail-remote.c: In function ‘main’:
qmail-remote.c:673: warning: return type of ‘main’ is not ‘int’
make: *** [qmail-remote.o] 오류 1

내일까지 qmail서버 셋팅해야 하는데...

제발 살려주세요.ㅜ_ㅜ;

adlib90의 이미지

yum install openssl-devel

choboadmin의 이미지

감사합니다...

yum install openssl-devel

이 안돼길래..그냥 Xwindow에서 설치 했습니다..

답변 감사합니다..

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.