#musicbrainz

/

      • ruaok
        fedex hasn't updated the tracking info for it. bastards.
      • 2006-02-10 04113, 2006

      • warp
        ruaok: i need new wxpython don't I? i have a 2.6.0.0 laying about from a previous picard install.
      • 2006-02-10 04140, 2006

      • ruaok
        good enough for govt work.
      • 2006-02-10 04132, 2006

      • yalaforge
      • 2006-02-10 04158, 2006

      • yalaforge
        the XML is malformed, I think there's a <release-info-list> </release-event-list> or something
      • 2006-02-10 04117, 2006

      • g0llum
        To All: here's a mod which is interesting from a CodeOfConduct POV. give your opinions, if you have time http://musicbrainz.org/showmod.html?modid=4223575
      • 2006-02-10 04100, 2006

      • ruaok
        yalaforge: yes. remind me,... release-even-list is correct, right>
      • 2006-02-10 04110, 2006

      • yalaforge
        release-event-list, yup
      • 2006-02-10 04131, 2006

      • yalaforge
        perfect name, I like it :-)
      • 2006-02-10 04153, 2006

      • ruaok
        ok, fixed.
      • 2006-02-10 04157, 2006

      • yalaforge
        thanks
      • 2006-02-10 04124, 2006

      • yalaforge
        yay, works
      • 2006-02-10 04108, 2006

      • ruaok
        g0llum: yes, that bugs.
      • 2006-02-10 04113, 2006

      • ruaok
        and chocomo won't change his tune.
      • 2006-02-10 04117, 2006

      • ruaok
        keeps doing it.
      • 2006-02-10 04137, 2006

      • ruaok
        I think nikki_'s suggestion of the first no vote needs a comment makes sense to me.
      • 2006-02-10 04136, 2006

      • ruaok
        ok, enough for me tonight.
      • 2006-02-10 04142, 2006

      • ruaok
        I;m off a little early todayl.
      • 2006-02-10 04149, 2006

      • yalaforge
        a little early :-)
      • 2006-02-10 04152, 2006

      • yalaforge
        schlaf' gut!
      • 2006-02-10 04103, 2006

      • ruaok
        ya, only 12:40 this time.
      • 2006-02-10 04110, 2006

      • warp starts on the first ./configure
      • 2006-02-10 04115, 2006

      • ruaok
        normally I leave at 2:30 at the latest.
      • 2006-02-10 04121, 2006

      • warp
        goodnight ruaok :)
      • 2006-02-10 04130, 2006

      • ruaok
        but I have two servers running in my office and I am wearing ear-plugs.
      • 2006-02-10 04140, 2006

      • ruaok
        not a good environment. sleep is better. :-)
      • 2006-02-10 04148, 2006

      • ruaok
        thanks and good night!
      • 2006-02-10 04149, 2006

      • ruaok has quit
      • 2006-02-10 04152, 2006

      • orogor joined the channel
      • 2006-02-10 04122, 2006

      • warp
        checking for mb_GetVersion in -lmusicbrainz... no
      • 2006-02-10 04123, 2006

      • warp
        :(
      • 2006-02-10 04151, 2006

      • yalaforge
        is it installed. and if yes, via package or from source?
      • 2006-02-10 04104, 2006

      • warp
        source.
      • 2006-02-10 04105, 2006

      • warp
        -L/home/warp/opt/picard/lib -lmusicbrainz
      • 2006-02-10 04129, 2006

      • luks
        it doesn't use pkg-config, afaik
      • 2006-02-10 04142, 2006

      • luks
        set the LD_LIBRARY_PATH
      • 2006-02-10 04147, 2006

      • warp
        libmusicbrainz does, so everything using it should do too IMO :)
      • 2006-02-10 04154, 2006

      • warp
        luks: LD_LIBRARY_PATH is set too.
      • 2006-02-10 04158, 2006

      • luks
        hm
      • 2006-02-10 04100, 2006

      • yalaforge
        yup. I added the pkg-config for libmb, but nobody wanted to use it :-/
      • 2006-02-10 04119, 2006

      • yalaforge
        this has nothing to do with the LD_LIBRARY_PATH
      • 2006-02-10 04129, 2006

      • luks
        actually, it has :)
      • 2006-02-10 04133, 2006

      • yalaforge
        LD_LIBRARY_PATH is for the dynamic linker
      • 2006-02-10 04136, 2006

      • warp
        LD_LIBRARY_PATH is only runtime, not build time.
      • 2006-02-10 04145, 2006

      • yalaforge
        the problem is probably the build time one, yup
      • 2006-02-10 04147, 2006

      • luks
        i had the same issues, and LI_LIBRARY_PATH solved it
      • 2006-02-10 04111, 2006

      • luks
        that'
      • 2006-02-10 04123, 2006

      • warp
        yalaforge: well, thanks for adding the pkg-config stuff,.. usually it helps prevent this sort of trouble.
      • 2006-02-10 04125, 2006

      • luks
        s because configure needs to compile and link a test program
      • 2006-02-10 04126, 2006

      • warp
        :)
      • 2006-02-10 04144, 2006

      • yalaforge
        luks: if 'ld' or 'gcc' doesn't find the library, it doesn't help
      • 2006-02-10 04152, 2006

      • yalaforge
        warp: check your config.log
      • 2006-02-10 04116, 2006

      • warp
        configure:21351: g++ -o conftest -g -O2 -Wall -O2 conftest.cc -lmusicbrainz -lz >&5
      • 2006-02-10 04119, 2006

      • warp
        /usr/bin/ld: cannot find -lmusicbrainz
      • 2006-02-10 04130, 2006

      • yalaforge
        LD_FLAGS='-L/home/warp/opt/picard/lib' ./configure
      • 2006-02-10 04148, 2006

      • yalaforge hopes configure passes the linker flags on :-)
      • 2006-02-10 04108, 2006

      • yalaforge
        LD_FLAGS='-L/home/warp/opt/picard/lib -Wl,-R,/home/warp/opt/picard/lib' ./configure
      • 2006-02-10 04143, 2006

      • yalaforge
        this hardcodes the path for the dynamic linker. then LD_LIBRARY_PATH or /etc/ld.so.conf aren't needed
      • 2006-02-10 04147, 2006

      • warp
        wow, now you're getting complicated :)
      • 2006-02-10 04108, 2006

      • yalaforge has been through this crap a hundred times on NetBSD :-/
      • 2006-02-10 04122, 2006

      • warp
        still not.
      • 2006-02-10 04128, 2006

      • yalaforge
        config.log?
      • 2006-02-10 04143, 2006

      • yalaforge
        (this is libtp, right?)
      • 2006-02-10 04146, 2006

      • warp
        still the same.
      • 2006-02-10 04154, 2006

      • warp
        yes, it is libtunepimp.
      • 2006-02-10 04101, 2006

      • warp has a look around configure.in
      • 2006-02-10 04105, 2006

      • yalaforge
        ok, I'll have a look at it
      • 2006-02-10 04138, 2006

      • yalaforge checks how the linker flags are passed around
      • 2006-02-10 04144, 2006

      • warp
        it has stuff such as 'CFLAGS="$CFLAGS -Wall -O2"', but no mention of LFLAGS
      • 2006-02-10 04152, 2006

      • yalaforge
        LD_FLAGS
      • 2006-02-10 04152, 2006

      • warp
        erm, LD_FLAGS
      • 2006-02-10 04133, 2006

      • warp
        warp [at ararita]:~/usr/src/picard/libtunepimp-0.4.2$ cat configure configure.in | grep LD_FLAGS | wc
      • 2006-02-10 04137, 2006

      • warp
        0 0 0
      • 2006-02-10 04140, 2006

      • warp
        :)
      • 2006-02-10 04148, 2006

      • yalaforge
        LIBS is overwritten, it seems
      • 2006-02-10 04154, 2006

      • luks
        well, `LD_LIBRARY_PATH=/home/luks/picard/lib ./configure --prefix=/home/luks/picard` solved all the problems for me here on ubuntu
      • 2006-02-10 04150, 2006

      • yalaforge
        it shouldn't work :-)
      • 2006-02-10 04103, 2006

      • luks
        well, it does ;)
      • 2006-02-10 04119, 2006

      • yalaforge
        warp: try LIBS instead of LD_FLAGS
      • 2006-02-10 04116, 2006

      • luks_ joined the channel
      • 2006-02-10 04141, 2006

      • warp
        hm, odd
      • 2006-02-10 04142, 2006

      • warp
        checking for version >= 2.1.0 in -lmusicbrainz... no
      • 2006-02-10 04103, 2006

      • yalaforge
        using LIBS?
      • 2006-02-10 04117, 2006

      • warp
        yes
      • 2006-02-10 04139, 2006

      • warp
        configure:21433: g++ -o conftest -g -O2 -Wall -O2 conftest.cc -lmusicbrainz >&5
      • 2006-02-10 04142, 2006

      • warp
        conftest.cc:33:30: error: musicbrainz/mb_c.h: No such file or directory
      • 2006-02-10 04144, 2006

      • warp
        conftest.cc: In function 'int main()':
      • 2006-02-10 04151, 2006

      • yalaforge
        ahhh :-)
      • 2006-02-10 04152, 2006

      • warp
        and i actually already included CFLAGS too.
      • 2006-02-10 04156, 2006

      • yalaforge
        oh.
      • 2006-02-10 04101, 2006

      • warp
        LIBS=`pkg-config --libs libmusicbrainz` CFLAGS=`pkg-config --cflags libmusicbrainz` ./configure --prefix=/home/warp/opt/picard
      • 2006-02-10 04114, 2006

      • yalaforge
        use CXXFLAGS
      • 2006-02-10 04111, 2006

      • warp
        doh, ofcourse.
      • 2006-02-10 04126, 2006

      • yalaforge
        libtp's configure is completely broken.
      • 2006-02-10 04140, 2006

      • warp agrees :)
      • 2006-02-10 04142, 2006

      • yalaforge
        the LIBS trick only works on *some* architectures
      • 2006-02-10 04158, 2006

      • yalaforge
        well, installing libs in a non-standard place is still your fault :-)
      • 2006-02-10 04141, 2006

      • warp
        if you would seriously object to such practice you would've never provided that pkg-config stuff :)
      • 2006-02-10 04142, 2006

      • yalaforge
        what about that ugly LD_LIBRARY_PATH hack? is this from the docs?
      • 2006-02-10 04113, 2006

      • yalaforge
        warp: :-)
      • 2006-02-10 04146, 2006

      • yalaforge
        I'd strongly suggest hardcoding the dynamic linker path using -Wl,-R,/some/path to get rid of LD_LIBRARY_PATH
      • 2006-02-10 04106, 2006

      • warp
        oh, i use LD_LIBRARY_PATH all the time.
      • 2006-02-10 04123, 2006

      • yalaforge
        doesn't make it better ;-)
      • 2006-02-10 04143, 2006

      • warp
        yalaforge: won't hardcoding break stuff when i move the library around?
      • 2006-02-10 04151, 2006

      • yalaforge
        yup, of course
      • 2006-02-10 04101, 2006

      • yalaforge
        you can set multiple paths though
      • 2006-02-10 04139, 2006

      • yalaforge
        the easiest solution would be to add your library path to /etc/ld.so.conf
      • 2006-02-10 04153, 2006

      • warp
        yalaforge: for everything in ~/opt, it is in theory a temporary solution until my dist provides whatever i keep in that dir :)
      • 2006-02-10 04115, 2006

      • warp
        yalaforge: root has trouble enough keeping the dist clean of crap just with stuff from packages, i'm not going to introduce home-built stuff on that level.
      • 2006-02-10 04143, 2006

      • yalaforge
        well, as long as it works for you :-)
      • 2006-02-10 04102, 2006

      • warp
        it usually does.
      • 2006-02-10 04112, 2006

      • yalaforge installs stuff in /usr/local, using stow to get rid of it later
      • 2006-02-10 04116, 2006

      • warp
        and when it doesn't, i blame whoever wrote that particular configure.in
      • 2006-02-10 04107, 2006

      • yalaforge
        did you try stow? might solve your problems a bit easier
      • 2006-02-10 04116, 2006

      • warp
        not yet, i probably should.
      • 2006-02-10 04138, 2006

      • warp
        can i have it anywhere other than in /usr/local?
      • 2006-02-10 04110, 2006

      • yalaforge
        yup, I think so
      • 2006-02-10 04131, 2006

      • yalaforge usually does this:
      • 2006-02-10 04151, 2006

      • yalaforge
        ./configure --prefix=/usr/local/stow/libtunepimp-VERSION
      • 2006-02-10 04153, 2006

      • yalaforge
        make install
      • 2006-02-10 04109, 2006

      • yalaforge
        then go to /usr/local/stow, and type 'stow libtunepimp-VERSION'.
      • 2006-02-10 04126, 2006

      • yalaforge
        with /usr/local/lib in /etc/ld.so.conf, I only have to run ldconfig, and it's usable
      • 2006-02-10 04158, 2006

      • yalaforge
        according to the manpage, you can put your stow directory anywhere. see the '-t' switch
      • 2006-02-10 04119, 2006

      • zout joined the channel
      • 2006-02-10 04124, 2006

      • zout
        hi
      • 2006-02-10 04129, 2006

      • yalaforge
        hey
      • 2006-02-10 04103, 2006

      • zout
        luks: Sesame Street is cool!
      • 2006-02-10 04113, 2006

      • luks_
        :)
      • 2006-02-10 04114, 2006

      • zout
        I was editing it too...
      • 2006-02-10 04114, 2006

      • warp
        hm, i would probably abuse it and end up with something fairly similar to what i have now :/
      • 2006-02-10 04137, 2006

      • yalaforge
        yeah, that's possible :-)
      • 2006-02-10 04152, 2006

      • luks_
        zout: i really don't know what to do about albums like http://musicbrainz.org/album/efa312dd-d70a-43c2-9…
      • 2006-02-10 04118, 2006

      • warp
        yalaforge: basically, i want to keep all source-built stuff out of root. so if i log in as a different user, i get the default ubuntu stuff for everything.
      • 2006-02-10 04100, 2006

      • yalaforge
        hmm, you can use stow for that, too. but that's not the idea behind it.
      • 2006-02-10 04101, 2006

      • warp
        oh, hey.. i think it worked this time.
      • 2006-02-10 04104, 2006

      • luks has quit
      • 2006-02-10 04122, 2006

      • zout
        luks: I'm working on it
      • 2006-02-10 04126, 2006

      • warp
        yalaforge: i know, so there will not really be any added benefit for using stow
      • 2006-02-10 04128, 2006

      • yalaforge
        at least you can get rid of installed packages easily. that advantage remains, at least
      • 2006-02-10 04134, 2006

      • warp
        yalaforge: except a slightly smaller LD_LIBRARY_PATH and such.
      • 2006-02-10 04101, 2006

      • warp
        yalaforge: i can now get rid of installed packages with cd ~/opt; rm PACKAGENAME
      • 2006-02-10 04113, 2006

      • warp
        erm, 'rm -rf' ofcourse :)
      • 2006-02-10 04135, 2006

      • yalaforge
        for me, it's cd /usr/local/stow && stow -D package-name
      • 2006-02-10 04137, 2006

      • warp
        configure:21470: result: yes
      • 2006-02-10 04139, 2006

      • warp
        yay!
      • 2006-02-10 04147, 2006

      • yalaforge
        nice!
      • 2006-02-10 04154, 2006

      • warp
        that's with:
      • 2006-02-10 04156, 2006

      • warp
        warp [at ararita]:~/usr/src/picard/libtunepimp-0.4.2$ CPPFLAGS=`pkg-config --libs libmusicbrainz` CFLAGS=`pkg-config --cflags libmusicbrainz` CXXFLAGS=`pkg-config --cflags libmusicbrainz` ./configure --prefix=/home/warp/opt/picard
      • 2006-02-10 04123, 2006

      • yalaforge
        what about the LIBS?
      • 2006-02-10 04130, 2006

      • warp
        i replaced it with CPPFLAGS