Problem when building osmc from sources

I have problems when building mediacenter-osmc packages for seems that libmariadbclient-dev-compat is not found but when using apt-get it tells me that the library is already installed.

Package libmicrohttpd-dev is already installed in the environment
Package libmodplug-dev is already installed in the environment
Package libmariadbclient-dev-compat is not found on the system, checking APT
Can’t find the package in APT repo. It needs to be built first or you need to wait for upstream to add it

sudo apt-get install libmariadbclient-dev-compat
Reading package lists… Done
Building dependency tree
Reading state information… Done
libmariadbclient-dev-compat is already the newest version
0 upgraded, 0 newly installed, 0 to remove and 77 not upgraded.

any help please?

Are you building under OSMC?


im using ubuntu 14 to build.

By the way I want to build the image for rasberry pi from sources,from the doc you said that we need to compile mediacenter-osmc packages but after that i want to generate an image file for rpb2 where i can find it?

I’m familiar with buildroot but i think building osmc is not the some way??
Can you please explain me how the building process work??


You can build images from a filesystem.

What are you trying to customise?

i customized nothing.First step i want just generate a clean image for raspberry 2 from sources then i will add custom things

You will need to set up a local APT repository if you want to rebuild everything from source. You probably don’t need to change any packages and just want to make filesystem changes.

So if i want to generate an rp2 image i just need to run make under osmc-rbp2-filesystem/ ??

Then build the target installer, yes