Closed GoogleCodeExporter closed 9 years ago
Follow-Up: I have libmusicbrainz5 installed. It's present in ldconfig output.
If I compile without libmusicbrainz5, it crashes later with TagLib in the same
way (on linking).
Original comment by zhega...@enaza.ru
on 13 Mar 2015 at 2:00
Sorry, but I'm not sure what you expect me to do. It compiles fine under Linux
with GCC 4.9.1, compiles under Windows7/8, Mac OSX
This looks like an issue with the libraries on your system - I've never used
FreeBSD, so can't help. I'm 99.9999% this is an issue with your system, not
Cantata.
The fact that you then also get issues with TagLib, makes it even more likely
an issue with your lib setup.
Original comment by craig.p....@gmail.com
on 13 Mar 2015 at 5:18
Yeah, sorry for reporting this again. This happen when I try to compile cantata
with GCC and dependent librariees are compiled with clang. I just forgot that
(again).
In fact, cantata can be compiled with clang, and it does compile fine, if prior
to compiling the following script is executed:
#!/bin/sh
for i in `fgrep -R * | awk -F: '{print $1}' | egrep \.h\$`
do
echo $i
cat $i | sed -e 's/mpd\///g' > ${i}_
mv ${i}_ $i
done
This also leaves a couple of places where changes are needed to be made by
hand, like adding #include "song.h" or removing "mpd/" prefix in some *.cpp.
For some reason when compiling with clang the system include "mpd/song.h" from
mpd itself is seen first, prior to the cantata "mpd/song.h".
Plus, a "-I<cantatasrcdir>/mpd" flag should be added in flags.make files when
compiling apropriate parts.
I'm thinking of making a FreeBSD port of cantata, and I'm writing this mostly
for someone who will step on this in case I won't find the time (unfortunately,
google code is almost r.i.p., and I'm not sure issues will be able to migrate).
Original comment by zhega...@enaza.ru
on 14 Mar 2015 at 7:47
Something ate '/mpd' in fgrep by the way.
Original comment by zhega...@enaza.ru
on 14 Mar 2015 at 10:07
Would it help if I renamed the mpd folder? e.g. to mpd-interface ?
Original comment by craig.p....@gmail.com
on 14 Mar 2015 at 6:07
Yea, I think it would help a lot, thank you.
Original comment by zhega...@enaza.ru
on 15 Mar 2015 at 12:51
I've made the change to trunk - this will be in 1.6.0, but *not* the upcoming
1.5.2
Original comment by craig.p....@gmail.com
on 16 Mar 2015 at 7:20
Thanks a lot. And thanks again for keeping this great thing up and reacting
that quickly.
Original comment by zhega...@enaza.ru
on 17 Mar 2015 at 3:48
Original issue reported on code.google.com by
zhega...@enaza.ru
on 13 Mar 2015 at 1:59