PDA

View Full Version : Compiling on Mandriva



wildbill12
August 19th, 2008, 03:23 PM
I realize you can't support every distro in an alpha version but I was hoping someone could give me some help trying to compile Boxee on Mandriva 2008.1.

I was able to get all the dependencies figured out and I fixed an mms error I got during compilation but am currently stuck at this error when compiling, a problem with python.


xbmc/lib/libPython/xbmcmodule/pyutil.o: In function `PyGetUnicodeString':
/XBMC/xbmc/lib/libPython/xbmcmodule/pyutil.cpp:28: undefined reference to `PyUnicodeUCS2_AsUnicode'
collect2: ld returned 1 exit status

It looks like the issue is that the default python in Mandriva is not compiled to support unicode, I was ready to recompile python with unicode support but came across this post on a ArchLinux board about compiling xbmc, http://bbs.archlinux.org/viewtopic.php?id=34658.

Apparently compiling python with unicode support let it xbmc compile but it crashed when running. Zeqad1ous said he had to compile a temporary python to compile xbmc against.

I'm guessing that's what I'll need to do but I was wondering if I could get some help on how exactly to do that. It looks like there are some ArchLinux people on this board that have been successful compiling Boxee, any advice?

bizthepirate
August 19th, 2008, 06:00 PM
Yeah, compiling a temporary did work for the most part. But, when using it, at the VERY end of compiling (libRTMP) it seemed to fail there. But however, when I just ran a basic make on the ALMOST compiled sources (No Temporary Python) it compiled fine, leading me to be some bug with the build enviroment that you have to set up. If you do use the Python 2.4.5, with unicode support, and the fixes I have mentioned, you should get it to compile fine :)... But I have to tinker a bit with my install to get it to run, apparently Boxee is trying to load configs from my root user, and not my normal user :o