From owner-freebsd-multimedia@FreeBSD.ORG Mon Feb 23 01:03:30 2009 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 62091106567C for ; Mon, 23 Feb 2009 01:03:30 +0000 (UTC) (envelope-from andrew@areilly.bpa.nu) Received: from nschwqsrv02p.mx.bigpond.com (nschwqsrv02p.mx.bigpond.com [61.9.189.234]) by mx1.freebsd.org (Postfix) with ESMTP id EFEEB8FC1D for ; Mon, 23 Feb 2009 01:03:29 +0000 (UTC) (envelope-from andrew@areilly.bpa.nu) Received: from nschwotgx03p.mx.bigpond.com ([124.188.162.219]) by nschwmtas05p.mx.bigpond.com with ESMTP id <20090222234437.TCRO20836.nschwmtas05p.mx.bigpond.com@nschwotgx03p.mx.bigpond.com> for ; Sun, 22 Feb 2009 23:44:37 +0000 Received: from areilly.bpa.nu ([124.188.162.219]) by nschwotgx03p.mx.bigpond.com with ESMTP id <20090222234437.BZM7357.nschwotgx03p.mx.bigpond.com@areilly.bpa.nu> for ; Sun, 22 Feb 2009 23:44:37 +0000 Received: (qmail 42643 invoked by uid 501); 22 Feb 2009 23:44:25 -0000 Date: Mon, 23 Feb 2009 10:44:25 +1100 From: Andrew Reilly To: Jan Henrik Sylvester Message-ID: <20090222234425.GA15803@duncan.reilly.home> References: <200902212330.n1LNU3I1049570@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200902212330.n1LNU3I1049570@freefall.freebsd.org> User-Agent: Mutt/1.4.2.3i X-RPD-ScanID: Class unknown; VirusThreatLevel unknown, RefID str=0001.0A150202.49A1E365.0058,ss=1,fgs=0 Cc: freebsd-multimedia@FreeBSD.org Subject: Re: ports/131647: audio/libsndfile: Problem to build libsndfile-1.0.18 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2009 01:03:30 -0000 For what it's worth, I just got this to build OK, with a little manual tweaking. There were two problems: /usr/local/include/sndfile.h was being picked up before the version in ../src, and the installed version didn't include a symbol something like SF_EXTENSION_WAV. So I moved those aside and the local version was picked-up, and that worked. The second problem was the linker couldn't find -lgfortran or -gfortranbegin. This was trickier, and I don't really know why adding the appropriate pair of directories to the Makefile didn't take. Those libraries are (on my system) in /usr/local/lib/gcc-4.3.4 and /usr/local/lib/gcc-4.3.4/gcc/x86_64-portbld-freebsd7.1/4.3.4/. I added those to the LDFLAGS symbol, but the linker command line was still trying to use the 4.3.3 versions. Not sure why. Maybe my libtool is out of date. Anyway, I forced the issue by symlinking all of the library files directly into /usr/local/lib, and that seems to have worked. Well, it all built and installed neatly; I haven't tested it yet. Cheers, -- Andrew