FireFly Media Server › Firefly Media Server Forums › Firefly Media Server › Setup Issues › Starting DAAP server: execvp: No such file or directory
- This topic has 19 replies, 2 voices, and was last updated 16 years, 4 months ago by naturedudeks.
-
AuthorPosts
-
29/10/2007 at 4:43 PM #13148naturedudeksParticipant
Oops! I found the Wiki config information and answered the –enable-flac part for myself. Still confused on the rest…
29/10/2007 at 6:39 PM #13149naturedudeksParticipantReally struggling here. Is this flac stuff in 0.2.4.1? I looked through all the files and just didn’t find any text that looked like things you referred to, or the various files you noted in /contrib. Maybe I misunderstood which version I needed? That was the latest stable on sourceforge, pretty recent date.
Finally gave up and loaded svn1696 instead; this seems to have the files in contrib and various references to noted switches in the config/build files. This package asked me to load sqlite and sqlite-devel. I also loaded flac-devel because it says it wasn’t finding headers, and those are usually in the *-devel packages, right? So then I re-ran configure with the –enable-flac –enable-sqlite –prefix=/usr switches. Now, I get the error “Must have libFLAC for FLAC support”. I’ve already loaded flac-1.1.0.7 but it doesn’t help. What am I missing?
Seems like I am in dependency hell…several days playing with this so far. Is building this really so hard? I feel stupid!
31/10/2007 at 5:02 AM #13150rpeddeParticipant@naturedudeks wrote:
Really struggling here. Is this flac stuff in 0.2.4.1? I looked through all the files and just didn’t find any text that looked like things you referred to, or the various files you noted in /contrib. Maybe I misunderstood which version I needed? That was the latest stable on sourceforge, pretty recent date.
Ah, yeah… no transcoding in 0.2.x
Finally gave up and loaded svn1696 instead; this seems to have the files in contrib and various references to noted switches in the config/build files. This package asked me to load sqlite and sqlite-devel. I also loaded flac-devel because it says it wasn’t finding headers, and those are usually in the *-devel packages, right? So then I re-ran configure with the –enable-flac –enable-sqlite –prefix=/usr switches. Now, I get the error “Must have libFLAC for FLAC support”. I’ve already loaded flac-1.1.0.7 but it doesn’t help. What am I missing?
You need libflac-devel. Flac is the package for playing flac files. libflac is the libraries for parsing flac files and stuff.
Seems like I am in dependency hell…several days playing with this so far. Is building this really so hard? I feel stupid!
I guess like anything it’s hard if you don’t know how, or the first few times you do it. Once you’ve done it a few times it becomes a lot easier. Plus you figure out better what the terse errors mean. ๐
So no, I’d say it’s not hard, just new and different. You’ll get there. Might be bruised and bloodied, but you’ll get there. ๐
— Ron
31/10/2007 at 12:13 PM #13151naturedudeksParticipantThanks Ron, I tried and got an endless series of dependency errors. Here’s the thing…
is libflac the same as flac and libflac-devel the same as libflac? The file names seem to hint at that. If so, I’ve been chasing ghosts. if not, the problem is libflac-devel just doesn’t seem to be out there except for Mandriva, whatever that is.
if I ignored libflac* and just used flac*, all seems to have compiled. I can’t test it until my Mac user is here on the weekends.
Thanks!
31/10/2007 at 2:57 PM #13152naturedudeksParticipanti meant …and libflac-devel the same as flac-devel. Caught speeding…
02/11/2007 at 2:32 AM #13153naturedudeksParticipantWell, I can’t catch a break! ๐
I rebuilt again assuming that flac was libFlac and flac-devel was libFlac-devel. Got the versions without dependency issues and rebuilt. No errors I could see. Edited the new conf, restarted the service. So far, so good.
But now, I’m not even seeing the admin page when I go to port 3689. Wrong rpm libraries? How to debug?
Thanks,
Drew02/11/2007 at 5:51 AM #13154rpeddeParticipant@naturedudeks wrote:
Well, I can’t catch a break! ๐
I rebuilt again assuming that flac was libFlac and flac-devel was libFlac-devel. Got the versions without dependency issues and rebuilt. No errors I could see. Edited the new conf, restarted the service. So far, so good.
But now, I’m not even seeing the admin page when I go to port 3689. Wrong rpm libraries? How to debug?
Thanks,
DrewYou can see if anything is listening to the daap port with something like:
netstat -ntpl | grep 3689
If you don’t see anything, nothing is listening on 3689. If it won’t start, then check /var/log/syslog. It should have dumped an error message in there.
Failing all that, you can try and run it in the foreground with something like:
mt-daapd -d9 -f -c /etc/mt-daapd.conf
and it should print why it’s failing.
— Ron
02/11/2007 at 12:23 PM #13155naturedudeksParticipantThanks Ron,
mt-daapd.log ends with the error entries:
2007-11-01 21:27:42 (b7d106c0): db_sqlite2_open: unable to open database: /usr/var/cache/mt-daapd/songs.db (/usr/var/cache/mt-daapd/songs.db)
2007-11-01 21:27:42 (b7d106c0): Error opening db: Misc SQL Error: unable to open database: /usr/var/cache/mt-daapd/songs.dbThe directory it notes is empty. I assume it builds songs.db itself. Do I need to seed that with an empty db, or is this some type of failure in sqlite2?
03/11/2007 at 4:41 PM #13156naturedudeksParticipantRon,
I found the core problem. The program did not have rights to /usr/var/cache/mt-daapd for writing. I mod 777’d it and after some reindexing time, the admin page starts now.
I can test the streaming as soon as my Mac user gets here. Thanks for your patience with me!
Drew
11/11/2007 at 5:23 PM #13157naturedudeksParticipantiTunes user reports it’s working like a champ now. Thanks Ron!
-
AuthorPosts
- The forum ‘Setup Issues’ is closed to new topics and replies.