Date: Thu, 10 Sep 2009 11:32:43 -0400 From: John Baldwin <jhb@freebsd.org> To: freebsd-stable@freebsd.org Cc: Dimitry Andric <dimitry@andric.com>, Sagara Wijetunga <sagara@tomahawk.com.sg> Subject: Re: Avahi compilation help needed Message-ID: <200909101132.43781.jhb@freebsd.org> In-Reply-To: <4AA90F9F.6080702@tomahawk.com.sg> References: <4AA8EBBD.5020709@tomahawk.com.sg> <4AA8EC4D.3080800@andric.com> <4AA90F9F.6080702@tomahawk.com.sg>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909101132.43781.jhb>