in the process I lost a lot of respect for spidermonkey. WTF ? APIs don't change you muppets. if an API is not backward compatible you give it a totally new number that doesn't resemble the old one.
on the python side I made a little bit of progress but I'm afraid my sober hours were taken up by the libmoz185 upgrade.
more shall come tomorrow…
if yo'd like to see progress please checkout my git repo.
a kind soul pointed out that the HEAD on my github repo doesn't build cleanly, and indeed it doesn't. error has now been rectivated.
Will the use of JS_EncodeString cause leaks ? The docs suggest the return value must be freed with JS_free.
I agree with thaughbaer, the result of JS_EncodeString needs to be JS_free'd.
Has anyone using this version been able to use playlists on a PS3? Reading this thread looked promising, but I wasn't sure if it's really js support not being enabled in the repository version of mediatomb that is keeping playlists from working.
Well, I tried to compile from what's on github. I'm running Ubuntu 11.11
I get the following errors when running make:
g++ -I../src -I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I.. -I/usr/include/mysql -DBIG_JOINS=1 -fno-strict-aliasing -DUNIV_LINUX -DUNIV_LINUX -I/usr/include/taglib -pthread -g -O2 -I/usr/include/python2.7 -I/usr/include/python2.7 -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -lrt -L/usr/lib/python2.7/config -lpthread -ldl -lutil -lm -lpython2.7 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -lmagic -o mediatomb mediatomb-main.o libmediatomb.a ../tombupnp/build/libtombupnp.a -Wl,-Bsymbolic-functions -rdynamic -L/usr/lib/mysql -lmysqlclient_r -L/usr/lib -ltag -lmagic -lz -lrt -pthread -lexpat
libmediatomb.a(libmediatomb_a-script.o): In function `mediatomb_log':
/home/tarod/MT_Python/crankcube-mediatomb-5993325/build/../src/scripting/script.cc:1195: undefined reference to `PyTuple_Size'
/home/tarod/MT_Python/crankcube-mediatomb-5993325/build/../src/scripting/script.cc:1207: undefined reference to `PyString_AsString'
/home/tarod/MT_Python/crankcube-mediatomb-5993325/build/../src/scripting/script.cc:1203: undefined reference to `PyTuple_GetItem'
/home/tarod/MT_Python/crankcube-mediatomb-5993325/build/../src/scripting/script.cc:1223: undefined reference to `_Py_NoneStruct'
/home/tarod/MT_Python/crankcube-mediatomb-5993325/build/../src/scripting/script.cc:1221: undefined reference to `_Py_NoneStruct'
The errors keep going, but they're all related to undefined reference to Py_(something). I'm probably missing some library I need to install, but I'm not sure which library.
Thanks for any help.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.