Ir para o conteúdo

 Voltar a Ginga-NCL: I...
Tela cheia

telemidia Ginga ncl source code compile fail

9 de Setembro de 2010, 22:57 , por Desconhecido - | Ninguém seguindo este artigo por enquanto.
Visualizado 35 vezes

HI all

          I am a engineer  of ALi corporation in Taiwan. I download the open the source code from website "http://svn.softwarepublico.gov.br/trac/ginga/ " and try to compile it following the procedure on the website . But when I try to compile the open source code in the ubuntu desktop PC. I find some issue as follows:
1.   When I compile " telemidia-util-cpp TELEMIDIA-util-cpp " : I use the dependency library :  libtool 1.3.4 , autoconf  2.13  automake 1.4  , libpthread, it's OK.
   but I use the same dependency library to compile TELEMIDIA-links-cpp, it's fail. After I update libtool 2.2.10 autoconf 2.67 automake 1.11, the compile success.
When I use the libtool 2.2.10 autoconf 2.67 automake 1.11 to compile the  telemidia-util-cpp TELEMIDIA-util-cpp, it's fail.   Who can tell me about the correct dependency library version or the correct compile procedure ?? And Maybe  somebody can  give us some comment about the situration.

2. About the " Pontos em aberto (TODO List) do Ginga-NCL - Implementação de referência (C++): GingaNCL_CPP_TODO", Do that  have any update or newest version ??

Autor: Ming Lan


1313 comentários

  • 909d8715533ab3fca92606b082b5e17c?only path=false&size=50&d=404Julio Melo(usuário não autenticado)
    14 de Setembro de 2010, 17:10

     

    Hi Ming, I'm experienced with compiling ginga-ncl, the fact is that the build configuration its not working with new versions of the libtool. Personally i used the libtool 1.5.26, that worked fine until now. If you want to use newer versions i'm afraid that you will have to change the configure.in and makefile.am files by yourself in order to get the build working. Julio 

    • 6f8512d75cd5c7d3af6596c1218c80bf?only path=false&size=50&d=404Ming Lan(usuário não autenticado)
      15 de Setembro de 2010, 5:09

       

      Dear Julio

                Thanks a lot for your response !!. Can you provide me about the automake, autoconfig  and other dependency libraray version that you compile the ginga-ncl  successfully ?? And Maybe you can also  provide  me about the compile procedure  base on your compile experience.

       

       

      • 909d8715533ab3fca92606b082b5e17c?only path=false&size=50&d=404Julio Melo(usuário não autenticado)
        15 de Setembro de 2010, 11:10

         

         automake (GNU automake) 1.10.2

         autoconf (GNU Autoconf) 2.63

         These are my configurations on ubuntu 9.04, the other dependency libraries are fine, at least to me, to be any version. On ubuntu 10.04 i had used a compiled version of the libtool 1.5.26 and the other autotools i downloaded using the apt.

        By using libtool 1.5.26 you can simply follow the guide showed in

        svn.​soft​ware​publ​ico.​gov.​br/t​rac/​ging​a/wi​ki/B​uild​ing_​Wiki​_Gin​gaNC​L

        Julio

        • 6f8512d75cd5c7d3af6596c1218c80bf?only path=false&size=50&d=404Ming Lan(usuário não autenticado)
          17 de Setembro de 2010, 10:11

           

          Dear Julio

           Dear Julio

                   I base on the svn.​soft​ware​publ​ico.​gov.​br/t​rac/​ging​a/wi​ki/B​uild​ing_​Wiki​_Gin​gaNC​L

           to compile the telemidia-links-cpp and I install all dependency library exclude the directFB 1.0.1. But when I install the directFB1.0.1, it happens some error as follow:

           idirectfbimageprovider_png.c: In function 'Construct':
          idirectfbimageprovider_png.c:207: warning: 'jmpbuf' is deprecated (declared at /usr/local/include/png.h:1096)
          idirectfbimageprovider_png.c: In function 'IDirectFBImageProvider_PNG_RenderTo':
          idirectfbimageprovider_png.c:334: warning: 'jmpbuf' is deprecated (declared at /usr/local/include/png.h:1096)
          idirectfbimageprovider_png.c:361: warning: 'bit_depth' is deprecated (declared at /usr/local/include/png.h:651)
          idirectfbimageprovider_png.c:404: warning: 'bit_depth' is deprecated (declared at /usr/local/include/png.h:651)
          idirectfbimageprovider_png.c:413: warning: 'bit_depth' is deprecated (declared at /usr/local/include/png.h:651)
          idirectfbimageprovider_png.c:467: warning: 'bit_depth' is deprecated (declared at /usr/local/include/png.h:651)
          idirectfbimageprovider_png.c: In function 'png_info_callback':
          idirectfbimageprovider_png.c:639: warning: 'palette' is deprecated (declared at /usr/local/include/png.h:645)
          idirectfbimageprovider_png.c:640: error: 'png_info' has no member named 'trans'
          idirectfbimageprovider_png.c:641: warning: 'num_palette' is deprecated (declared at /usr/local/include/png.h:647)
          idirectfbimageprovider_png.c:641: warning: 'num_palette' is deprecated (declared at /usr/local/include/png.h:647)
          idirectfbimageprovider_png.c:653: warning: 'num_trans' is deprecated (declared at /usr/local/include/png.h:649)
          idirectfbimageprovider_png.c:665: error: 'png_info' has no member named 'trans_values'
          idirectfbimageprovider_png.c:675: warning: 'palette' is deprecated (declared at /usr/local/include/png.h:645)
          idirectfbimageprovider_png.c:676: error: 'png_info' has no member named 'trans'
          idirectfbimageprovider_png.c:677: warning: 'num_trans' is deprecated (declared at /usr/local/include/png.h:649)
          idirectfbimageprovider_png.c:678: warning: 'num_palette' is deprecated (declared at /usr/local/include/png.h:647)
          idirectfbimageprovider_png.c:678: warning: 'num_palette' is deprecated (declared at /usr/local/include/png.h:647)
          make[4]: *** [idirectfbimageprovider_png.lo] Error 1
          make[4]: Leaving directory `/root/ginga/DirectFB-1.0.1/interfaces/IDirectFBImageProvider'
          make[3]: *** [all-recursive] Error 1
          make[3]: Leaving directory `/root/ginga/DirectFB-1.0.1/interfaces/IDirectFBImageProvider'
          make[2]: *** [all-recursive] Error 1
          make[2]: Leaving directory `/root/ginga/DirectFB-1.0.1/interfaces'
          make[1]: *** [all-recursive] Error 1
          make[1]: Leaving directory `/root/ginga/DirectFB-1.0.1'
          make: *** [all] Error 2

           

          Can you tell me which is the correct version of directFB and which module need to disable ex. x11, png .............

          Thanks a lot for your response !!!!!

           

          • 49b94670a089dfa9aea15ed3e81e513c?only path=false&size=50&d=404Bruno Lima(usuário não autenticado)
            17 de Setembro de 2010, 10:32

             

            Did u change the Makefile.am of the DirectFB-extra package ?It needs to include the $(DFB_LIBS) in the lib_add of each lib that is going to be generated. 

          • 909d8715533ab3fca92606b082b5e17c?only path=false&size=50&d=404Julio Melo(usuário não autenticado)
            17 de Setembro de 2010, 11:32

             

            Hi, by looking at your error output i just can say that the error is related with the libpng version. I haven't had this error before but the line:idirectfbimageprovider_png.c:640: error: 'png_info' has no member named 'transis sure related with the png.h that is defined on libpng. I'm sure that you will be able to solve this by updating your libpng version.[]sJulio 

            • 6f8512d75cd5c7d3af6596c1218c80bf?only path=false&size=50&d=404Ming Lan(usuário não autenticado)
              20 de Setembro de 2010, 5:28

               

              Dear Julio

                        I overcome the ./autogen.sh error message after I export the ACLOCAL_FLAGS. but when I run "make" command, it still generate the error message as follows:

              root@ubuntu:~/ginga/ginga_ncl/telemidia-links-cpp# make
              make  all-am
              make[1]: Entering directory `/root/ginga/ginga_ncl/telemidia-links-cpp'
              source='af_unix.c' object='af_unix.o' libtool=no \
                  DEPDIR=.deps depmode=none /bin/bash ./depcomp \
                  gcc -DHAVE_CONFIG_H -I. -I/usr/local/include/ginga/ -I/usr/local/include/directfb/   -I/usr/local/ssl/include   -fPIC -g -O2 -c af_unix.c
              link: missing operand after `/usr/share/automake-1.9/depcomp'
              Try `link --help' for more information.
              make[1]: *** [af_unix.o] Error 1
              make[1]: Leaving directory `/root/ginga/ginga_ncl/telemidia-links-cpp'
              make: *** [all] Error 2

              Please give me some opinion base on your experience. Thanks a lot for your help !!!!

              • 909d8715533ab3fca92606b082b5e17c?only path=false&size=50&d=404Julio Melo(usuário não autenticado)
                20 de Setembro de 2010, 14:47

                 

                It sounds like a libtool problem... never had that before, but a make distclean could solve... If you already tried this, I'm sorry but I can't help you with this problem =\Tried to search here, but could not find anything. While trying to compile the NCL I found so many problems that it's almost 100% chance of finding another build problem while trying to compile in another machine.If, like me, you couldn't not find anything on web I would recommend that you change the version of the auto tools and try to compile it again. Julio

                • 6f8512d75cd5c7d3af6596c1218c80bf?only path=false&size=50&d=404Ming Lan(usuário não autenticado)
                  1 de Outubro de 2010, 8:31

                   

                  Dear Julio

                              About the dependency library that list in the "http://svn.softwarepublico.gov.br/trac/ginga/wiki/Building_Wiki_GingaNCL " , Does all of that needed in the compile ?? if not, can you help to list which is needed ??

                     And about the Xine patch "xine-lib-1.1.17-headers-thiz.patch", where can I get it and how to use it ??

                             Thanks  a lot for your help !!!

                        

                  • 909d8715533ab3fca92606b082b5e17c?only path=false&size=50&d=404Julio Melo(usuário não autenticado)
                    1 de Outubro de 2010, 16:03

                     

                    Hi Ming Yes, in this link you can see all that is needed to compile the GingaNCL, in addition you will need to build additional content that will be required in order to compile each direct dependency. Some dependencies I choose to ignore due to build problems like some video decoder, i've used in my version only the avcodec/avformat and directfb-extras packages to decode video with a changed code to ignore the other type of players. This xine-lib patch i did myself, there are only some easy code to change so i've never applied the patch that you have mentioned.  Julio 

                    • 6f8512d75cd5c7d3af6596c1218c80bf?only path=false&size=50&d=404Ming Lan(usuário não autenticado)
                      4 de Outubro de 2010, 23:19

                       

                      Dear Julio
                            I already compile successfully the open source code and generate the usr/local/sbin/ginga,
                      But I don't know how run a Ginga NCL application. There are some description about the usr/local/sbin/ginga in the website " svn.​soft​ware​publ​ico.​gov.​br/t​rac/​ging​a/wi​ki/B​uild​ing_​Wiki​_Gin​gaNC​L"&n​bsp; as follows:
                      Para apresentar um documento NCL a partir de um arquivo, use o seguinte comando: $ /usr/local/sbin/ginga --ncl /caminho/para/arquivo.ncl

                      Para apresentar um fluxo de transporte MPEG-2 transmitido por unicast UDP e cujo fluxo de dados é compatível com o SBTVD-T, edite o arquivo /usr/local/etc/ginga/files/tuner/tuner.ini e coloque o IP do servidor do fluxo de transporte. Em seguida, use o comando abaixo: $ /usr/local/sbin/ginga
                      Therefore, Can you provide me some ncl file(arquivo.ncl
                      ), let me try to run the use/local/sbin/ginga. If you can tell me how to run it, that's great.Thanks a lot for your help !!!!!

                      • 909d8715533ab3fca92606b082b5e17c?only path=false&size=50&d=404Julio Melo(usuário não autenticado)
                        15 de Outubro de 2010, 17:40

                         

                        Hi Ming ,Sorry for the time it took me to answer, i was in a conference here in brazil that took me all last week. Looking at the date of your post i hope you already have the problem solved, however if you don't, just try this:Use any ncl application some real good examples can be found on the ncl club(clube.ncl.org.br), if you need simpler applications you can look on the NCLua tutorial(http://www.lua.inf.puc-rio.br/~francisco/nclua/tutorial/index.html), where you can find applications that are very simple but use lua scripts that you can remove if you prefer.Once you have the ginga compiled and installed just use the command:ginga --ncl main/ncl/document/of/applicationapplications that use sound and video are commonly more problematic but you can handle then by double checking your directfb-extras and fusion-sound packages.  

            • 6f8512d75cd5c7d3af6596c1218c80bf?only path=false&size=50&d=404Ming Lan(usuário não autenticado)
              19 de Setembro de 2010, 23:51

               

              Dear Julio

               Thanks a lot for your response !! I already solve the directFB1.0.1 png problem. But I have a new issue :

              When I compile the telemidia-links-cpp, I run the

              ./autogen.sh --enable-graphics --with-directfb --enable-javascript --without-x --without-sdl
               And it generate the error message as follows:

              checking atheos/threads.h presence... no
              checking for atheos/threads.h... no
              checking for spawn_thread... no
              checking for resume_thread... no
              checking for MouOpen... no
              checking for _read_kbd... no
              checking for XFree for OS/2... no
              checking for dlopen in -ldl... yes
              ./configure: line 15162: syntax error near unexpected token `OPENSSL,openssl,pkgconfig_openssl=yes,pkgconfig_openssl=no'
              ./configure: line 15162: `    PKG_CHECK_MODULES(OPENSSL,openssl,pkgconfig_openssl=yes,pkgconfig_openssl=no

               It look like that it can not find marco PKG_CHECK_MODULES, how can I fix the error message?  I need install pkconfig tool or not ? And if I need to install the pkconfig tools which version I need ???

              Thans a lot for response .

Concurso ITU-T de Aplicações para IPTV 2012

13 de Agosto de 2012, 19:38, por Desconhecido

Gostaríamos de lembrar aos possíveis interessados que o prazo de registro para participação no Concurso ITU-T de Aplicações para IPTV 2012 (IPTV Application Challenge) se encerra nesta semana, dia 15 de agosto de 2012. Já o prazo para a submissão de aplicações se encerra no dia 07 de setembro de 2012.



NCL Eclipse 1.6 disponível

10 de Janeiro de 2012, 21:19, por Desconhecido

Caros membros da Comunidade Ginga,



Concursos de Aplicações Ginga-NCL

22 de Setembro de 2011, 3:22, por Desconhecido

    Gostaríamos de relembra-los de que há dois concursos de aplicações Ginga-NCL com inscrições ainda abertas. O convite é aberto a toda a comunidade de desenvolvedores de aplicações para o Middleware Ginga-NCL, em nível internacional. São os seguintes concursos:



Novas versões: Ginga e Ginga-NCL Virtual Set-top Box (v.0.12.3)

1 de Agosto de 2011, 20:58, por Desconhecido



Algumas Boas Notícias da Comunidade Ginga

28 de Julho de 2011, 21:31, por Desconhecido

Autor: Roberto Azevedo