New to gstreamer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi Felipe,
               I am able to install glib-2.16.6 successfully at my $prefix
path. I am following followed link to build and install gstreamer for
embedded target.
http://gstreamer.freedesktop.org/wiki/HowToCompileForEmbedded.

For gstreamer i am giving following command .

[root at Fedora gstreamer]# sb2
./configure --prefix=/opt/gstreamer_beagle/ --disable-nls --disable-static --enable-binary-registry
 --disable-loadsave --with-html-dir=/tmp/dump

            But i am getting following error while configuring
gstreamer-0.10.25. config.log is as followed.

[root at Fedora gstreamer-0.10.25]# sb2
./configure --prefix=/opt/gstreamer_beagle/ --disable-nls --disable-static --enable-binary-registry
 --disable-loadsave --with-html-dir=/tmp/dump
configure: WARNING: unrecognized options: --enable-binary-registry
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... gawk
checking whether make sets $(MAKE)... yes
checking nano version... 0 (release)
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... arm-unknown-linux-gnueabi
checking host system type... arm-unknown-linux-gnueabi
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 dependency style of gcc... gcc3
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... /opt/arm-2008q3/arm-none-linux-gnueabi/bin/ld
checking if the linker (/opt/arm-2008q3/arm-none-linux-gnueabi/bin/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... 1966080
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /opt/arm-2008q3/arm-none-linux-gnueabi/bin/ld option to reload
object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
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
(/opt/arm-2008q3/arm-none-linux-gnueabi/bin/ld) 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 for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
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... no
checking whether NLS is requested... no
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /opt/arm-2008q3/arm-none-linux-gnueabi/bin/ld
checking if the linker (/opt/arm-2008q3/arm-none-linux-gnueabi/bin/ld) is
GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking whether to use NLS... no
configure: disabled subsystem pipeline XML load/save
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for VALGRIND... no
no
configure: Using GStreamer source release as package name
configure: Using Unknown package origin as package origin
configure: WARNING: Sissy ! By asking to not build the tests known to fail,
you hereby waive your right to customer support.  If you do not agree with
this EULA, please press Ctrl-C before the next line is printed.  By allowing
the next line to be printed, you expressly acknowledge your acceptance of
this EULA.
checking whether byte ordering is bigendian... no
checking if unaligned memory access works correctly... (blacklisted) no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking dependency style of gcc... gcc3
checking for perl... /usr/bin/perl
checking for bison... /usr/bin/bison
checking bison version 2.4.1 >= 1.875... yes
checking for flex... /usr/bin/flex
checking flex version 2.5.35 >= 2.5.31... yes
checking for valgrind... no
checking for gobject-introspection... no
checking whether to build gtk-doc documentation... no
checking for gtkdoc-check... no
configure: Looking for Python version >= 2.1
checking for python... /usr/bin/python
checking for python2.2... no
checking for python2.1... no
checking for python2.0... no
checking for python2... /usr/bin/python2
checking for python1.6... no
checking for python1.5... no
configure: WARNING: No suitable version of python found
checking whether to build plugin documentation... no (gtk-doc disabled or
not available)
checking for cos in -lm... yes
checking for ANSI C header files... (cached) yes
checking ucontext.h usability... yes
checking ucontext.h presence... yes
checking for ucontext.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for unistd.h... (cached) yes
checking process.h usability... no
checking process.h presence... no
checking for process.h... no
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking stdio_ext.h usability... yes
checking stdio_ext.h presence... yes
checking for stdio_ext.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking valgrind/valgrind.h usability... no
checking valgrind/valgrind.h presence... no
checking for valgrind/valgrind.h... no
checking winsock2.h usability... no
checking winsock2.h presence... no
checking for winsock2.h... no
checking for __gmpz_init_set_d in -lgmp... no
checking for gsl_rng_uniform_int in -lgsl... no
checking for __uint128_t... no
checking to see if compiler understands -fno-common... yes
checking for sigaction... yes
checking for fork... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for ftello... yes
checking for fgetpos... yes
checking for fsetpos... yes
checking for poll... yes
checking for ppoll... yes
checking for pselect... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for clock_gettime... no
checking for clock_gettime in -lrt... yes
checking for posix timers... yes
checking for monotonic clock... yes
checking whether gcc implements __PRETTY_FUNCTION__... yes
checking whether gcc implements __FUNCTION__... yes
checking whether gcc implements __func__... yes
checking for register_printf_specifier... no
checking for register_printf_function... yes
checking for dladdr in -ldl... yes
checking for socket... yes
checking for gethostbyname... yes
checking for inet_aton... yes
checking for GLIB... no
no
configure: No package 'glib-2.0' found
No package 'gobject-2.0' found
No package 'gthread-2.0' found
No package 'gmodule-no-export-2.0' found
configure: error: This package requires GLib >= 2.16 to compile.

        Please help me to resolve this issue.


Thanks In Advance,
Tejas.

----- Original Message ----- 
From: "Felipe Contreras" <felipe.contreras at gmail.com>
To: "Tejas Bhanabhagavanwala" <tejas at oriolesoftware.com>
Cc: "Nigel Hsiung" <nigelcz at hotmail.com>; "gst mailing list" 
<gstreamer-embedded at lists.sourceforge.net>
Sent: Thursday, October 15, 2009 1:06 AM
Subject: Re: New to gstreamer


On Wed, Oct 14, 2009 at 2:35 PM, Tejas Bhanabhagavanwala
<tejas at oriolesoftware.com> wrote:
> Hi Felipe,
> I have tried with scratchbox 1. SB1 has been installed
> successfully. But when i tried to configure glib2.16.2 with following
> command.
>
> [sbox-armv7: ~] > ./configure --prefix="$prefix" --disable-static
> --with-html-dir=/tmp/dump --host=arm-none-linux-gnueabi

Why did you add the '--host' option? It's nowhere on any instructions.

Read this carefully: scratchbox was created to forget about
cross-compilation; you don't need to specify the host, target, or
anything.

> it gives following error.Please find log of configure command as
> followed.

Of course it's failing because it thinks it's cross-compiling, so it's
not using scratchbox.

> checking whether we are cross compiling... yes

This question has nothing to do with GStreamer, you should ask it in
the scratchbox mailing list.

Cheers.

-- 
Felipe Contreras






[Index of Archives]     [Linux Embedded]     [Linux ARM Kernel]     [Linux for ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux Media]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux