From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Oct 8 10:19:17 2006 Return-Path: X-Original-To: freebsd-ports-bugs@FreeBSD.org Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9283216A412 for ; Sun, 8 Oct 2006 10:19:17 +0000 (UTC) (envelope-from boris@brooknet.com.au) Received: from smtp.po.exetel.com.au (pecan-mail.exetel.com.au [220.233.0.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EB8843D4C for ; Sun, 8 Oct 2006 10:19:16 +0000 (GMT) (envelope-from boris@brooknet.com.au) Received: from 180.205.233.220.exetel.com.au ([220.233.205.180] helo=[192.168.2.35]) by smtp.po.exetel.com.au with esmtp (Exim 4.62) (envelope-from ) id 1GWVkZ-0002K5-Hj; Sun, 08 Oct 2006 20:19:15 +1000 Message-ID: <4528D0A1.9070700@brooknet.com.au> Date: Sun, 08 Oct 2006 20:19:13 +1000 From: Sam Lawrance User-Agent: Thunderbird 1.5.0.7 (X11/20060923) MIME-Version: 1.0 To: Roland Smith References: <200610080627.k986RphQ079192@freefall.freebsd.org> <20061008075326.GA499@slackbox.xs4all.nl> <4528B5E7.1090003@brooknet.com.au> <20061008100442.GA14054@slackbox.xs4all.nl> In-Reply-To: <20061008100442.GA14054@slackbox.xs4all.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports-bugs@FreeBSD.org, redchrom@gmail.com Subject: Re: ports/104101: multimedia/audacious 1.1.2 doesn't compile. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Oct 2006 10:19:17 -0000 Roland Smith wrote: > On Sun, Oct 08, 2006 at 06:25:11PM +1000, Sam Lawrance wrote: > > >> Thanks for that feedback. Do you have an older version of audacious >> already installed? >> > > Yes. Version 1.0.0 is installed. > > >> Looking at some of the #includes in the source, it >> might be possible that an old header is being included instead of a new >> one. If so, deinstall the old version (back it up with pkg_create -b if >> you like), and try again. >> > > That did the trick! It now compiles, installs and runs cleanly. > > Thanks very much for the help! > > What is the correct way of preventing this in the future? With most > ports, you can do a 'make' without problems, even if an older version is > already installed. My SOP is to build the port first, then 'make > deinstall' the old version, followed by a 'make install clean'. > Excellent :-) Ordinarily this problem shouldn't happen, so there's not a lot you can do to prevent it. It could be fixed in the port. The ideal fix would be from the vendor, to ensure that the build uses its own headers instead of picking up those from outside. Cheers Sam