From owner-freebsd-ports@FreeBSD.ORG Sat Jan 29 17:40:50 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E38416A4CE for ; Sat, 29 Jan 2005 17:40:50 +0000 (GMT) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BE2743D49 for ; Sat, 29 Jan 2005 17:40:50 +0000 (GMT) (envelope-from pheon@mac.com) Received: from mac.com (smtpin01-en2 [10.13.10.146]) by smtpout.mac.com (8.12.6/MantshX 2.0) with ESMTP id j0THeeCS012918; Sat, 29 Jan 2005 09:40:40 -0800 (PST) Received: from [192.168.1.102] (pool-151-203-246-97.bos.east.verizon.net [151.203.246.97]) (authenticated bits=0)j0THeYnO022642; Sat, 29 Jan 2005 09:40:36 -0800 (PST) In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Alan Date: Sat, 29 Jan 2005 12:40:31 -0500 To: Alan Curtis X-Mailer: Apple Mail (2.619) cc: ports@FreeBSD.org cc: Meno.Abels@Adviser.com Subject: Re: starting mt-daapd X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jan 2005 17:40:50 -0000 On Jan 28, 2005, at 10:00 PM, Alan Curtis wrote: > I installed mt-daapd and used the default config file > > but when I try to start it using > > /usr/local/etc/rc.d/mt-daapd.sh start > > I get the following message > > Invalid config directive: > Error reading config file (/usr/local/etc/mt-daapd.conf) > > I deleted all the empty lines and now get the message > > 2005-01-29 02:53:24: Starting rendezvous daemon > 2005-01-29 02:53:24: Starting signal handler > 2005-01-29 02:53:24: Loading playlists > 2005-01-29 02:53:24: Initializing database > 2005-01-29 02:53:24: Starting mp3 scan > 2005-01-29 02:53:24: Starting web server from > /usr/local/share/mt-daapd/admin-root on port 3689 > 2005-01-29 02:53:24: Rendezvous pipe closed... Exiting > 2005-01-29 02:53:24: Aborting > > in the log file. > > How do I get this thing running? > > Alan > > I found the answer to this problem at the mt-daapd home site Forums. It is "It's a freebsd threads thing." apparently. I installed the nightly snapshot of mt-daapd from http://www.pedde.com/mt-daapd/mt-daapd-cvs-20050123.tar.gz. It would not initially compile as it could not find gdbm.h. I ran configure with ./configure --with-gdbm-includes=/usr/local/include --with-gdbm-libs=/usr/local/lib and it then compiled. Using the example mt-daapd config file gave the following message when starting mt-daapd Invalid config directive: Error reading config file (/usr/local/etc/mt-daapd.conf) I edited mt-daapd.conf removing all empty lines and tried again to start mt-daapd. Now everything works fine. Alan