From owner-freebsd-ports@FreeBSD.ORG Fri Oct 22 19:21:58 2010 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E74CD106566B; Fri, 22 Oct 2010 19:21:58 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from forward14.mail.yandex.net (forward14.mail.yandex.net [95.108.130.92]) by mx1.freebsd.org (Postfix) with ESMTP id 9502A8FC17; Fri, 22 Oct 2010 19:21:58 +0000 (UTC) Received: from smtp12.mail.yandex.net (smtp12.mail.yandex.net [95.108.131.191]) by forward14.mail.yandex.net (Yandex) with ESMTP id B2E964E509EB; Fri, 22 Oct 2010 23:21:56 +0400 (MSD) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1287775316; bh=eI1WBfNLCGLTchOJJ2QvXD7JDJ8NUzF+IrlqKNpOlMg=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=UqirLGaMdNJHRmEKo7US0Zphl2M0ESDXNmWR3mfdXWcQBmKrl3XicZw9adCZqAskE gvT2NKe9HG34ELv313kiycGzOVwxdkeKGzWK223Q8W04q4c6WeSSPI/HllgNt2iTp9 us8Css1li535/crpkKfBLxZNHC42shcObZkaxdNc= Received: from smeshariki2.local (unknown [77.66.145.223]) by smtp12.mail.yandex.net (Yandex) with ESMTPSA id 5EFD313E8095; Fri, 22 Oct 2010 23:21:56 +0400 (MSD) Message-ID: <4CC1E3D7.9080606@yandex.ru> Date: Fri, 22 Oct 2010 23:19:51 +0400 From: Ruslan Mahmatkhanov User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; ru-RU; rv:1.9.2.11) Gecko/20101022 Thunderbird/3.1.5 MIME-Version: 1.0 To: Chuck Swiger References: <4CC1DB7D.5090707@yandex.ru> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Yandex-TimeMark: 1287775316 X-Yandex-Spam: 1 X-Yandex-Front: smtp12.mail.yandex.net Cc: FreeBSD Ports Mailing List , ashish@FreeBSD.org Subject: Re: unable to build net-im/ejabberd 2.1.5 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Oct 2010 19:21:59 -0000 22.10.2010 23:07, Chuck Swiger пишет: > 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, It works. Thanks! -- Regards, Ruslan