Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Oct 2010 12:07:53 -0700
From:      Chuck Swiger <cswiger@mac.com>
To:        Ruslan Mahmatkhanov <cvs-src@yandex.ru>
Cc:        FreeBSD Ports Mailing List <ports@freebsd.org>, ashish@FreeBSD.org
Subject:   Re: unable to build net-im/ejabberd 2.1.5
Message-ID:  <B892E528-7827-44E2-B6E1-30DDA823D2CC@mac.com>
In-Reply-To: <4CC1DB7D.5090707@yandex.ru>
References:  <4CC1DB7D.5090707@yandex.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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] =D0=9E=D1=88=D0=B8=D0=B1=D0=BA=D0=B0 1
> gmake[1]: Leaving directory =
`/usr/ports/net-im/ejabberd/work/ejabberd-2.1.5/src/tls'
> gmake: *** [all-recursive] =D0=9E=D1=88=D0=B8=D0=B1=D0=BA=D0=B0 1
> *** Error code 1
>=20
> I've tried both base system openssl and port openssl (using =
WITH_OPENSSL_PORT knob in make.conf).
>=20
> # pkg_info | grep erlang
> erlang-r14b,1       A functional programming language from Ericsson
> # uname -srp
> FreeBSD 8.1-STABLE i386
>=20
> 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,
--=20
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B892E528-7827-44E2-B6E1-30DDA823D2CC>