howl include problem with 0.2.4 SRPM

FireFly Media Server Firefly Media Server Forums Firefly Media Server Setup Issues howl include problem with 0.2.4 SRPM

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #215
    hakamadare
    Guest

    so, i pulled down the mt-daapd-0.2.4-1.src.rpm from SourceForge and tried to build it on a freshly patched CentOS 4.3 system. to satisfy dependencies, i installed howl-0.9.8-0_6.el4.at, howl-devel-0.9.8-0_6.el4.at, and libhowl0-0.9.8-0_6.el4.at from ATrpms.

    i got the following error:

    ...
    source='rend-howl.c' object='rend-howl.o' libtool=no
    depfile='.deps/rend-howl.Po' tmpdepfile='.deps/rend-howl.TPo'
    depmode=gcc3 /bin/sh ../depcomp
    gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -DWITH_HOWL -DHOST='"i686-pc-linux-gnu"' -DNOT_HAVE_SA_LEN -I/usr/include/howl-0.9.8 -g -O2 -c `test -f 'rend-howl.c' || echo './'`rend-howl.c
    rend-howl.c:32:18: howl.h: No such file or directory
    rend-howl.c:39: error: syntax error before "rend_handle"
    rend-howl.c:39: warning: data definition has no type or storage class
    rend-howl.c:50: error: syntax error before "rend_howl_reply"
    rend-howl.c:50: error: syntax error before "discovery"
    rend-howl.c: In function `rend_howl_reply':
    rend-howl.c:54: error: syntax error before "status_text"
    rend-howl.c: In function `rend_private_init':
    rend-howl.c:72: error: `sw_result' undeclared (first use in this function)
    rend-howl.c:72: error: (Each undeclared identifier is reported only once
    rend-howl.c:72: error: for each function it appears in.)
    rend-howl.c:72: error: syntax error before "result"
    rend-howl.c:77: error: `SW_OKAY' undeclared (first use in this function)
    rend-howl.c: In function `rend_callback':
    rend-howl.c:139: error: `sw_discovery_oid' undeclared (first use in this function)
    rend-howl.c:139: error: syntax error before "rend_oid"
    rend-howl.c:140: error: `sw_result' undeclared (first use in this function)
    rend-howl.c:152: error: `result' undeclared (first use in this function)
    rend-howl.c:163: error: `rend_oid' undeclared (first use in this function)
    rend-howl.c:163: error: `SW_OKAY' undeclared (first use in this function)
    make[3]: *** [rend-howl.o] Error 1
    make[3]: Leaving directory `/usr/src/redhat/BUILD/mt-daapd-0.2.4/src'
    make[2]: *** [all] Error 2
    make[2]: Leaving directory `/usr/src/redhat/BUILD/mt-daapd-0.2.4/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/usr/src/redhat/BUILD/mt-daapd-0.2.4'
    make: *** [all] Error 2
    error: Bad exit status from /var/tmp/rpm-tmp.5729 (%build)


    RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.5729 (%build)

    it seems that the SRPM wants the howl includes to live in /usr/include/howl-0.9.8, but the ATrpms howl-devel package puts them in /usr/include/howl. i made a symlink to fix this, and then the compile succeeded.

    would it be possible to change the SRPM to search both locations? an extra -I should do it. alternately, do you have other suggestions for good howl RPMs?

    thanks,
    -steve

    #4146
    rpedde
    Participant

    I don’t, but I had seen a specfile (that I *should* have grabbed somewhere) that awked out the path to howl automagically. Might google for mt-daapd.spec, and see if you can find it. It looked like a winner.

    If I run across it again, I’ll probably steal (i.e. borrow + credit) the thing to drop in the contrib (and to build from)

    http://www.silfreed.net/download/repo/packages/mt-daapd/mt-daapd.spec

    that’s the one I was looking for. That looks pretty close to right, except for the case where it’s in /usr/include/howl, rather than /usr/include/howl-ver

    — Ron

    #4147
    rpedde
    Participant

    You, sir, kick ass.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Setup Issues’ is closed to new topics and replies.