From owner-freebsd-stable@FreeBSD.ORG Thu Sep 10 15:35:14 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E956106566B for ; Thu, 10 Sep 2009 15:35:14 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id F31BB8FC12 for ; Thu, 10 Sep 2009 15:35:13 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id A0E2246B58; Thu, 10 Sep 2009 11:35:13 -0400 (EDT) Received: from jhbbsd.hudson-trading.com (unknown [209.249.190.8]) by bigwig.baldwin.cx (Postfix) with ESMTPA id A40958A01B; Thu, 10 Sep 2009 11:35:12 -0400 (EDT) From: John Baldwin To: freebsd-stable@freebsd.org Date: Thu, 10 Sep 2009 11:32:43 -0400 User-Agent: KMail/1.9.7 References: <4AA8EBBD.5020709@tomahawk.com.sg> <4AA8EC4D.3080800@andric.com> <4AA90F9F.6080702@tomahawk.com.sg> In-Reply-To: <4AA90F9F.6080702@tomahawk.com.sg> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200909101132.43781.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Thu, 10 Sep 2009 11:35:12 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: Dimitry Andric , Sagara Wijetunga Subject: Re: Avahi compilation help needed X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2009 15:35:14 -0000 On Thursday 10 September 2009 10:39:27 am Sagara Wijetunga wrote: > Dimitry Andric wrote: > > On 2009-09-10 14:06, Sagara Wijetunga wrote: > > > >> I'm trying to compile Avahi-0.6.25 (http://avahi.org/) on FreeBSD 7.2 > >> (i386) [in fact, on Tomahawk Desktop]. It develops compilation errors. > >> > > > > Any reason why you don't use the net/avahi port instead? This will save > > you most compilation and installation headaches. > > > Tomahawk Desktop uses FreeBSD sources, it is not based on the FreeBSD distribution. It doesn't have a port system. Tomahawk Desktop is designed everything to be installed simply by "./configure, [g]make, [g]make install" which FreeBSD is not designed to support. In Tomahawk Desktop, anything you compile and install, can be cleanly uninstalled without any file left out, which is not possible in FreeBSD. Here "compile and install" means you take a package, unpack, make and make install, that's it. You don't have wait until somebody prepare a port for you. > > Coming back to our problem, Avahi get compile errors on FreeBSD when its original build system is used. We need a help. Appreciate if somebody could give it a try to just compile (ie. download the package, unpack, ./configure and gmake). The avahi ports can still be useful to look at as they contain patches that you will probably need. For example, net/avahi-app has a patch against the configure script in files/patch-configure. In total it seems that net/avahi-app has 21 different patches to the avahi sources (you may not need all of them however). I would start by looking at those. -- John Baldwin