Olá.
Estou tendo problemas para instalar o ginga-ncl c++ num sistema Kubuntu 9.04 Jaunty.
Após quebrar a cabeça em quase todos os pacotes até então, não consigo compilar o pacote gingacc-player
./autogen.sh
I am testing that you have the required versions of libtool, autoconf,
and automake.
checking for libtool >= 1.3.4 ... yes (version 1.5.26)
checking for autoconf >= 2.13 ... yes (version 2.63)
checking for automake >= 1.4 ... yes (version 1.10.2)
I am going to run ./configure with no arguments - if you wish
to pass any to it, please specify them on the ./autogen.sh command line.
Running aclocal ...
Running libtoolize ...
Running autoconf ...
Running autoheader...
Running automake ...
Running configure ...
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 for g++... g++
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 g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
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 ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... 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 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
configure: creating libtool
appending configuration tag "CXX" to libtool
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
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking util/functions.h usability... yes
checking util/functions.h presence... yes
checking for util/functions.h... yes
checking system/thread/Thread.h usability... yes
checking system/thread/Thread.h presence... yes
checking for system/thread/Thread.h... yes
checking lua.h usability... yes
checking lua.h presence... yes
checking for lua.h... yes
checking system/io/interface/IIOContainer.h usability... yes
checking system/io/interface/IIOContainer.h presence... yes
checking for system/io/interface/IIOContainer.h... yes
checking for main in -ltelemidiautil... yes
checking for main in -lgingaccsystemthread... yes
checking for main in -ltelemidialinks... yes
checking for main in -llua... yes
*** Clock time support will be built.
*** Component support will be built.
configure: creating ./config.status
config.status: creating Makefile
config.status: creating files/Makefile
config.status: creating files/scripts/Makefile
config.status: creating include/Makefile
config.status: creating src/Makefile
config.status: creating src/image/Makefile
config.status: creating src/application/imperative/lua/Makefile
config.status: creating src/application/declarative/xhtml/Makefile
config.status: creating src/text/Makefile
config.status: creating src/text/plain/Makefile
config.status: creating src/text/srt/Makefile
config.status: creating src/video/Makefile
config.status: creating src/tv/Makefile
config.status: creating src/widget/Makefile
config.status: creating test/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
Build options:
Module directory
NCLET Support no
Ginga Common Core Player 0.11.2
Copyleft 1989-2009 PUC-RIO/LABORATORIO TELEMIDIA, Some Rights Reserved.
Now type 'make' to compile the project.
>make
make all-recursive
make[1]: Entrando no diretório `/home/sergio/ginga/gingacc-cpp/gingacc-player'
Making all in files
make[2]: Entrando no diretório `/home/sergio/ginga/gingacc-cpp/gingacc-player/files'
Making all in scripts
make[3]: Entrando no diretório `/home/sergio/ginga/gingacc-cpp/gingacc-player/files/scripts'
make[3]: Nada a ser feito para `all'.
make[3]: Saindo do diretório `/home/sergio/ginga/gingacc-cpp/gingacc-player/files/scripts'
make[3]: Entrando no diretório `/home/sergio/ginga/gingacc-cpp/gingacc-player/files'
make[3]: Nada a ser feito para `all-am'.
make[3]: Saindo do diretório `/home/sergio/ginga/gingacc-cpp/gingacc-player/files'
make[2]: Saindo do diretório `/home/sergio/ginga/gingacc-cpp/gingacc-player/files'
Making all in include
make[2]: Entrando no diretório `/home/sergio/ginga/gingacc-cpp/gingacc-player/include'
make[2]: Nada a ser feito para `all'.
make[2]: Saindo do diretório `/home/sergio/ginga/gingacc-cpp/gingacc-player/include'
Making all in src
make[2]: Entrando no diretório `/home/sergio/ginga/gingacc-cpp/gingacc-player/src'
make[2]: Nada a ser feito para `all'.
make[2]: Saindo do diretório `/home/sergio/ginga/gingacc-cpp/gingacc-player/src'
Making all in src/image
make[2]: Entrando no diretório `/home/sergio/ginga/gingacc-cpp/gingacc-player/src/image'
make[2]: Nada a ser feito para `all'.
make[2]: Saindo do diretório `/home/sergio/ginga/gingacc-cpp/gingacc-player/src/image'
Making all in src/application/declarative/xhtml
make[2]: Entrando no diretório `/home/sergio/ginga/gingacc-cpp/gingacc-player/src/application/declarative/xhtml'
make[2]: Nada a ser feito para `all'.
make[2]: Saindo do diretório `/home/sergio/ginga/gingacc-cpp/gingacc-player/src/application/declarative/xhtml'
Making all in src/application/imperative/lua
make[2]: Entrando no diretório `/home/sergio/ginga/gingacc-cpp/gingacc-player/src/application/imperative/lua'
/bin/bash ../../../../libtool --tag=CXX --mode=link g++ -fPIC -g -O2 -Wl,-E,-soname,libgingaccplalua.so -shared -L/usr/local/lib -L/usr/local/lib/ginga -L../../../ -L../../../image/ -L/usr/local/lib/lua/5.1 -L/usr/local/lib/lua/5.1/socket -L/usr/local/lib/ginga/iocontents -L/usr/local/lib/ginga/ -L/usr/local/lib/ -L/usr/lib/ -o libgingaccplalua.so LuaCanvas.o LuaEvent.o LuaPlayer.o -llua -lcore -ltelemidiautil -lgingaccsystemthread -lgingaccsystemiocodemap -lgingaccplayer -lgingaccplaimg -ldl -L/usr/local/lib/ -L/usr/local/lib/ginga/
g++ -fPIC -g -O2 -Wl,-E -Wl,-soname -Wl,libgingaccplalua.so -shared -o libgingaccplalua.so LuaCanvas.o LuaEvent.o LuaPlayer.o -L/usr/local/lib -L/usr/local/lib/ginga -L/home/sergio/ginga/gingacc-cpp/gingacc-player/src -L/home/sergio/ginga/gingacc-cpp/gingacc-player/src/image -L/usr/local/lib/lua/5.1 -L/usr/local/lib/lua/5.1/socket -L/usr/local/lib/ginga/iocontents -L/usr/local/lib/ginga/ -L/usr/local/lib/ -L/usr/lib/ -llua -lcore -ltelemidiautil -lgingaccsystemthread -lgingaccsystemiocodemap -lgingaccplayer -lgingaccplaimg -ldl
/usr/bin/ld: cannot find -lcore
collect2: ld returned 1 exit status
make[2]: ** [libgingaccplalua.so] Erro 1
make[2]: Saindo do diretório `/home/sergio/ginga/gingacc-cpp/gingacc-player/src/application/imperative/lua'
make[1]: ** [all-recursive] Erro 1
make[1]: Saindo do diretório `/home/sergio/ginga/gingacc-cpp/gingacc-player'
make: ** [all] Erro 2
Com a versão libtool 2, o erro acontece antes...
Alguma sugestão?
Autor: Sergio Fortier
1414 comentários
make[1]: Entrando no diretório `/home/sergio/ginga/gingacc-cpp/gingacc-tuner'
Making all in files
make[2]: Entrando no diretório `/home/sergio/ginga/gingacc-cpp/gingacc-tuner/files'
make[2]: Nada a ser feito para `all'.
make[2]: Saindo do diretório `/home/sergio/ginga/gingacc-cpp/gingacc-tuner/files'
Making all in src
make[2]: Entrando no diretório `/home/sergio/ginga/gingacc-cpp/gingacc-tuner/src'
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/ginga/ -I/usr/local/include/ -I/usr/include/ -fPIC -g -O2 -MT ISDBTFrontend.o -MD -MP -MF .deps/ISDBTFrontend.Tpo -c -o ISDBTFrontend.o `test -f 'providers/frontends/isdbt/ISDBTFrontend.cpp' || echo './'`providers/frontends/isdbt/ISDBTFrontend.cpp
providers/frontends/isdbt/ISDBTFrontend.cpp: In member function ‘void br::pucrio::telemidia::ginga::core::tuning::ISDBTFrontend::updateIsdbtFrontendParameters()’:
providers/frontends/isdbt/ISDBTFrontend.cpp:173: error: ‘DTV_ISDBT_PARTIAL_RECEPTION’ was not declared in this scope
providers/frontends/isdbt/ISDBTFrontend.cpp:175: error: ‘DTV_ISDBT_SOUND_BROADCASTING’ was not declared in this scope
providers/frontends/isdbt/ISDBTFrontend.cpp:177: error: ‘DTV_ISDBT_SB_SUBCHANNEL_ID’ was not declared in this scope
providers/frontends/isdbt/ISDBTFrontend.cpp:179: error: ‘DTV_ISDBT_SB_SEGMENT_IDX’ was not declared in this scope
providers/frontends/isdbt/ISDBTFrontend.cpp:181: error: ‘DTV_ISDBT_SB_SEGMENT_COUNT’ was not declared in this scope
providers/frontends/isdbt/ISDBTFrontend.cpp:183: error: ‘DTV_ISDBT_LAYERA_SEGMENT_COUNT’ was not declared in this scope
providers/frontends/isdbt/ISDBTFrontend.cpp:185: error: ‘DTV_ISDBT_LAYERA_MODULATION’ was not declared in this scope
providers/frontends/isdbt/ISDBTFrontend.cpp:187: error: ‘DTV_ISDBT_LAYERA_FEC’ was not declared in this scope
providers/frontends/isdbt/ISDBTFrontend.cpp:189: error: ‘DTV_ISDBT_LAYERA_TIME_INTERLEAVING’ was not declared in this scope
providers/frontends/isdbt/ISDBTFrontend.cpp:191: error: ‘DTV_ISDBT_LAYERB_SEGMENT_COUNT’ was not declared in this scope
providers/frontends/isdbt/ISDBTFrontend.cpp:193: error: ‘DTV_ISDBT_LAYERB_MODULATION’ was not declared in this scope
providers/frontends/isdbt/ISDBTFrontend.cpp:195: error: ‘DTV_ISDBT_LAYERB_FEC’ was not declared in this scope
providers/frontends/isdbt/ISDBTFrontend.cpp:197: error: ‘DTV_ISDBT_LAYERB_TIME_INTERLEAVING’ was not declared in this scope
providers/frontends/isdbt/ISDBTFrontend.cpp:199: error: ‘DTV_ISDBT_LAYERC_SEGMENT_COUNT’ was not declared in this scope
providers/frontends/isdbt/ISDBTFrontend.cpp:201: error: ‘DTV_ISDBT_LAYERC_MODULATION’ was not declared in this scope
providers/frontends/isdbt/ISDBTFrontend.cpp:203: error: ‘DTV_ISDBT_LAYERC_FEC’ was not declared in this scope
providers/frontends/isdbt/ISDBTFrontend.cpp:205: error: ‘DTV_ISDBT_LAYERC_TIME_INTERLEAVING’ was not declared in this scope
providers/frontends/isdbt/ISDBTFrontend.cpp:207: error: ‘DTV_ISDBT_LAYER_ENABLED’ was not declared in this scope
make[2]: ** [ISDBTFrontend.o] Erro 1
make[2]: Saindo do diretório `/home/sergio/ginga/gingacc-cpp/gingacc-tuner/src'
make[1]: ** [all-recursive] Erro 1
make[1]: Saindo do diretório `/home/sergio/ginga/gingacc-cpp/gingacc-tuner'
make: ** [all] Erro 2 ???
#define DVB_API_VERSION_MINOR 1 Quando instalo o v4l ele nao copia os header novos... copiei na mao. Acho melhor fazer a verificaçao de DVB_API_VERSION_MINOR 1 e nao apenas de VB_API_VERSION 5 ...
commandline read: ginga ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.1 |~~~~~~~~~~~~~~~~~~~~~~~~~~
(c) 2001-2009 The world wide DirectFB Open Source Community
(c) 2000-2004 Convergence (integrated media) GmbH
---------------------------------------------------------------- (*) DirectFB/Core: Single Application Core. (2010-01-12 19:09)
(*) Direct/Thread: Started 'VT Switcher' (-1) [CRITICAL OTHER/OTHER 0/0] <8388608>...
(*) Direct/Thread: Started 'VT Flusher' (-1) [DEFAULT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/FBDev: Found 'VESA VGA' (ID 0) with frame buffer at 0xfb000000, 3072k (MMIO 0x00000000, 0k)
(*) Direct/Thread: Started 'Keyboard Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: Power Button (1) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: Power Button (2) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: Macintosh mouse button emulatio (3) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: AT Translated Set 2 keyboard (4) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: ImPS/2 Generic Wheel Mouse (5) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: IR-receiver inside an USB DVB r (6) 0.1 (directfb.org)
(*) Direct/Thread: Started 'PS/2 Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: IMPS/2 Mouse 1.0 (directfb.org)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: MMX Software Rasterizer 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(#) DirectFBError [gingacc-systemio DFBDeviceScreen TestConfig error: ]: Not supported!
InputManager::initializeInputIntervalTime imperative = '0' declarative = '200'
DataProcessor::addEPGListener
DataProcessor::addSEListener
(!) Direct/Interface: Unable to dlopen `/usr/local/lib/directfb-1.4-0/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_bmp.so'!
--> /usr/local/lib/directfb-1.4-0/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_bmp.so: undefined symbol: direct_config
(!) Direct/Interface: Unable to dlopen `/usr/local/lib/directfb-1.4-0/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_jpeg2000.so'!
--> /usr/local/lib/directfb-1.4-0/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_jpeg2000.so: undefined symbol: dfb_surface_lock_buffer
(*) Direct/Interface: Loaded 'PNG' implementation of 'IDirectFBImageProvider'.
ComponentManager::releaseComponentFromObject 'ImageProvider'
Tuner::run tuning...
NetworkInterface::tune(sbtvd:terrestrial)
NetworkInterface::createProvider(sbtvd:terrestrial)
ISDBTFrontend::ISDBTFrontend
ISDBTFrontend::initIsdbtParameters
frontend_info:
name: DiBcom 8000 ISDB-T
fe_type: 2
freq_min: 45000000
freq_max: 860000000
freq_step: 62500
symbol_rate_min: 0
symbol_rate_max: 0
symbol_rate_tol: 0
notifier_delay: 0
caps: 1075523247
ISDBTFrontend::hasFrontend
Channel::setFrequency '479143008'
Channel::setFrequency '479143008'
ISDBTFrontend::changeFrequency
ISDBTFrontend::updateIsdbtFrontendParameters
ISDBTFrontend::isTuned Warning! can't find sync byte.
ISDBTFrontend::changeFrequency tuned at '479143008'
ISDBTProvider::tune tuned at '479143008' - MEGATV_1SEG
ISDBTFrontend::attachFilter pid = '0' tid = '0'
ISDBTFrontend::run
ISDBTFrontend::updatePool: current size is 1
Tuner::run done
Demuxer::receiveSection PAT mounted
ISDBTFrontend::removeFilter
ISDBTFrontend::attachFilter pid = '32' tid = '2'
ISDBTFrontend::attachFilter pid = '33' tid = '2'
ISDBTFrontend::attachFilter pid = '8136' tid = '2'
ISDBTFrontend::updatePool: current size is 3
Demuxer::receiveSection call pat->addPmt
Pmt::print
Program number = 60065
streams:
streamType 'ISO/IEC 14496-10 h.264' has pid = '101'
streamType 'ISO/IEC 13818 Private Data' has pid = '150'
streamType 'ISO/IEC 13818-3 Audio' has pid = '256'
ISDBTFrontend::removeFilter
ISDBTFrontend::updatePool: current size is 2
Demuxer::receiveSection call pat->addPmt
Pmt::print
Program number = 60064
streams:
streamType 'ISO/IEC 14496-10 h.264' has pid = '102'
streamType 'ISO/IEC 13818-3 Audio' has pid = '259'
streamType 'ISO/IEC 13818 Private Data' has pid = '350'
ISDBTFrontend::removeFilter
ISDBTFrontend::updatePool: current size is 1
Demuxer::receiveSection call pat->addPmt
Pmt::print
Program number = 60088
streams:
streamType 'ISO/IEC 13818 Private Data' has pid = '250'
streamType 'ISO/IEC 14496-10 h.264' has pid = '273'
streamType 'ISO/IEC 13818-7 Audio AAC' has pid = '274'
ISDBTFrontend::removeFilter
Demuxer::receiveSection trying to solve unsolved filters
ISDBTFrontend::updatePool: current size is 0
PresentationEngineManager::setCurrentPrivateBaseId '1877'
pipe 'dvr0.ts' created
Demuxer::addPesFilter aPid = '259' vPid = '102'
ISDBTFrontend::createPesFilter pid '0' pesType '5'
ISDBTFrontend::createPesFilter pid '32' pesType '5'
ISDBTFrontend::createPesFilter pid '259' pesType '4'
ISDBTFrontend::createPesFilter pid '102' pesType '3'
PipeFilter::run reader
lssm-ccm::sp creating av player
AVPlayer::run mainAV mrl: 'dvr0.ts'
lssm-ccp::sp create av ok
ComponentManager::getSymbol warning: cant load symbol 'createFFmpegVideoProvider' => /usr/local/lib/ginga/iocontents/libgingaccsysctsffmpegav.so: undefined symbol: createFFmpegVideoProvider
(!) [ 5949: 0.000] --> Caught signal 11 (at (nil), invalid address) <--
(!!!) *** WARNING [still objects in 'Window Pool'] *** [object.c:241 in fusion_object_pool_destroy()]
(!!!) *** WARNING [still objects in 'Layer Region Pool'] *** [object.c:241 in fusion_object_pool_destroy()]
(!!!) *** WARNING [still objects in 'Layer Context Pool'] *** [object.c:241 in fusion_object_pool_destroy()]
(!!!) *** WARNING [still objects in 'Surface Pool'] *** [object.c:241 in fusion_object_pool_destroy()]
Abortado Tava achando que era problema no ffmpeg. Baixei a versao svn, compilei e re-compilei o gingacc-system... Nada mudou... :( Alguma dica?
e, quando rodar como root, se a variavel DISPLAY esta definida. Vc pode postar a saida do console?