You are here: Home » Topic » Building on a NSLU2

Building on a NSLU2

This topic contains 7 replies, has 3 voices, and was last updated by  sansp00 10 years, 4 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1290

    sansp00
    Participant

    I am probably going to sound very stupid …
    What the hell does this mean:
    You should add the contents of `/opt/share/aclocal/libtool.m4′ to `aclocal.m4′.

    I have been trying to get mt-daapd to compile on my slug without much success šŸ™

    Any help would be appreciated … I am not very familiar with makefile and setting up Linux dev env. I come from a Solaris background and 95% of the time, our build team writes the makes and stuff.
    Even a procedure to start from scratch will be helpfull
    Thanks
    Patrick S.

    #10104

    rpedde
    Participant

    @sansp00 wrote:

    I am probably going to sound very stupid …
    What the hell does this mean:
    You should add the contents of `/opt/share/aclocal/libtool.m4′ to `aclocal.m4′.

    I have been trying to get mt-daapd to compile on my slug without much success šŸ™

    Autotools suck — it doesn’t seem to be possible (unless you follow the auto* mailing lists for a living) to be able to write a configure script that works across all versions of autoconf.

    If you are trying to follow from svn, you’ll have to have the same version of autotools I do, which is:

    autoconf 2.60
    automake 1.8.5
    libtool 1.5.22

    Other than that, I wouldn’t guarantee that it would generate correct makefiles from the configure.in.

    If you are just trying to hack on the code a bit, or to compile from source, it *should* work with just a ./configure from one of hte nightly tarballs. Does it not?

    — Ron

    #10105

    sansp00
    Participant

    Yup, that worked like a charm !
    Thanks a million !
    You’ll probably here back from me on this ‘hack’ in a couple of days šŸ™‚
    Patrick S.

    #10106

    sansp00
    Participant

    I guess I yelled victory too fast …
    I can’t seem to make it see id3tag.h, what am I doing wrong this time …

    checking id3tag.h usability… no
    checking id3tag.h presence… no
    checking for id3tag.h… no
    configure: error: id3tag.h not found… try –with-id3tag=dir

    This is with …
    # ./configure –enable-sqlite3 –enable-nslu2 –with-id3tag=/opt/include

    The lib is there …
    # ipkg install libid3tag
    Package libid3tag (0.15.1b-1) installed in root is up to date.
    Nothing to be done

    Its in /opt/include
    # ls -rlt /opt/include/id3tag.h
    -rw-r–r– 1 root root 10647 Jun 16 2006 /opt/include/id3tag.h

    Patrick S.

    #10107

    sansp00
    Participant

    Ok, figure it out .. I changed the path to simply /opt/ …
    Patrick S.

    #10108

    rpedde
    Participant

    @sansp00 wrote:

    I guess I yelled victory too fast …
    I can’t seem to make it see id3tag.h, what am I doing wrong this time …

    checking id3tag.h usability… no
    checking id3tag.h presence… no
    checking for id3tag.h… no
    configure: error: id3tag.h not found… try –with-id3tag=dir

    This is with …
    # ./configure –enable-sqlite3 –enable-nslu2 –with-id3tag=/opt/include

    The lib is there …
    # ipkg install libid3tag
    Package libid3tag (0.15.1b-1) installed in root is up to date.
    Nothing to be done

    Its in /opt/include
    # ls -rlt /opt/include/id3tag.h
    -rw-r–r– 1 root root 10647 Jun 16 2006 /opt/include/id3tag.h

    Patrick S.

    Urk. That’s me being lazy. It automatically appends “include” and “libs” to the –with-id3tag, because all my stuff was in /sw/include and /sw/lib, and it was easier for me to type –with-id3tag=/sw than –with-id3tag-includes=/sw/includes –with-id3tag-libs=/sw/lib

    My bad, that’s a crappy configure, and I know it. Sorry. Sorry.

    Uh, so it’s –with-id3tag=/opt

    — Ron

    #10109

    g0pkh
    Participant

    I have been trying to get mt-daapd to compile on my slug without much success

    Perhaps I am missing something, šŸ˜• .

    But why compile it ?. Why not just ipkg install it from the nightlie.

    Pete

    #10110

    sansp00
    Participant

    Because I am playing with the code … Working on a Shoutcast scanner for Firefly. Been so busy with my new Hava, migrating my lappy to Vista and doing overtime at work that I haven’t had much time to move forward with it. I have around 85% of the code done, just needed to integrate it in FF. I don’t know if others are going to be interested in this, but I used this as a small project to get me familiar with that code in order to move to bigger things.
    Patrick S.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.