You are not logged in.

#1 2009-06-02 22:32:56

ralphje
Member
Registered: 2009-06-02
Posts: 2

Installing MediaTomb

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

#2 2009-06-02 22:43:46

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Installing MediaTomb

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 wink.

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

#3 2009-06-02 23:05:37

ralphje
Member
Registered: 2009-06-02
Posts: 2

Re: Installing MediaTomb

Thank you for your quick reply. I've used the package at AUR right after posting here. It seems to work fine.

http://aur.archlinux.org/packages.php?ID=10199

Offline

#4 2009-06-02 23:27:42

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Installing MediaTomb

It has the glibc patch that seems needed to build it smile.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

Board footer

Powered by FluxBB