unable to build net-im/ejabberd 2.1.5

Chuck Swiger cswiger at mac.com
Fri Oct 22 20:08:43 UTC 2010


On Oct 22, 2010, at 11:44 AM, Ruslan Mahmatkhanov wrote:
> In file included from sha_drv.c:23:
> /usr/include/openssl/md2.h:64:2: error: #error MD2 is disabled.
> gmake[1]: *** [../sha_drv.so] Ошибка 1
> gmake[1]: Leaving directory `/usr/ports/net-im/ejabberd/work/ejabberd-2.1.5/src/tls'
> gmake: *** [all-recursive] Ошибка 1
> *** Error code 1
> 
> I've tried both base system openssl and port openssl (using WITH_OPENSSL_PORT knob in make.conf).
> 
> # pkg_info | grep erlang
> erlang-r14b,1       A functional programming language from Ericsson
> # uname -srp
> FreeBSD 8.1-STABLE i386
> 
> How to fix this error?

cd /usr/ports/security/openssl
make config
[ ...ensure that the MD2 option is checked... ]
rebuild and reinstall the openssl port
rebuild and reinstall ejabberd port

Regards,
-- 
-Chuck



More information about the freebsd-ports mailing list