Hello jimmychan,
I am using iMX6 Sololite board and I have been trying to build gstreamer plugin. I am getting similar error as given above when I am trying to enable gst-fsl-plugin. I went to gst-plugins-good spec file but there was no cairo in my gst-plugins-good spec file. In my spec file it has following things:
%Build
./configure --prefix=%{_prefix} --host=$CFGHOST \
--build=%{_build} --without-check \
--disable-speex \
--disable-shout2test --disable-shout2 \
--disable-dv1394 --disable-libpng \
--disable-libdv --disable-libcaca \
--disable-ladspa --disable-jpeg \
--disable-flac \
--disable-esd --disable-esdtest \
--disable-cairo --disable-aalib \
--disable-aalibtest --disable-x \
--disable-xvideo --disable-hal NM=nm
Here is my error. Please I need your help. It is very urgent.
Processing: libfslcodec
=========================
Processing: libfslparser
==========================
Processing: gst-fsl-plugins
=============================
Build path taken because: directory build, no prebuilt rpm,
scbuild/scdeploy already unpacked package
Processing: gst-fsl-plugins
=============================
Build path taken because: directory build, build key set, no prebuilt rpm,
rpmbuild --dbpath /home/pshah9/Documents/imx6install/ltib/rootfs//var/lib/rpm --target arm --define '_unpackaged_files_terminate_build 0' --define '_target_cpu arm' --define '__strip strip' --define '_topdir /home/pshah9/Documents/imx6install/ltib/rpm' --define '_prefix /usr' --define '_tmppath /home/pshah9/Documents/imx6install/ltib/tmp' --define '_rpmdir /home/pshah9/Documents/imx6install/ltib/rpm/RPMS' --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bc --short-circuit /home/pshah9/Documents/imx6install/ltib/dist/lfs-5.1/fsl-mm/gst-fsl-plugins.spec
Building target platforms: arm
Building for target arm
Executing(%build): /bin/sh -e /home/pshah9/Documents/imx6install/ltib/tmp/rpm-tmp.82439
+ umask 022
+ cd /home/pshah9/Documents/imx6install/ltib/rpm/BUILD
+ cd gst-fsl-plugins-3.0.3
+ which pkg-config
+ export PKG_CONFIG=/opt/freescale/ltib/usr/bin/pkg-config --static
+ echo imx6s
+ sed s,imx\([0-9]*\).*,MX\1,g
+ PLATFORMSHORTNAME=MX6
+ [ xMX6 = xMX27 ]
+ export FBHEADER_PATH=/home/pshah9/Documents/imx6install/ltib/rootfs/usr/src/linux/include/
+ echo imx6s
+ sed s,imx\([0-9]*\).*,MX\1,g
+ ./autogen.sh PLATFORM=MX6
+ aclocal
+ libtoolize --force
libtoolize: putting auxiliary files in `.'.
libtoolize: linking file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: linking file `m4/libtool.m4'
libtoolize: linking file `m4/ltoptions.m4'
libtoolize: linking file `m4/ltsugar.m4'
libtoolize: linking file `m4/ltversion.m4'
libtoolize: linking file `m4/lt~obsolete.m4'
+ automake -a
Makefile.am:947: `%'-style pattern rules are a GNU make extension
+ autoconf
+ conf_flags=--enable-maintainer-mode
+ test x = x
+ echo Running ./configure --enable-maintainer-mode PLATFORM=MX6 ...
Running ./configure --enable-maintainer-mode PLATFORM=MX6 ...
+ ./configure --enable-maintainer-mode PLATFORM=MX6
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... ld
checking if the linker (ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for pkg-config... yes
configure: build for MX6
checking pkg-config is at least version 0.9.0... yes
checking for GST... no
configure: error: you need gstreamer development packages installed !
+ exit 1
error: Bad exit status from /home/pshah9/Documents/imx6install/ltib/tmp/rpm-tmp.82439 (%build)
RPM build errors:
Bad exit status from /home/pshah9/Documents/imx6install/ltib/tmp/rpm-tmp.82439 (%build)
Build time for gst-fsl-plugins: 14 seconds
Failed building gst-fsl-plugins
f_buildrpms() returned an error, exiting
traceback:
main:572
Started: Tue Jun 11 15:24:10 2013
Ended: Tue Jun 11 15:41:34 2013
Elapsed: 1044 seconds
These packages failed to build:
gst-fsl-plugins
Build Failed
Exiting on error or interrupt