Friday, March 29, 2013

OpenMediaVault & XBMC

I recently stumbled upon OpenMediaVault (OMV), a Linux distribution specific for NASes based on debian squeeze. It's inspired by FreeNas as I gathered.


There is a fast-growing community around OMV that offers guides and how-tos. I tried to give the VM a shot and wanted to see how far XBMC has come. There is a detailed guide of ow to install XBMC on OMV here and here. Unfortunately I hit a roadblock because I was unable to install Oracle Java 7. The command 
sudo add-apt-repository ppa:webupd8team/java
Was not recognized. After some digging I found out how to add the correct repo for debian squeeze on the webupd8 blog here. Here are the relevant commands:
su -
echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" | tee -a /etc/apt/sources.list
echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" | tee -a /etc/apt/sources.list
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886
apt-get update
apt-get install oracle-java7-installer
exit
I was not able to get the keys added, so I had to install the package without verification, which worked fine too.

Update:
I had to update libtinyxml and libtinyxml-dev from the Debian wheezy repository to get xbmc to compile.
The two packages can be found here and here

Update 2:
I had to remove any and all taglib and depending packets and compiled and installed taglib manually from source.
Here's how:

wget https://github.com/downloads/taglib/tagl...1.8.tar.gz
tar xzf taglib-1.8.tar.gz
cd taglib-1.8
cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_RELEASE_TYPE=Release .
make
make install
Make would complain about some missing libraries. So I had to run make with additional options:
export CFLAGS="-ldl"
export CXXFLAGS="-ldl"
 Which stops xbmc from complaining about missing libraries.

3 comments:

Anonymous said...

Can you please make a step by step guide with your fixes.

Thanks

Unknown said...

If anyone has problems with update2, you have to install gcc et g++:
apt-get install gcc g++

By the way, thanks a lot for this tuto !

Unknown said...

for anyone having issues with taglib2, make sure you've installed gcc and g++:
sudo apt-get install gcc g++