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>; 
<scratchbox-devel at scratchbox.org>
Sent: Friday, October 16, 2009 4:32 PM
Subject: Re: New to gstreamer


On Fri, Oct 16, 2009 at 11:17 AM, Tejas Bhanabhagavanwala
<tejas at oriolesoftware.com> wrote:
> Hi Felipe,
> This is really nice to have good guidance from your side. I will
> explain you about my system side.
>
> I have Fedora 11 installed on my system. GCC version is 4.4.1. To install
> sbox2 i am following commands as followed.
>
>
> I have downloaded sbox2-2.0 and qemu-0.11.0.tar.gz.
>
> Both are resident in the following directory
>
> /tmp/sbox2/sbox2-2.0
>
> from here i have given following commands
> ./autogen.sh
> make install prefix=/opt/sb2/
>
> But my make fail and i have applied following patch and get success for
> installing sbox2-2.0

<snip/>

Right, there's a compilation problem on Fedora 11. That patch looks
good, but just to be sure I would use these:
http://lists.scratchbox.org/pipermail/scratchbox-devel/2009-September/000464.html

> After that i have installed qemu by giving following commands.
>
> ./configure --prefix=/opt/qemu/ --target-list=arm-linux-user
> make install
>
> i have added sb3 bin path to my PATH variable.
>
> My cross tool chain is installed at following path which is from
> Codesourcery( Sourcery G++ Lite version) and
> is installed at /opt/arm-2008q3/.
>
> These are my system set up.
>
> Now when i give following command to set up qemu for my cross tool chain 
> it
> gives following error.
>
> [root at Fedora libc]# sb2-init -c /opt/qemu/bin/qemu-arm armv7
> /opt/arm-2008q3/bin/arm-none-linux-gnueabi-gcc
> Info: Mapping mode not specified, using default (simple)
> Using /opt/arm-2008q3/bin/arm-none-linux-gnueabi-gcc to detect target
> architecture:
> Finished writing sb2.gcc.config
> gcc configured.
> sb2-init: Target architecture is 'arm'
> sb2-init: Host architecture is 'i[3456]86'
> Finished writing sb2.config
> sb2-init: configuring libtool for this target:
> /opt/qemu/bin/qemu-arm: error while loading shared libraries: cannot 
> restore
> segment prot after reloc: Permission denied
> /opt/qemu/bin/qemu-arm: error while loading shared libraries: cannot 
> restore
> segment prot after reloc: Permission denied
> /opt/qemu/bin/qemu-arm: error while loading shared libraries: cannot 
> restore
> segment prot after reloc: Permission denied

Hmm, I haven't seen that before but it seems to be a problem with
SELinux. Have you tried disabling it?

But again, all these problems are in scratchbox, not GStreamer, so I'm
moving the discussion there.

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