While putting together some images based on the L3.0.35_4.0.0 BSP:
I ran into a snag when trying to build without Cairo for an image without X-Windows but with gstreamer, I got
this opaque error message from the build of package gst-plugins-good:
checking whether the C compiler works... no
configure: error: in `/home/ericn/ltib4-nox/rpm/BUILD/gst-plugins-good-0.10.30':
configure: error: C compiler cannot create executables
See `config.log' for more details
error: Bad exit status from /home/ericn/ltib4-nox/tmp/rpm-tmp.92211 (%build)
RPM build errors:
Bad exit status from /home/ericn/ltib4-nox/tmp/rpm-tmp.92211 (%build)
Build time for gst-plugins-good: 2 seconds
Failed building gst-plugins-good
It took a while to figure out that the problem stems from a bug in the spec file (dist/lfs-5.1/gst-plugins-good/gst-plugins-good.spec).
A line in that file requests the inclusion of the libcairo library, even though Cairo support is explicitly disabled.
In order to get compilation to succeed, I needed to delete this line:
I hope this helps someone else who's trying to get a minimal build.