5 Comments

  1. Adam
    Adam January 19, 2009 at 01:30 . Reply

    I’m confused about MPD under Cygwin. Is icecast required to get mp3 functionality? I’ve compiled and installed libmad and libid3tag but whenever I try to ./configure mpd it says that mp3 and id3 are disabled. Your example here doesn’t seem to include icecast. (Not that I can get icecast to compile, but that’s another can of worms…)

  2. michu
    michu January 19, 2009 at 12:08 . Reply

    > Is icecast required to get mp3 functionality:
    no icecast is used to stream your songs..

    try to use “./configure –help” and specify the library path.. did you install libmad and libid3tag?

  3. Adam
    Adam January 20, 2009 at 03:43 . Reply

    Hi Michu.

    I’m glad to hear that icecast isn’t required, since it doesn’t seem to be compilable under Cygwin (winsock2 issues).

    I have downloaded and compiled the sources for libmad and libid3tag (libmad-0.15.1b, libid3tag-0.15.1b, and even madplay-0.15.2b). The resultant libraries were dropped in /usr/local/lib as part of the process (configure / make / make install).

    I tried setting LDFLAGS to -L/usr/local/lib as suggested by ./configure –help. For whatever reason, the configuration script still refused to find the MAD and ID3TAG libs. There didn’t seem to be any command-line library helpers for mad and id3tag (no –with-mad-includes=DIR, like there are for lame, faad, etc.) so I’m a little stumped as to how to proceed.

    Adam

  4. Maarten
    Maarten April 3, 2009 at 14:31 . Reply

    Hi Michu,

    could you maybe send the executables you did get as a result?
    I would like to play around a bit with seeing whether MPD at Windows will work like I would like to before I install a full cygwin installation.

    kind regards,
    Maarten

  5. Stuben
    Stuben October 17, 2009 at 18:38 . Reply

    Tried to compile both with gcc3 and gcc4.
    Also tried to apply the fake_getaddrinfo patch manually to listen.c, it didn’t work.
    Here’s the error:
    src/listen.c: In function ‘listen_add_host’:
    src/listen.c:224: error: storage size of ‘hints’ isn’t known
    src/listen.c:232: error: ‘AI_PASSIVE’ undeclared (first use in this function)
    src/listen.c:232: error: (Each undeclared identifier is reported only once
    src/listen.c:232: error: for each function it appears in.)
    src/listen.c:242: warning: implicit declaration of function ‘getaddrinfo’
    src/listen.c:246: warning: implicit declaration of function ‘gai_strerror’
    src/listen.c:246: warning: format ‘%s’ expects type ‘char *’, but argument 6 has
    type ‘int’
    src/listen.c:250: error: dereferencing pointer to incomplete type
    src/listen.c:253: error: dereferencing pointer to incomplete type
    src/listen.c:253: error: dereferencing pointer to incomplete type
    src/listen.c:254: error: dereferencing pointer to incomplete type
    src/listen.c:263: error: dereferencing pointer to incomplete type
    src/listen.c:264: error: dereferencing pointer to incomplete type
    src/listen.c:279: warning: implicit declaration of function ‘freeaddrinfo’
    src/listen.c:224: warning: unused variable ‘hints’
    src/listen.c: At top level:
    /usr/include/asm/byteorder.h:36: warning: inline function ‘__constant_ntohs’ dec
    lared but never defined
    /usr/include/asm/byteorder.h:35: warning: inline function ‘__constant_ntohl’ dec
    lared but never defined
    make[1]: *** [src_mpd-listen.o] Error 1
    make[1]: Leaving directory `/home/user/mpd-0.15.4′
    make: *** [all] Error 2

Leave a Reply

Warning: require_once(/home/httpd/vhosts/pixelinvaders.ch/httpdocs/neophob.com/wp-content/themes/fanwood/sidebar-after-content.php): failed to open stream: Permission denied in /home/httpd/vhosts/pixelinvaders.ch/httpdocs/neophob.com/wp-includes/template.php on line 501 Fatal error: require_once(): Failed opening required '/home/httpd/vhosts/pixelinvaders.ch/httpdocs/neophob.com/wp-content/themes/fanwood/sidebar-after-content.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/httpd/vhosts/pixelinvaders.ch/httpdocs/neophob.com/wp-includes/template.php on line 501