From owner-freebsd-ports@FreeBSD.ORG Sun Aug 30 15:02:54 2009 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8524B106568B for ; Sun, 30 Aug 2009 15:02:54 +0000 (UTC) (envelope-from oliver@FreeBSD.org) Received: from avocado.salatschuessel.net (avocado.salatschuessel.net [78.111.72.186]) by mx1.freebsd.org (Postfix) with SMTP id D081E8FC21 for ; Sun, 30 Aug 2009 15:02:53 +0000 (UTC) Received: (qmail 74487 invoked by uid 89); 30 Aug 2009 15:02:52 -0000 Received: from unknown (HELO kartoffel.salatschuessel.net) (78.111.72.187) by avocado.salatschuessel.net with SMTP; 30 Aug 2009 15:02:52 -0000 Date: Sun, 30 Aug 2009 17:02:54 +0200 From: Oliver Lehmann To: "b. f." Message-Id: <20090830170254.230b4021.oliver@FreeBSD.org> In-Reply-To: References: X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.5; amd64-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: torfinn Ingolfsen , freebsd-ports@FreeBSD.org Subject: Re: Sylpheed doesn't compile on amd64 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: Sun, 30 Aug 2009 15:02:54 -0000 b. f. wrote: > >So I wonder why there is still a /usr/local/lib/libonig.a when oniguruma > >is deinstalled? > > ??? Probably because after deinstalling oniguruma, he tried to install > sylpheed2 WITH_ONIGURUMA, so oniguruma was placed in sylpheed2's > BUILD_DEPENDS, meaning that oniguruma was rebuilt and reinstalled as > part of the sylpheed2 build. > > This is a non-default option, so it doesn't receive as much testing, > and something may well be broken. Try rebuilding and reinstalling > first oniguruma and then sylpheed2 with CFLAGS+=-fPIC, as the error > message indicates. You may need to tinker with the linker flags as > well. If that doesn't work, try removing oniguruma and then installing > one of the later versions of oniguruma that uses shared libraries, as > Oliver suggested. It may be that the API/ABI of these later versions > will permit them to be used with sylpheed2 instead of the original > oniguruma. Of course, you can always check this by looking at the > code. I tested it once more - it fails with devel/oniguruma. I'll change the dependency to use oniguruma5 because this version works.... -- Oliver Lehmann http://www.pofo.de/ http://wishlist.ans-netz.de/