FireFly Media Server › Firefly Media Server Forums › Firefly Media Server › Setup Issues › freebsd and mt-daapd-svn-1696
- This topic has 19 replies, 3 voices, and was last updated 16 years, 8 months ago by Anonymous.
-
AuthorPosts
-
08/12/2007 at 11:20 PM #2016AnonymousInactive
I’ve found no tutorials for freebsd, so tried just to
./configure; make; make install
as it’s notised in the readme file. So ./configure does something, then I try the make command:make: no target to make.
make: don’t know how to make install. Stopuname -a
FreeBSD 7.0-BETA4 FreeBSD 7.0-BETA4 #0: Sun Dec 2 19:19:04 UTC 2007 [email protected]:/usr/obj/usr/src/sys/GENERIC i386I’ve missed smth?
10/12/2007 at 4:47 AM #15083rpeddeParticipant@hryamzik wrote:
I’ve found no tutorials for freebsd, so tried just to
./configure; make; make install
as it’s notised in the readme file. So ./configure does something, then I try the make command:make: no target to make.
make: don’t know how to make install. Stopuname -a
FreeBSD 7.0-BETA4 FreeBSD 7.0-BETA4 #0: Sun Dec 2 19:19:04 UTC 2007 [email protected]:/usr/obj/usr/src/sys/GENERIC i386I’ve missed smth?
What’s the last thing configure says? Likely something like:
“you must configure with either –enable-sqlite or –enable-sqlite3”.
You’ll need to install either sqlite2 or sqlite3 (your choice) including development libs, and then re-do the configure with –enable-sqlite or –enable-sqlite3 (depengind on which you chose).
I think fbsd installs ports to /usr/local, right? If so, then you’ll also need to use:
–with-sqlite-libs=/usr/local/lib and –with-sqlite-includes=/usr/local/include
That should probably get you going, although I think someone noted some issues with sigpipe on freebsd. Try it and see.
— Ron
14/12/2007 at 3:40 PM #15084AnonymousInactiveThanks, it works, the next are configs, but I’ve no time for the problem now> 🙁
14/12/2007 at 7:13 PM #15085AnonymousInactivefrom FAQ for netbsd:
cd /usr/lib
sudo ln -s /usr/pkg/lib/libgdbm.so.3 libgdbm.so.3
sudo ln -s /usr/pkg/lib/libid3tag.so.0 libid3tag.so.0
web_root /usr/local/share/mt-daapd/admin-rootFor ubuntu:
Copy mt-daapd.conf from the src contrib directory
cp /opt/src/mt-daapd[version]/contrib/mt-daapd.conf /usr/local/etc/
sudo nano /usr/local/etc/mt-daapd.conf
Change web_root variable to read /usr/local/share/mt-daapd/admin-root
Change other variables as needed.
Make sure to create the mp3 directory and put some mp3 files in there.Well. I do not undestand all of these steps, so I’ve just tried to find some config in my system:
# locate daapCopied /usr/ports/audio/daapd/work/daapd-0.2.4b/daapd-example.conf to /usr/local/etc/mt-daapd.conf and edited:
Port 3689
ServerName daapd server
DBName daapd server
Password s0mep4ssw0rd
Root /..../music
Cache /var/db/daapd.cache
Timescan 2
RescanInterval 60# mt-daapd
Error reading config file (/usr/local/etc/mt-daapd.conf)15/12/2007 at 10:47 PM #15086AnonymousInactiveFound
http://wiki.fireflymediaserver.org/FreeBSD_Install2007-12-16 01:42:03 (28401100): Firefly Version svn-1696: Starting with debuglevel 2
2007-12-16 01:42:03 (28401100): Error opening plugin dir /usr/lib/firefly/plugins. Ignoring
2007-12-16 01:42:03 (28401100): Error opening plugin dir /usr/lib/mt-daapd/plugins. Ignoring
2007-12-16 01:42:03 (28401100): Error opening plugin dir /lib/mt-daapd/plugins. Ignoring
2007-12-16 01:42:03 (28401100): Error opening plugin dir /lib/mt-daapd/plugins. Ignoring
2007-12-16 01:42:03 (28401100): Error opening plugin dir /opt/share/firefly/plugins. Ignoring
2007-12-16 01:42:03 (28401100): Error opening plugin dir /opt/share/mt-daapd/plugins. Ignoring
2007-12-16 01:42:03 (28401100): Error opening plugin dir /opt/lib/firefly/plugins. Ignoring
2007-12-16 01:42:03 (28401100): Error opening plugin dir /opt/lib/mt-daapd/plugins. Ignoring
2007-12-16 01:42:03 (28401100): Error opening plugin dir plugins/.libs. Ignoring
2007-12-16 01:42:03 (28401100): plugins/plugin_dir not specified
2007-12-16 01:42:03: Aborting
Tried to put “plugin” or “plugins” to conf, nothing changed. Ok.
mkdir /usr/lib/mt-daapd/pluginsBut nothing changes…
UPD
plugin_dir /usr/local/var/mt-daapd/plugins
# mt-daapd
plugins/plugin_dir not specified
Aborting16/12/2007 at 11:32 PM #15087OsikParticipanthi hryamzik,
get rid of the old config file from mt-daapd from the ports. ron changed some paths and other stuff. i recommend using the mt-daapd build from svn 1696. i’ve compiled it on freebsd 7.0 beta2 x64. it works perfectly. i dont know, but on x64 i have to link the libs for myself. maybe you have to do this on x86 too.
here is a little step by step howto which worked for me.
get the nightly sources and untar them. id3tag have to be installed. (you’ll find them in the ports). Next you can configure the sources by
sh configure –enable-sqlite3 –with-id3tag=/usr/local
this should do it without errors. next you can do a
make
and a
sudo make install
if thats done you have to link the libs using “ln -s”. you will find them in /usr/local/lib/mt-daapd/plugins
libout-daap.so -> libout-daap.so.0.0
librsp.so -> librsp.so.0.0
libssc-script.so -> libssc-script.so.0.0if thats done just edit the mt-daapd.conf in /usr/local/etc to your use and start mt-daapd. if you didn’t build mt-daapd from ports before which i recommend there is no startscript in rc.d. just start mt-daapd from commandline without specific options.
Greetz
Osik
08/01/2008 at 4:46 PM #15088AnonymousInactiveNo messages in comandline, but in logs…
tail -f /var/logs/all.log
2008-01-08 19:47:30 (28401100): Firefly Version svn-1696: Starting with debuglevel 2
2008-01-08 19:47:30 (28401100): Error opening plugin dir /usr/lib/firefly/plugins. Ignoring
2008-01-08 19:47:30 (28401100): Error opening plugin dir /lib/mt-daapd/plugins. Ignoring
2008-01-08 19:47:30 (28401100): Error opening plugin dir /lib/mt-daapd/plugins. Ignoring
2008-01-08 19:47:30 (28401100): Error loading plugin /usr/local/lib/mt-daapd/plugins/libssc-script.so: plugin declined to load
2008-01-08 19:47:30 (28401100): Plugin loaded: rsp/svn-1696
2008-01-08 19:47:30 (28401100): Plugin loaded: daap/svn-1696
2008-01-08 19:47:30 (28401100): Starting rendezvous daemon
2008-01-08 19:47:30 (28401100): Starting signal handler
2008-01-08 19:47:30 (28401100): Error in drop_privs: Invalid argument
2008-01-08 19:47:30: Aborting
I’m going to google, will post if I’ll find smth
09/01/2008 at 7:02 PM #15089OsikParticipanthi
this could be a problem with permission. did you check if the plugins exist at this path?
maybe ron could tell us more about this error.
the only thing google found was the main.c file (line 217) from the firefly trunk.
greetz
Osik
09/01/2008 at 9:33 PM #15090AnonymousInactiveWhen there were problems with plugins, it was notesed in command line, smth like “plugin folder not found”. Now nothing is said after mt-daap command. Only that logs.
10/01/2008 at 6:21 AM #15091rpeddeParticipant@hryamzik wrote:
When there were problems with plugins, it was notesed in command line, smth like “plugin folder not found”. Now nothing is said after mt-daap command. Only that logs.
Check the config option you have for the “runas” user. Likely it’s a username that doesn’t exist on your system.
— Ron
-
AuthorPosts
- The forum ‘Setup Issues’ is closed to new topics and replies.