From owner-freebsd-ports@FreeBSD.ORG Thu Oct 28 21:08:15 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 E45C6106566B; Thu, 28 Oct 2010 21:08:15 +0000 (UTC) (envelope-from ignace.peeters@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 4C0198FC16; Thu, 28 Oct 2010 21:08:14 +0000 (UTC) Received: by wwi17 with SMTP id 17so1141269wwi.31 for ; Thu, 28 Oct 2010 14:08:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=IBC1rIiZUdm10R4dydK/+vz5ci+Ncbjq4d4sXuC0K5c=; b=H9/h9G72StEjezvwh3+WrR1IQkTPw8XRN5nyJ6oh1aOdCaUzq62nkpFJO0bzdoeiad SNoP887k/2OQ64JBDXhkjSWBbDPaQp2YwLKs5L3hnyGgWzd3yfvpxcNGaFlprTrQnbBh 3YS8NKggYrmXNJFWhhPiVZDuaG4lnsmwKjamU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=GP26ku0Rq3ecv89woBIvm2GH6UP3CK5+JHsUIBfzYEPSF+/ei3Tw7yObGOD1Me5hiw INmGF4iRJP0fNqk7J90wVxcWRKfhFdvWnvquKn66ZrpsuZo4zgZiD/3miSvCuxjxYNfq 4bMQLBmjVTRaVn/BCBF1EDvMcZ+jmFIBMDMiw= Received: by 10.227.69.11 with SMTP id x11mr5186040wbi.207.1288300093681; Thu, 28 Oct 2010 14:08:13 -0700 (PDT) Received: from [127.0.0.1] (245.235-240-81.adsl-dyn.isp.belgacom.be [81.240.235.245]) by mx.google.com with ESMTPS id f14sm1329741wbe.8.2010.10.28.14.08.12 (version=SSLv3 cipher=RC4-MD5); Thu, 28 Oct 2010 14:08:12 -0700 (PDT) Message-ID: <4CC9E63C.2000205@gmail.com> Date: Thu, 28 Oct 2010 23:08:12 +0200 From: ignace peeters User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.11) Gecko/20101013 Lightning/1.0b2 Thunderbird/3.1.5 MIME-Version: 1.0 To: jhell References: <4CC8A0A6.3050301@gmail.com> <4CC90937.5090501@DataIX.net> In-Reply-To: <4CC90937.5090501@DataIX.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org, clsung@freebsd.org Subject: Re: FreeBSD Port: snort-2.8.6.1 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: Thu, 28 Oct 2010 21:08:16 -0000 Hello J, I've done a make clean, and remove all options, it builds OK now. Though I must say that I didn't change any thing in my make.conf or any other make configuration file. So I'm dazzled and confused, not being sure how this is entry got in the Makefiles. Regards, ignace On 10/28/2010 7:25 AM, jhell wrote: > On 10/27/2010 17:59, ignace peeters wrote: >> Hello, >> >> I'm trying to build and install snort,running into the following >> recuring error: >> >> /bin/sh /usr/local/bin/libtool --tag=CC --mode=link cc -O2 -pipe >> -fno-strict-aliasing -fvisibility=hidden -fno-strict-aliasing -Wall >> -module -lssl -lcrypto -L/usr/local/lib -L/usr/local/lib > >> -Wl,-R/usr/local/lib -lpcre -L -L/usr/local/lib -L/usr/local/lib -ldnet > The error seems to happen in here '-L' as stated by the error below > leads me to believe that something in your make.conf, make.conf.local > and possibly ports-mgmt/portconf and whatever config files it might use > if you use that might be causing it. > > Can you double check those files and verify that there is no lines that > would affect the flags passed to the linker or configure to cause that > to appear ? > > >> -o libsf_smtp_preproc.la -rpath /usr/local/lib/snort/dynamicpreprocessor >> smtp_config.lo smtp_log.lo smtp_normalize.lo smtp_util.lo >> smtp_xlink2state.lo snort_smtp.lo spp_smtp.lo ssl.lo >> sf_dynamic_preproc_lib.lo sfPolicyUserData.lo -ldnet -lpq -lc -lpcre >> -lpcap -lm -lm -lpq >> libtool: link: require no space between `-L' and `-L/usr/local/lib' >> >> The error occurs in multiple Makefiles. Can this be corrected in the >> ports collection. >> >