2010-09-15, 12:09
XBMC won't start with the message: "Unable to find path to XBMC data files!". There is no logfile (.xbmc ditectory is not being created)
I am compiling XBMC from sources (Dharma branch) using the following script:
XBMC is installed with prefix /usr/local. After "make install" directory structure (1 level) is:
strace shows the following:
The last line causes the error, I think, as language directory is under /usr/local/share. I worked this around by creating links for this and several other several directories between /usr/local/lib and /usr/local/share and XBMC works fine, but this is just a workaround.
Looks like I'm doing something wrong, but I cannot figure this one out. This is on Gentoo, BTW.
Help. :-)
I am compiling XBMC from sources (Dharma branch) using the following script:
Code:
export PATH="/usr/lib/ccache/bin:$PATH"
export CCACHE_DIR=/var/tmp/ccache
make clean
svn up
./bootstrap
./configure
make -j5 && \
make -j5 -C lib/addons/script.module.pil && \
make -j5 -C lib/addons/script.module.pysqlite && \
make install
XBMC is installed with prefix /usr/local. After "make install" directory structure (1 level) is:
Code:
mbox:~> find /usr/local/share/xbmc /usr/local/lib/ -maxdepth 1
/usr/local/share/xbmc
/usr/local/share/xbmc/FEH.py
/usr/local/share/xbmc/addons
/usr/local/share/xbmc/language
/usr/local/share/xbmc/media
/usr/local/share/xbmc/sounds
/usr/local/share/xbmc/userdata
/usr/local/share/xbmc/system
/usr/local/lib/
/usr/local/lib/win32
/usr/local/lib/.keep
/usr/local/lib/xbmc
strace shows the following:
Code:
mbox@mbox ~ $ strace -f xbmc 2>&1 | grep -E "xbmc.*No such file or directory"
[...]
[pid 19163] stat("/usr/local/share/xbmc/pygame", 0x7fff58ae27d0) = -1 ENOENT (No such file or directory)
[pid 19163] open("/usr/local/share/xbmc/pygame.so", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 19163] open("/usr/local/share/xbmc/pygamemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 19163] open("/usr/local/share/xbmc/pygame.py", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 19163] open("/usr/local/share/xbmc/pygame.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 19170] stat("/usr/local/lib64/xbmc/language", 0x7fff9f7e0bc0) = -1 ENOENT (No such file or directory)
The last line causes the error, I think, as language directory is under /usr/local/share. I worked this around by creating links for this and several other several directories between /usr/local/lib and /usr/local/share and XBMC works fine, but this is just a workaround.
Looks like I'm doing something wrong, but I cannot figure this one out. This is on Gentoo, BTW.
Help. :-)