Cannot compile gst-plugins-bad1.0, stating that mir_toolkit/mir_client_library.h is not found.

Asked by Ratchanan Srirattanamet

I'm trying to compile gst-plugins-bad1.0, but it's failed.

This is result from dpkg-buildpackage -uc -us: http://paste.ubuntu.com/10900307/
The error is at line 3197.

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu gst-plugins-bad1.0 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

lsb_release -a; uname -a

Thanks

Revision history for this message
Ratchanan Srirattanamet (peat-new) said :
#2

Actually, I build this inside Vivid chroot. The outer system is Utopic.

lsb_release -a from outside chroot:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.10
Release: 14.10
Codename: utopic

lsb_release -a from inside chroot:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 15.04
Release: 15.04
Codename: vivid

uname -a:
Linux labs-832fa1 3.17.0-119 #1 SMP Thu Nov 20 14:15:44 CET 2014 armv7l armv7l armv7l GNU/Linux

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

mir_toolkit/mir_client_library.h is contained in the package libmirclient-dev http://packages.ubuntu.com/search?suite=vivid&arch=any&searchon=contents&keywords=mir_client_library.h
Do you have that package installed?

Revision history for this message
Ratchanan Srirattanamet (peat-new) said :
#4

$ apt-cache policy libmirclient-dev
libmirclient-dev:
  Installed: 0.12.1+15.04.20150324-0ubuntu1
  Candidate: 0.12.1+15.04.20150324-0ubuntu1
  Version table:
 *** 0.12.1+15.04.20150324-0ubuntu1 0
        500 http://ports.ubuntu.com/ vivid/main armhf Packages
        100 /var/lib/dpkg/status

So, yes, the package is installed. I've already run 'apt-get build-dep gst-plugins-bad1.0', so all the dependencies should be installed.

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

This seems to be a known problem.

https://bugs.launchpad.net/ubuntu/+source/libsdl2/+bug/1306629/comments/9 suggests:

Workaround is to add: "-I/usr/include/mirclient -I/usr/include/mircommon" to your compiler options.

Revision history for this message
Ratchanan Srirattanamet (peat-new) said :
#6

That bug doesn't seem to related to this problem. That file isn't included by SDL header but by gstamc.h, which is in gst-plugins-bad1.0.

Also, I don't know where to add compiler flags to, because I build this as part of package building.

Revision history for this message
Launchpad Janitor (janitor) said :
#7

This question was expired because it remained in the 'Open' state without activity for the last 15 days.