svarshavchik / courier

Courier Mail Server
http://www.courier-mta.org
72 stars 12 forks source link

Fail to build on Debian EVP_CIPHER_CTX #14

Closed gnusupport closed 5 years ago

gnusupport commented 5 years ago

Tried with latest stable and development version, on Debian stable/unstable, and this is happening.

/bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -I./.. -I.. -I./../.. -I../.. -Wall -g -O2 -MT tlspasswordcache.lo -MD -MP -MF .deps/tlspasswordcache.Tpo -c -o tlspasswordcache.lo tlspasswordcache.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./.. -I.. -I./../.. -I../.. -Wall -g -O2 -MT tlspasswordcache.lo -MD -MP -MF .deps/tlspasswordcache.Tpo -c tlspasswordcache.c  -fPIC -DPIC -o .libs/tlspasswordcache.o
tlspasswordcache.c:366:9: error: unknown type name ‘EVP_CIPHER_CTX’
 typedef EVP_CIPHER_CTX CIPHER_CONTEXT;
         ^~~~~~~~~~~~~~
make[2]: *** [Makefile:581: tlspasswordcache.lo] Error 1
make[2]: Leaving directory '/home/admin/Downloads/courier-1.0.0.20180927/libs/tcpd'
make[1]: *** [Makefile:446: all] Error 2
make[1]: Leaving directory '/home/admin/Downloads/courier-1.0.0.20180927/libs/tcpd'
make: *** [Makefile:436: all-recursive] Error 1
svarshavchik commented 5 years ago

You are probably missing the openssl and/or gnutls (depending on your system configuration) development libraries, that need to be installed first.

gnusupport commented 5 years ago

I did following:

apt-get install libgcrypt20-dev libgnutls28-dev

now it finished the process. I was thinking configure found everything required.

Thank you

svarshavchik commented 5 years ago

Please consider volunteering to be a maintainer of the Debian port. You can work together with our Debian users that you can reach via the courier-users mailing list.

gnusupport commented 5 years ago

I am filing bugs to Debian based on those issues. The maintainers ruined the Courier package so far, pictures on webmail don't work, webmail does not work, permissions out of control, those Debian maintainers are making mess, not good work, there is plethora of bugs which do not exist when installation instructions are followed as from courier-mta.org

gnusupport commented 5 years ago

By the way, courier users mailing list shall be managed by courier IMHO, not by Sourceforge, and subscribing there is almost impossible. I was before on list or I am subscribed, but I don't know by which email address. That is the issue with courier that is impossible to know to which email address was mailing list routed.

I have tried captcha today on Sourceforge maybe 100 times and gave up. And I am human. ;-)