You are not logged in.
Pages: 1
When installing MediaTomb 0.11.0 from the website, I get an error. After applying the changes according to the makefile found at ttp://bbs.archlinux.org/viewtopic.php?id=47059, the next error appears:
# make
(etc)
make[2]: Entering directory `/home/ralphje/Documents/mediatomb-0.11.0/build'
g++ -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc -I../src -I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I.. -I/usr/include/js -I/usr/include/taglib -pthread -g -O2 -MT libmediatomb_a-tools.o -MD -MP -MF .deps/libmediatomb_a-tools.Tpo -c -o libmediatomb_a-tools.o `test -f '../src/tools.cc' || echo './'`../src/tools.cc
../src/tools.cc: In function 'zmm::String hex_decode_string(zmm::String)':
../src/tools.cc:306: error: invalid conversion from 'const char*' to 'char*'
../src/tools.cc:307: error: invalid conversion from 'const char*' to 'char*'
../src/tools.cc: In function 'zmm::String url_unescape(zmm::String)':
../src/tools.cc:402: error: invalid conversion from 'const char*' to 'char*'
../src/tools.cc:408: error: invalid conversion from 'const char*' to 'char*'
make[2]: *** [libmediatomb_a-tools.o] Error 1
make[2]: Leaving directory `/home/ralphje/Documents/mediatomb-0.11.0/build'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ralphje/Documents/mediatomb-0.11.0'
Trying to fix this, I checked out the latest version from CVS (svn co https://svn.mediatomb.cc/svnroot/mediat … /mediatomb mediatomb). This version, however, comes with several other errors. I guess this is a problem with GCC 4.4, however I'm not sure.
Hopefully someone can help me with this.
Last edited by ralphje (2009-06-02 22:38:34)
Offline
If you want can pull my binary from here.
It's compressed with xz, so you'll need lzma-utils to unpack it, gzip it and install it with pacman. I know it's a lousy fix for your problem but at least it helps you in the short run .
Googling the char error leads me to this:
http://bugs.gentoo.org/show_bug.cgi?id=270715
I suggest you try building 2019 (it's been a while since mediatomb has been updated, and the bug reports hints at it being fixed in that revision).
Edit: just tried myself, it breaks with the same error as yours. My package is SVN 2018, fyi.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Thank you for your quick reply. I've used the package at AUR right after posting here. It seems to work fine.
Offline
It has the glibc patch that seems needed to build it .
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Pages: 1