[Gambas-user] Can't get gb.media compiled

Laurent Carlier lordheavym at ...626...
Mon May 28 19:35:33 CEST 2012


Le lundi 28 mai 2012 18:58:43 Jesus a écrit :
> It's sure I'm missing something obvious, but I can't get to compile
> gb.media. Which development packages should I install?
> 
> This is the log trying to configure *just* gb.media:
> 
> jesus at ...57...:~/trunk/gb.media$ pkg-config --modversion gstreamer-0.10
> 0.10.30
> jesus at ...57...:~/trunk/gb.media$ pkg-config --cflags gstreamer-0.10
> -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/libxml2
> 
> 
> jesus at ...57...:~/trunk/gb.media$ svn update
> Se restituyó 'gambas.h'
> Se restituyó 'm4'
> Se restituyó 'AUTHORS'
> Se restituyó 'gb_common.h'
> Se restituyó 'ChangeLog'
> Se restituyó 'README'
> Se restituyó 'component.am'
> Se restituyó 'configure.ac'
> Se restituyó 'INSTALL'
> Se restituyó 'acinclude.m4'
> Se restituyó 'COPYING'
> Se restituyó 'Makefile.am'
> Se restituyó 'missing'
> Se restituyó 'NEWS'
> Se restituyó 'reconf'
> A    src
> A    src/c_mediaplayer.c
> A    src/c_media.c
> A    src/c_mediaplayer.h
> A    src/main.c
> A    src/c_media.h
> A    src/gb.media.component
> A    src/Makefile.am
> A    src/main.h
> Actualizado a la revisión 4788.
> 
> 
> jesus at ...57...:~/trunk/gb.media$ ./reconf
> autoreconf: Entering directory `.'
> autoreconf: configure.ac: not using Gettext
> autoreconf: running: aclocal -I m4 --install
> autoreconf: configure.ac: tracing
> autoreconf: running: libtoolize --copy
> autoreconf: running: /usr/bin/autoconf
> autoreconf: running: /usr/bin/autoheader
> autoreconf: running: automake --add-missing --copy --no-force
> autoreconf: Leaving directory `.'
> 
> 
> jesus at ...57...:~/trunk/gb.media$ ./configure -C
> configure: creating cache config.cache
> 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 build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking for style of include used by make... GNU
> 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 dependency style of gcc... gcc3
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking whether ln -s works... yes
> checking target system... LINUX
> checking target architecture... X86
> checking how to run the C preprocessor... gcc -E
> checking for g++... g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking dependency style of g++... gcc3
> 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 make sets $(MAKE)... (cached) yes
> checking for setenv... yes
> checking for unsetenv... yes
> checking for getdomainname... yes
> checking for getpt... yes
> checking for cfmakeraw... yes
> checking for main in -lgcc_s... yes
> checking for main in -lstdc++... yes
> checking which extension is used for shared libraries... .so
> checking for threading compiler options... -D_REENTRANT
> checking for threading linker options... -lpthread
> checking for mathematic libraries... -lm
> checking for external gettext library...
> checking for ccache... no
> checking CFLAGS for gcc -fvisibility=hidden... -fvisibility=hidden
> 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... /usr/bin/ld
> checking if the linker (/usr/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 the maximum length of command line arguments... 1572864
> checking whether the shell understands some XSI constructs... yes
> checking whether the shell understands "+="... yes
> checking for /usr/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 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 whether we are using the GNU C++ compiler... (cached) yes
> checking whether g++ accepts -g... (cached) yes
> checking dependency style of g++... (cached) gcc3
> checking how to run the C++ preprocessor... g++ -E
> 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 (/usr/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 for ld used by g++... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking whether the g++ linker (/usr/bin/ld) supports shared
> libraries... yes
> checking for g++ option to produce PIC... -fPIC -DPIC
> checking if g++ PIC flag -fPIC -DPIC works... yes
> checking if g++ static flag -static works... yes
> checking if g++ supports -c -o file.o... yes
> checking if g++ supports -c -o file.o... (cached) yes
> checking whether the g++ linker (/usr/bin/ld) supports shared
> libraries... yes
> checking dynamic linker characteristics... GNU/Linux ld.so
> checking how to hardcode library paths into programs... immediate
> checking for gb.media component with pkg-config... no
> configure: WARNING: gb.media is disabled
> configure: updating cache config.cache
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating src/Makefile
> config.status: creating config.h
> config.status: executing depfiles commands
> config.status: executing libtool commands
> 
> || gb.media is disabled
> 
> jesus at ...57...:~/trunk/gb.media$ uname -a
> Linux debian 2.6.32-5-686 #1 SMP Sat May 5 01:33:08 UTC 2012 i686 GNU/Linux
> jesus at ...57...:~/trunk/gb.media$
> 
> Thanks!

Try with pkg-config --libs gstreamer-0.10 gstreamer-interfaces-0.10
to find gstreamer lib what is missing

++
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20120528/9034f5c7/attachment.sig>


More information about the User mailing list