Building on OSX …

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #114
    eddieb
    Participant

    Ron,

    somewhere I read you do your developing on OSX …

    I try to build 20051026 and get the following error :

    checking for sqlite.h… no
    configure: error: sqlite.h not found… Must have sqlite headers installed

    OSX has sqlite3.h …

    How do you solve this ?

    (btw, same problem on FC4 !)

    #3740
    velociped
    Participant

    The version of mt-daapd running on the SQLite backend requires version 2.x. It is possible to have both 2.x and 3.x installed simultaneously, but the daemon will only make use of the 2.x installation.

    –Herman

    I guess this has reached the point of needing a FAQ entry. 😉

    #3741
    eddieb
    Participant

    the part of the sqlite2/3 I did find, but, my question was more OSX related ..

    I am running 10.4.3 server on my xServe and there is only sqlite3 there …

    How do I get mt-daapd build with sqlite2 ?

    Where do you get sqlite2 from ?

    #3742
    velociped
    Participant

    It will be necessary for you to download and install SQLite 2.x. If you do so from source, then the libraries and header files will be placed where mt-daapd expects to find them (under /usr/local…). If you use something like Fink or DarwinPorts, then you will need to declare the relevant path at configuration.

    –Herman

    #3743
    rpedde
    Participant

    I use darwinports, myself, and do:


    port install sqlite
    port install libid3tag

    then do something like:


    ./configure --with-id3tag=/opt/local

    And that does it for me.

    #3744
    eddieb
    Participant

    Ok, thanks for explaining that … I did not have port installed, I used fink until now …

    Building went fine now !

    Start testing 🙂

    besides of some rights on /var/local/cache/mt-daapd all seems fine …
    (need to change some 0700 into 0755 in that directory tree …)

    tnx

    Post edited by: eddieb, at: 2005/11/01 18:23

    #3745
    rpedde
    Participant

    with fink, it would be:


    ./configure --with-id3tag=/sw

    — Ron

    #3746
    eddieb
    Participant

    Hi Ron,

    yeah, I had that, but fink does not support sqlite …
    Now I added port and setting

    ./configure –with-id3tag=/opt/local

    makes id3 and sqlite found …

    Eddie

    #3747
    rpedde
    Participant

    It’s in unstable, as is sqlite3.

    http://pdb.finkproject.org/pdb/package.php/sqlite

Viewing 9 posts - 1 through 9 (of 9 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.