Page 3 of 9 FirstFirst 12345 ... LastLast
Results 21 to 30 of 87

Thread: How to set up forked-daapd (mt-daapd replacement) on 9.10

  1. #21
    Join Date
    Dec 2006
    Beans
    2

    Re: How to set up forked-daapd (mt-daapd replacement) on 9.10

    Hi,
    I got around this error by removing libunistring and compiling this package from source.

    The problems I have been having so far are that for some of my mp3 files, the tags aren't read.
    Watching the program running using forked-daapd -fd 3, the songs that don't have tags show this:

    ffmpeg: ID3v2.4 tag skipped, cannot handle unsynchronization

    I am using the ffmpeg compiled from source on ubuntu 10.04 server amd64.
    when I was running mt-daapd, it processed all of the tags correctly

    Another issue I had was when I used the prebuild forked-daapd for debain on ubuntu, I could detect my AirPort Express and connect to it after I rebooted it through remote on iPhone (otherwise it would not connect)
    On the version I built, the APE was not discovered.

    Any hints would be appreciated,
    I'll try rebuilding today.

    Thanks,
    John

  2. #22
    Join Date
    Jan 2008
    Location
    Auckland, New Zealand
    Beans
    3,129
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: How to set up forked-daapd (mt-daapd replacement) on 9.10

    Hi John, you might want to contact the author of forked-daapd about this as it sounds like a bug that should be fixed. His email address can be found in the AUTHORS file with the source code.

  3. #23
    Join Date
    Apr 2005
    Beans
    132

    Re: How to set up forked-daapd (mt-daapd replacement) on 9.10

    Anyone try this on Lucid (10.04)? I'm trying and get this when I run autoreconf -i

    Code:
    $ autoreconf -i
    configure.in:100: warning: AM_ICONV is m4_require'd but not m4_defun'd
    m4/libunistring.m4:14: gl_LIBUNISTRING is expanded from...
    configure.in:100: the top level
    configure.in:100: warning: AM_ICONV is m4_require'd but not m4_defun'd
    m4/libunistring.m4:14: gl_LIBUNISTRING is expanded from...
    configure.in:100: the top level
    configure.in:100: warning: AM_ICONV is m4_require'd but not m4_defun'd
    m4/libunistring.m4:14: gl_LIBUNISTRING is expanded from...
    configure.in:100: the top level
    configure.in:100: warning: AM_ICONV is m4_require'd but not m4_defun'd
    m4/libunistring.m4:14: gl_LIBUNISTRING is expanded from...
    configure.in:100: the top level
    configure:12007: error: possibly undefined macro: AM_ICONV
          If this token and others are legitimate, please use m4_pattern_allow.
          See the Autoconf documentation.
    configure:12009: error: possibly undefined macro: AC_LIB_HAVE_LINKFLAGS
    autoreconf: /usr/bin/autoconf failed with exit status: 1
    anyone know what I need to get past this?

    thanks!

  4. #24
    Join Date
    Apr 2005
    Location
    Hampshire, UK
    Beans
    25
    Distro
    Ubuntu 10.04 Lucid Lynx

    Smile Re: How to set up forked-daapd (mt-daapd replacement) on 9.10

    Hi,

    Thanks to the previous posters I've been able to create a script which builds and installs forked-daapd (and its requirements) on Ubuntu Lucid and Maverick. The script also creates logrotate.d and init.d scripts.

    Currently I've only tested forked-daap on 64-bit Lucid and listened to music with Banshee, but the script should also work on 32-bit as well.

    NOTE! forked-daapd requires SQLite3 with update notify API enabled which is not available in the Lucid repos. Therefore my script grabs SQLite 3.6.23.1-4 from the Maverick builds in order to satisfy this requirement. I've no idea what the knock on effect might be so don't blame me if my script eats all your chocolates I've built forked-daapd in a virtual guest to ensure I don't break anything important on my production machines. Naturally, when running this script on Maverick it doesn't do the funky SQLite3 stuff.

    You can get my scripts from my bzr repository. There are other scripts in there, most are incomplete or experimental.

    Code:
    bzr branch lp:~flexiondotorg/+junk/ServerScripts
    The script needs to be executed via 'sudo'.

    Code:
    sudo ./daap-server.sh
    The output from the script looks like this.

    Code:
    Installing daapd server
     [x] Downloading SQLite3 with notify unlock API enabled success
     [x] Installing SQLite3 with notify unlock API enabled success
     [x] Installing build requirements success
     [x] Updating ANTLR success
     [x] Downloading ANTLR C runtime success
     [x] Unpacking ANTLR C runtime success
     [x] Configuring ANTLR C runtime success
     [x] Building ANTLR C runtime success
     [x] Installing ANTLR C runtime success
     [x] Updating libraries success
     [x] Downloading forked-daapd success
     [x] Configuring forked-daapd success
     [x] Building forked-daapd success
     [x] Installing forked-daapd success
     [x] Adding 'daapd' user success
     [x] Setting 'daapd' permissions success
     [x] Configuring logrotate success
     [x] Configuring init.d success
    If you want to see what the script is doing while it is running just execute the following in another shell.

    Code:
    tail -f daap-server.sh.log
    Hopefully this will help some of you who, like me, were struggling to get forked-daapd working.
    Last edited by Remix_88; August 13th, 2010 at 03:26 PM. Reason: Added support for Ubuntu Maverick
    --
    Regards, Martin.
    Ubuntu, it's all GNU to me.

  5. #25
    Join Date
    Aug 2010
    Beans
    2

    Re: How to set up forked-daapd (mt-daapd replacement) on 9.10

    Martin, thanks for that script - it saved me a lot of faffing with sqlite etc. However had to change line 116 to

    DISTRIB_ARCH=`uname -m`

    to get it running.

    Cheers... Mike

  6. #26
    Join Date
    Apr 2005
    Location
    Hampshire, UK
    Beans
    25
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How to set up forked-daapd (mt-daapd replacement) on 9.10

    Hi Mike,

    Thanks for the feedback, I've modified 'common.sh' as per your suggestion. I've also updated 'daap-server.sh' so that it supports Lucid and Maverick, but on Maverick it doesn't have to do the funky SQLite3 stuff
    --
    Regards, Martin.
    Ubuntu, it's all GNU to me.

  7. #27
    Join Date
    Mar 2009
    Location
    Hampshire, UK
    Beans
    3

    Re: How to set up forked-daapd (mt-daapd replacement) on 9.10

    Martin

    Thanks for posting your script. Running on a clean 10.04 32-bit server install hits a problem when it runs autoreconf, installing 'gettext' fixes the issue.

    Thought you'd want to know so you can patch the script.

    Simon

  8. #28
    Join Date
    Mar 2009
    Location
    Hampshire, UK
    Beans
    3

    Re: How to set up forked-daapd (mt-daapd replacement) on 9.10

    Quote Originally Posted by IndieRockSteve View Post
    Anyone try this on Lucid (10.04)? I'm trying and get this when I run autoreconf -i

    Code:
    $ autoreconf -i
    configure.in:100: warning: AM_ICONV is m4_require'd but not m4_defun'd
    m4/libunistring.m4:14: gl_LIBUNISTRING is expanded from...
    configure.in:100: the top level
    configure.in:100: warning: AM_ICONV is m4_require'd but not m4_defun'd
    m4/libunistring.m4:14: gl_LIBUNISTRING is expanded from...
    configure.in:100: the top level
    configure.in:100: warning: AM_ICONV is m4_require'd but not m4_defun'd
    m4/libunistring.m4:14: gl_LIBUNISTRING is expanded from...
    configure.in:100: the top level
    configure.in:100: warning: AM_ICONV is m4_require'd but not m4_defun'd
    m4/libunistring.m4:14: gl_LIBUNISTRING is expanded from...
    configure.in:100: the top level
    configure:12007: error: possibly undefined macro: AM_ICONV
          If this token and others are legitimate, please use m4_pattern_allow.
          See the Autoconf documentation.
    configure:12009: error: possibly undefined macro: AC_LIB_HAVE_LINKFLAGS
    autoreconf: /usr/bin/autoconf failed with exit status: 1
    anyone know what I need to get past this?

    thanks!
    To get past this I had to install gettext
    Code:
     sudo apt-get install gettext

  9. #29
    Join Date
    Mar 2009
    Location
    Hampshire, UK
    Beans
    3

    Re: How to set up forked-daapd (mt-daapd replacement) on 9.10

    Hi All

    Has anyone been able to get the latest source to build? There are more references to unistr.h, but it would appear that, on Lucid, that unistr.h is still work in progress...

    See /usr/include/unistr.h lines 189 and 259.

    Simon

  10. #30
    Join Date
    Apr 2005
    Location
    Hampshire, UK
    Beans
    25
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How to set up forked-daapd (mt-daapd replacement) on 9.10

    Hi,

    I've updated the script to also install 'gettext'.
    --
    Regards, Martin.
    Ubuntu, it's all GNU to me.

Page 3 of 9 FirstFirst 12345 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •