Bug #155
closed
Added by Hammel almost 12 years ago.
Updated almost 12 years ago.
Description
XBMC fails to start initially because of this missing symlink:
/opt/xbmc-bcm/xbmc-bin/lib/xbmc/language -> /opt/xbmc-bcm/xbmc-bin/share/xbmc/language
Without this link you get this message:
Unable to find path to XBMC data files
Once that symlink is created xbmc will try to start, but still fails. This time its because it can't find its guishader files. The output log includes lines like this:
CYUVShaderGLSL::CYUVShaderGLSL - failed to open file guishader_frag_default.glsl
But this file exists:
- pwd
/opt/xbmc-bcm/xbmc-bin
- find . -name guishader_frag_default.glsl
./share/xbmc/system/shaders/guishader_frag_default.glsl
So something is amiss with path resolution. This discussion suggests I may have to change the --prefix option to configure when building to match the path the package is installed in.
- % Done changed from 0 to 20
If I make a symlink like so:
ln -s /opt/xbmc-bcm/xbmc-bin/share/xbmc/system/shaders/ /opt/xbmc-bcm/xbmc-bin/lib/xbmc/system/
and retry I get further, but still doesn't work:
00:58:11 T:1087537152 ERROR: Texture manager unable to load file: special://xbmc/media/Splash.png
00:58:11 T:1087537152 ERROR: Error loading keymaps from: special://xbmc/system/keymaps/ or special://masterprofile/keymaps/ or special://profile/keymaps/
It looks like all the stuff under /opt/xbmc-bcm/xbmc-bin/share/xbmc needs to be under /opt/xbmc-bcm/xbmc-bin/lib/xbmc. I can manually copy them and see what happens.
- % Done changed from 20 to 50
Yup. That's the problem. I copied it all over and tried again - viola! XBMC is running on my pibox!
- Severity changed from Critical to 01 - Critical
- % Done changed from 50 to 80
I think this is actually just a bug with the way XBMC_HOME is set in the XBMCBox's xbmc.sh script. It should be set to this:
XBMC_HOME=/opt/xbmc-bcm/xbmc-bin/share/xbmc
- Status changed from In Progress to Closed
- % Done changed from 80 to 100
Modified XBMC_HOME to fix path issues. Added --no-test to startup script call of xbmc startup script
to disable glx and xdpy tests.
Also available in: Atom
PDF