Error compiling gst-plugins-good

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error compiling gst-plugins-good

2,630 Views
javiervalcarce
Contributor I

Hi all.

I'm trying to compile gst-plugins-good package but i get the following error.

cairo_overlay.c:27:19: fatal error: cairo.h: No such file or directory

Can anyone help me?

I have read gst-fsl-plugins build failed

I have tried to comment "export lines" at *.spec file but the result is the same.

...

...

make -C v4l2

make -C cairo

make[4]: Entering directory `/home/javier/ltib/rpm/BUILD/gst-plugins-good-0.10.30/tests/examples/rtp'

make[4]: Entering directory `/home/javier/ltib/rpm/BUILD/gst-plugins-good-0.10.30/tests/examples/cairo'

  CC     cairo_overlay-cairo_overlay.o

make[4]: Nothing to be done for `all'.

make[4]: Leaving directory `/home/javier/ltib/rpm/BUILD/gst-plugins-good-0.10.30/tests/examples/rtp'

make[4]: Entering directory `/home/javier/ltib/rpm/BUILD/gst-plugins-good-0.10.30/tests/examples/shapewipe'

make[4]: Nothing to be done for `all'.

make[4]: Leaving directory `/home/javier/ltib/rpm/BUILD/gst-plugins-good-0.10.30/tests/examples/shapewipe'

make[4]: Entering directory `/home/javier/ltib/rpm/BUILD/gst-plugins-good-0.10.30/tests/examples/equalizer'

make[4]: Nothing to be done for `all'.

make[4]: Leaving directory `/home/javier/ltib/rpm/BUILD/gst-plugins-good-0.10.30/tests/examples/equalizer'

make[4]: Entering directory `/home/javier/ltib/rpm/BUILD/gst-plugins-good-0.10.30/tests/examples/v4l2'

make[4]: Nothing to be done for `all'.

make[4]: Leaving directory `/home/javier/ltib/rpm/BUILD/gst-plugins-good-0.10.30/tests/examples/v4l2'

make[4]: Entering directory `/home/javier/ltib/rpm/BUILD/gst-plugins-good-0.10.30/tests/examples/spectrum'

make[4]: Nothing to be done for `all'.

make[4]: Leaving directory `/home/javier/ltib/rpm/BUILD/gst-plugins-good-0.10.30/tests/examples/spectrum'

cairo_overlay.c:27:19: fatal error: cairo.h: No such file or directory

compilation terminated.

make[4]: *** [cairo_overlay-cairo_overlay.o] Error 1

make[4]: Leaving directory `/home/javier/ltib/rpm/BUILD/gst-plugins-good-0.10.30/tests/examples/cairo'

make[3]: *** [cairo] Error 2

make[3]: Leaving directory `/home/javier/ltib/rpm/BUILD/gst-plugins-good-0.10.30/tests/examples'

make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory `/home/javier/ltib/rpm/BUILD/gst-plugins-good-0.10.30/tests'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/home/javier/ltib/rpm/BUILD/gst-plugins-good-0.10.30'

make: *** [all] Error 2

error: Bad exit status from /home/javier/ltib/tmp/rpm-tmp.47999 (%build)

RPM build errors:

    Bad exit status from /home/javier/ltib/tmp/rpm-tmp.47999 (%build)

Build time for gst-plugins-good: 19 seconds

Failed building gst-plugins-good

f_buildrpms() returned an error, exiting

traceback:

main:572

Started: Tue Sep  3 17:00:13 2013

Ended:   Tue Sep  3 17:00:35 2013

Elapsed: 22 seconds

These packages failed to build:

gst-plugins-good

Build Failed

Exiting on error or interrupt

0 Kudos
Reply
7 Replies

1,648 Views
LeonardoSandova
Specialist I

Hi Javier,

this is a known issue. Please remove the related rpm/BUILD folder and try again.

Leo

0 Kudos
Reply

1,648 Views
javiervalcarce
Contributor I

Hi Leonardo.

Thanks for your quick answer. I have removed rpm/BUILD/gst-plugins-good-0.10.30 but nothing changes. Is there any workaround?

0 Kudos
Reply

1,648 Views
YixingKong
Senior Contributor IV

Javier

This discussion is closed since no activity. If you still need help, please feel free to reply with an update to this discussion, or create another discussion.

Thanks,

Yixing

0 Kudos
Reply

1,648 Views
YixingKong
Senior Contributor IV

Javier

Had your issue got resolved? If yes, we are going to close the discussion in 3 days. If you still need help, please feel

free to reply with an update to this discussion.

Thanks,
Yixing

0 Kudos
Reply

1,648 Views
LeonardoSandova
Specialist I

Pretty strange. IF you commented/removed the cairo lines on the .spec, then I have no idea what is going on. Can you try installing LTIB again? This time select GNOME profile a do not do any spec changes. I think you wont have problems with this profile because cairo package is already selected.

Leo

0 Kudos
Reply

1,648 Views
muthuswamydiksh
Contributor II

Hi Leonardo,

I am running into exactly the same problem.

I am using BSP 4.0.0 for SabreAuto with Ubuntu 12.04.

Here are the steps i followed:

1. https://community.freescale.com/docs/DOC-93455

2. commented the three lines:

          #export CAIRO_CFLAGS=-I/home/ashish/Desktop/dev_imx6/ltib/rootfs/usr/include/cairo

          #export CAIRO_LIBS=-L/home/ashish/Desktop/dev_imx6/ltib/rootfs/usr/lib/cairo

          #export LIBS=-lcairo

3. Removed rpm/BUILD and built again.

4. Tried a new LTIB installation. I mean I ran the ./install and made a new ltib.

It did not help.

Can you please help ?

Do you have any pointers ?

0 Kudos
Reply

1,648 Views
LeonardoSandova
Specialist I

Do not execute step 4, otherwise you will remove your spec changes (step 2).

0 Kudos
Reply