8:31 AM
ruaok
fedex hasn't updated the tracking info for it. bastards.
8:32 AM
warp
ruaok: i need new wxpython don't I? i have a 2.6.0.0 laying about from a previous picard install.
8:33 AM
ruaok
good enough for govt work.
8:34 AM
yalaforge
8:34 AM
the XML is malformed, I think there's a <release-info-list> </release-event-list> or something
8:35 AM
g0llum
8:36 AM
ruaok
yalaforge: yes. remind me,... release-even-list is correct, right>
8:36 AM
yalaforge
release-event-list, yup
8:36 AM
perfect name, I like it :-)
8:36 AM
ruaok
ok, fixed.
8:36 AM
yalaforge
thanks
8:37 AM
yay, works
8:38 AM
ruaok
g0llum: yes, that bugs.
8:38 AM
and chocomo won't change his tune.
8:38 AM
keeps doing it.
8:38 AM
I think nikki_'s suggestion of the first no vote needs a comment makes sense to me.
8:40 AM
ok, enough for me tonight.
8:40 AM
I;m off a little early todayl.
8:40 AM
yalaforge
a little early :-)
8:40 AM
schlaf' gut!
8:41 AM
ruaok
ya, only 12:40 this time.
8:41 AM
warp starts on the first ./configure
8:41 AM
normally I leave at 2:30 at the latest.
8:41 AM
warp
goodnight ruaok :)
8:41 AM
ruaok
but I have two servers running in my office and I am wearing ear-plugs.
8:41 AM
not a good environment. sleep is better. :-)
8:41 AM
thanks and good night!
8:41 AM
ruaok has quit
8:43 AM
orogor joined the channel
8:53 AM
warp
checking for mb_GetVersion in -lmusicbrainz... no
8:53 AM
:(
8:53 AM
yalaforge
is it installed. and if yes, via package or from source?
8:54 AM
warp
source.
8:54 AM
-L/home/warp/opt/picard/lib -lmusicbrainz
8:54 AM
luks
it doesn't use pkg-config, afaik
8:54 AM
set the LD_LIBRARY_PATH
8:54 AM
warp
libmusicbrainz does, so everything using it should do too IMO :)
8:54 AM
luks: LD_LIBRARY_PATH is set too.
8:54 AM
luks
hm
8:55 AM
yalaforge
yup. I added the pkg-config for libmb, but nobody wanted to use it :-/
8:55 AM
this has nothing to do with the LD_LIBRARY_PATH
8:55 AM
luks
actually, it has :)
8:55 AM
yalaforge
LD_LIBRARY_PATH is for the dynamic linker
8:55 AM
warp
LD_LIBRARY_PATH is only runtime, not build time.
8:55 AM
yalaforge
the problem is probably the build time one, yup
8:55 AM
luks
i had the same issues, and LI_LIBRARY_PATH solved it
8:56 AM
that'
8:56 AM
warp
yalaforge: well, thanks for adding the pkg-config stuff,.. usually it helps prevent this sort of trouble.
8:56 AM
luks
s because configure needs to compile and link a test program
8:56 AM
warp
:)
8:56 AM
yalaforge
luks: if 'ld' or 'gcc' doesn't find the library, it doesn't help
8:56 AM
warp: check your config.log
8:57 AM
warp
configure:21351: g++ -o conftest -g -O2 -Wall -O2 conftest.cc -lmusicbrainz -lz >&5
8:57 AM
/usr/bin/ld: cannot find -lmusicbrainz
8:57 AM
yalaforge
LD_FLAGS='-L/home/warp/opt/picard/lib' ./configure
8:57 AM
yalaforge hopes configure passes the linker flags on :-)
8:59 AM
LD_FLAGS='-L/home/warp/opt/picard/lib -Wl,-R,/home/warp/opt/picard/lib' ./configure
8:59 AM
this hardcodes the path for the dynamic linker. then LD_LIBRARY_PATH or /etc/ld.so.conf aren't needed
8:59 AM
warp
wow, now you're getting complicated :)
9:00 AM
yalaforge has been through this crap a hundred times on NetBSD :-/
9:00 AM
still not.
9:00 AM
yalaforge
config.log?
9:00 AM
(this is libtp, right?)
9:00 AM
warp
still the same.
9:00 AM
yes, it is libtunepimp.
9:01 AM
warp has a look around configure.in
9:01 AM
yalaforge
ok, I'll have a look at it
9:01 AM
yalaforge checks how the linker flags are passed around
9:01 AM
warp
it has stuff such as 'CFLAGS="$CFLAGS -Wall -O2"', but no mention of LFLAGS
9:01 AM
yalaforge
LD_FLAGS
9:01 AM
warp
erm, LD_FLAGS
9:02 AM
warp [at ararita]:~/usr/src/picard/libtunepimp-0.4.2$ cat configure configure.in | grep LD_FLAGS | wc
9:02 AM
0 0 0
9:02 AM
:)
9:02 AM
yalaforge
LIBS is overwritten, it seems
9:02 AM
luks
well, `LD_LIBRARY_PATH=/home/luks/picard/lib ./configure --prefix=/home/luks/picard` solved all the problems for me here on ubuntu
9:03 AM
yalaforge
it shouldn't work :-)
9:04 AM
luks
well, it does ;)
9:04 AM
yalaforge
warp: try LIBS instead of LD_FLAGS
9:06 AM
luks_ joined the channel
9:06 AM
warp
hm, odd
9:06 AM
checking for version >= 2.1.0 in -lmusicbrainz... no
9:07 AM
yalaforge
using LIBS?
9:07 AM
warp
yes
9:07 AM
configure:21433: g++ -o conftest -g -O2 -Wall -O2 conftest.cc -lmusicbrainz >&5
9:07 AM
conftest.cc:33:30: error: musicbrainz/mb_c.h: No such file or directory
9:07 AM
conftest.cc: In function 'int main()':
9:07 AM
yalaforge
ahhh :-)
9:07 AM
warp
and i actually already included CFLAGS too.
9:07 AM
yalaforge
oh.
9:08 AM
warp
LIBS=`pkg-config --libs libmusicbrainz` CFLAGS=`pkg-config --cflags libmusicbrainz` ./configure --prefix=/home/warp/opt/picard
9:08 AM
yalaforge
use CXXFLAGS
9:09 AM
warp
doh, ofcourse.
9:09 AM
yalaforge
libtp's configure is completely broken.
9:09 AM
warp agrees :)
9:09 AM
the LIBS trick only works on *some* architectures
9:09 AM
well, installing libs in a non-standard place is still your fault :-)
9:10 AM
warp
if you would seriously object to such practice you would've never provided that pkg-config stuff :)
9:10 AM
yalaforge
what about that ugly LD_LIBRARY_PATH hack? is this from the docs?
9:11 AM
warp: :-)
9:12 AM
I'd strongly suggest hardcoding the dynamic linker path using -Wl,-R,/some/path to get rid of LD_LIBRARY_PATH
9:13 AM
warp
oh, i use LD_LIBRARY_PATH all the time.
9:13 AM
yalaforge
doesn't make it better ;-)
9:13 AM
warp
yalaforge: won't hardcoding break stuff when i move the library around?
9:13 AM
yalaforge
yup, of course
9:14 AM
you can set multiple paths though
9:14 AM
the easiest solution would be to add your library path to /etc/ld.so.conf
9:14 AM
warp
yalaforge: for everything in ~/opt, it is in theory a temporary solution until my dist provides whatever i keep in that dir :)
9:16 AM
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.
9:16 AM
yalaforge
well, as long as it works for you :-)
9:17 AM
warp
it usually does.
9:17 AM
yalaforge installs stuff in /usr/local, using stow to get rid of it later
9:17 AM
and when it doesn't, i blame whoever wrote that particular configure.in
9:18 AM
yalaforge
did you try stow? might solve your problems a bit easier
9:18 AM
warp
not yet, i probably should.
9:18 AM
can i have it anywhere other than in /usr/local?
9:19 AM
yalaforge
yup, I think so
9:19 AM
yalaforge usually does this:
9:19 AM
./configure --prefix=/usr/local/stow/libtunepimp-VERSION
9:19 AM
make install
9:20 AM
then go to /usr/local/stow, and type 'stow libtunepimp-VERSION'.
9:20 AM
with /usr/local/lib in /etc/ld.so.conf, I only have to run ldconfig, and it's usable
9:20 AM
according to the manpage, you can put your stow directory anywhere. see the '-t' switch
9:21 AM
zout joined the channel
9:21 AM
zout
hi
9:21 AM
yalaforge
hey
9:22 AM
zout
luks: Sesame Street is cool!
9:22 AM
luks_
:)
9:22 AM
zout
I was editing it too...
9:22 AM
warp
hm, i would probably abuse it and end up with something fairly similar to what i have now :/
9:22 AM
yalaforge
yeah, that's possible :-)
9:22 AM
luks_
9:23 AM
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.
9:24 AM
yalaforge
hmm, you can use stow for that, too. but that's not the idea behind it.
9:24 AM
warp
oh, hey.. i think it worked this time.
9:24 AM
luks has quit
9:24 AM
zout
luks: I'm working on it
9:24 AM
warp
yalaforge: i know, so there will not really be any added benefit for using stow
9:24 AM
yalaforge
at least you can get rid of installed packages easily. that advantage remains, at least
9:24 AM
warp
yalaforge: except a slightly smaller LD_LIBRARY_PATH and such.
9:25 AM
yalaforge: i can now get rid of installed packages with cd ~/opt; rm PACKAGENAME
9:25 AM
erm, 'rm -rf' ofcourse :)
9:25 AM
yalaforge
for me, it's cd /usr/local/stow && stow -D package-name
9:26 AM
warp
configure:21470: result: yes
9:26 AM
yay!
9:26 AM
yalaforge
nice!
9:26 AM
warp
that's with:
9:26 AM
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
9:27 AM
yalaforge
what about the LIBS?
9:27 AM
warp
i replaced it with CPPFLAGS