Installation error

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Installation error

Mailing List SVR
Hi,

I'm experiencing this installation error:

root@beagleboard:~/gstreamer/gstreamer-0.10.25# ./configure --disable-debug --
disable-gst-debug --prefix=/opt/gstreamer/
....
....

Configuration
        Version                    : 0.10.25
        Source code location       : .
        Prefix                     : /opt/gstreamer
        Compiler                   : gcc
        Package name               : GStreamer source release
        Package origin             : Unknown package origin

        Documentation (manuals)    : no
        Documentation (API)        : no

        Debug Logging              : no
        Pipeline XML load/save     : yes
        Command-line parser        : yes
        Option parsing in gst_init : yes
        Tracing subsystem          : yes
        Allocation tracing         : yes
        Plugin registry            : yes
        Plugin support             : yes
        Network support            : yes
        Unit testing support       : yes

        Debug                      : no
        Profiling                  : no

        Building examples          : yes
        Building test apps         : yes
        Building tests that fail   : no

root@beagleboard:~/gstreamer/gstreamer-0.10.25# make
Making all in pkgconfig
Making all in gst
Making all in parse
  CC    lex._gst_parse_yy.o
./grammar.y: conflicts: 37 shift/reduce, 5 reduce/reduce
make[4]: *** [grammar.tab.c] Error 141
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

I'm building on arm

what's wrong?





------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Installation error

Mailing List SVR
In data giovedì 10 dicembre 2009 14:34:06, Mailing List SVR ha scritto:
: > Hi,

>
> I'm experiencing this installation error:
>
> root@beagleboard:~/gstreamer/gstreamer-0.10.25# ./configure --disable-debug
>  -- disable-gst-debug --prefix=/opt/gstreamer/
> ....
> ....
>
> Configuration
>         Version                    : 0.10.25
>         Source code location       : .
>         Prefix                     : /opt/gstreamer
>         Compiler                   : gcc
>         Package name               : GStreamer source release
>         Package origin             : Unknown package origin
>
>         Documentation (manuals)    : no
>         Documentation (API)        : no
>
>         Debug Logging              : no
>         Pipeline XML load/save     : yes
>         Command-line parser        : yes
>         Option parsing in gst_init : yes
>         Tracing subsystem          : yes
>         Allocation tracing         : yes
>         Plugin registry            : yes
>         Plugin support             : yes
>         Network support            : yes
>         Unit testing support       : yes
>
>         Debug                      : no
>         Profiling                  : no
>
>         Building examples          : yes
>         Building test apps         : yes
>         Building tests that fail   : no
>
> root@beagleboard:~/gstreamer/gstreamer-0.10.25# make
> Making all in pkgconfig
> Making all in gst
> Making all in parse
>   CC    lex._gst_parse_yy.o
> ./grammar.y: conflicts: 37 shift/reduce, 5 reduce/reduce

the file grammar.tab.c is not created why?


> make[4]: *** [grammar.tab.c] Error 141
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> I'm building on arm
>
> what's wrong?
>
>
>
>
>
> ---------------------------------------------------------------------------
> --- Return on Information:
> Google Enterprise Search pays you back
> Get the facts.
> http://p.sf.net/sfu/google-dev2dev
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Installation error

Tim-Philipp Müller-2
On Thu, 2009-12-10 at 15:38 +0100, Mailing List SVR wrote:

> the file grammar.tab.c is not created why?

What's the output of  make V=1 ?

Cheers
 -Tim


------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Installation error

Mailing List SVR
In data giovedì 10 dicembre 2009 15:45:21, Tim-Philipp Müller ha scritto:
: > On Thu, 2009-12-10 at 15:38 +0100, Mailing List SVR wrote:
> > the file grammar.tab.c is not created why?
>
> What's the output of  make V=1 ?

attacched

thanks
Nicola


>
> Cheers
>  -Tim
>
>
> ---------------------------------------------------------------------------
> --- Return on Information:
> Google Enterprise Search pays you back
> Get the facts.
> http://p.sf.net/sfu/google-dev2dev
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

makeV1.txt (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Installation error

Mailing List SVR
In reply to this post by Tim-Philipp Müller-2
In data giovedì 10 dicembre 2009 15:45:21, Tim-Philipp Müller ha scritto:
: > On Thu, 2009-12-10 at 15:38 +0100, Mailing List SVR wrote:
> > the file grammar.tab.c is not created why?
>
> What's the output of  make V=1 ?

additionally during the configure I see this:

/bin/sh: can't open /home/root/gstreamer/gstreamer-0.10.25/common/shave                                          
make use of stddef.h in _stdint.h (no helpful system typedefs seen)

can make some difference?

Nicola

>
> Cheers
>  -Tim
>
>
> ---------------------------------------------------------------------------
> --- Return on Information:
> Google Enterprise Search pays you back
> Get the facts.
> http://p.sf.net/sfu/google-dev2dev
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Installation error

Stefan Sauer
In reply to this post by Mailing List SVR
Am 10.12.2009 16:38, schrieb Mailing List SVR:

> In data giovedì 10 dicembre 2009 14:34:06, Mailing List SVR ha scritto:
> : > Hi,
>>
>> I'm experiencing this installation error:
>>
>> root@beagleboard:~/gstreamer/gstreamer-0.10.25# ./configure --disable-debug
>>  -- disable-gst-debug --prefix=/opt/gstreamer/
>> ....
>> ....
>>
>> Configuration
>>         Version                    : 0.10.25
>>         Source code location       : .
>>         Prefix                     : /opt/gstreamer
>>         Compiler                   : gcc
>>         Package name               : GStreamer source release
>>         Package origin             : Unknown package origin
>>
>>         Documentation (manuals)    : no
>>         Documentation (API)        : no
>>
>>         Debug Logging              : no
>>         Pipeline XML load/save     : yes
>>         Command-line parser        : yes
>>         Option parsing in gst_init : yes
>>         Tracing subsystem          : yes
>>         Allocation tracing         : yes
>>         Plugin registry            : yes
>>         Plugin support             : yes
>>         Network support            : yes
>>         Unit testing support       : yes
>>
>>         Debug                      : no
>>         Profiling                  : no
>>
>>         Building examples          : yes
>>         Building test apps         : yes
>>         Building tests that fail   : no
>>
>> root@beagleboard:~/gstreamer/gstreamer-0.10.25# make
>> Making all in pkgconfig
>> Making all in gst
>> Making all in parse
>>   CC    lex._gst_parse_yy.o
>> ./grammar.y: conflicts: 37 shift/reduce, 5 reduce/reduce
>
> the file grammar.tab.c is not created why?
>
>
>> make[4]: *** [grammar.tab.c] Error 141
>> make[3]: *** [all-recursive] Error 1
>> make[2]: *** [all] Error 2
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all] Error 2
>>
>> I'm building on arm
>>
>> what's wrong?
>>

what versions of bison and flex do you have, are they sufficiently up to date
and working?

ensonic@hoshi:~:> bison --version
bison (GNU Bison) 2.3
ensonic@hoshi:~:> flex --version
flex 2.5.35

Stefan

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Installation error

Clark, Rob

On Dec 11, 2009, at 3:33 PM, Stefan Kost wrote:

> Am 10.12.2009 16:38, schrieb Mailing List SVR:
>> In data giovedì 10 dicembre 2009 14:34:06, Mailing List SVR ha scritto:
>> : > Hi,
>>>
>>> I'm experiencing this installation error:
>>>
>>> root@beagleboard:~/gstreamer/gstreamer-0.10.25# ./configure --disable-debug
>>> -- disable-gst-debug --prefix=/opt/gstreamer/
>>> ....
>>> ....
>>>
>>> Configuration
>>>        Version                    : 0.10.25
>>>        Source code location       : .
>>>        Prefix                     : /opt/gstreamer
>>>        Compiler                   : gcc
>>>        Package name               : GStreamer source release
>>>        Package origin             : Unknown package origin
>>>
>>>        Documentation (manuals)    : no
>>>        Documentation (API)        : no
>>>
>>>        Debug Logging              : no
>>>        Pipeline XML load/save     : yes
>>>        Command-line parser        : yes
>>>        Option parsing in gst_init : yes
>>>        Tracing subsystem          : yes
>>>        Allocation tracing         : yes
>>>        Plugin registry            : yes
>>>        Plugin support             : yes
>>>        Network support            : yes
>>>        Unit testing support       : yes
>>>
>>>        Debug                      : no
>>>        Profiling                  : no
>>>
>>>        Building examples          : yes
>>>        Building test apps         : yes
>>>        Building tests that fail   : no
>>>
>>> root@beagleboard:~/gstreamer/gstreamer-0.10.25# make
>>> Making all in pkgconfig
>>> Making all in gst
>>> Making all in parse
>>>  CC    lex._gst_parse_yy.o
>>> ./grammar.y: conflicts: 37 shift/reduce, 5 reduce/reduce
>>
>> the file grammar.tab.c is not created why?
>>
>>
>>> make[4]: *** [grammar.tab.c] Error 141
>>> make[3]: *** [all-recursive] Error 1
>>> make[2]: *** [all] Error 2
>>> make[1]: *** [all-recursive] Error 1
>>> make: *** [all] Error 2
>>>
>>> I'm building on arm
>>>
>>> what's wrong?
>>>
>
> what versions of bison and flex do you have, are they sufficiently up to date
> and working?
>
> ensonic@hoshi:~:> bison --version
> bison (GNU Bison) 2.3
> ensonic@hoshi:~:> flex --version
> flex 2.5.35


fwiw, I get the exact same error building on ARM..

on my desktop (where I have flex v2.5.35), it builds fine.  So I'm not entirely sure if it is about flex version, or some problem w/ flex/bison on ARM?



ai@TouchBook:~/src/gstreamer$ bison --version
bison (GNU Bison) 2.3
ai@TouchBook:~/src/gstreamer$ flex --version
flex 2.5.31







------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Installation error

Clark, Rob

On Feb 20, 2010, at 5:54 PM, Clark, Rob wrote:

>
> On Dec 11, 2009, at 3:33 PM, Stefan Kost wrote:
>
>> Am 10.12.2009 16:38, schrieb Mailing List SVR:
>>> In data giovedì 10 dicembre 2009 14:34:06, Mailing List SVR ha scritto:
>>> : > Hi,
>>>>
>>>> I'm experiencing this installation error:
>>>>
[snip]

>>>>
>>>> root@beagleboard:~/gstreamer/gstreamer-0.10.25# make
>>>> Making all in pkgconfig
>>>> Making all in gst
>>>> Making all in parse
>>>> CC    lex._gst_parse_yy.o
>>>> ./grammar.y: conflicts: 37 shift/reduce, 5 reduce/reduce
>>>
>>> the file grammar.tab.c is not created why?
>>>
>>>
>>>> make[4]: *** [grammar.tab.c] Error 141
>>>> make[3]: *** [all-recursive] Error 1
>>>> make[2]: *** [all] Error 2
>>>> make[1]: *** [all-recursive] Error 1
>>>> make: *** [all] Error 2
>>>>
>>>> I'm building on arm
>>>>
>>>> what's wrong?
>>>>
>>
>> what versions of bison and flex do you have, are they sufficiently up to date
>> and working?
>>
>> ensonic@hoshi:~:> bison --version
>> bison (GNU Bison) 2.3
>> ensonic@hoshi:~:> flex --version
>> flex 2.5.35
>
>
> fwiw, I get the exact same error building on ARM..
>
> on my desktop (where I have flex v2.5.35), it builds fine.  So I'm not entirely sure if it is about flex version, or some problem w/ flex/bison on ARM?
>
>
>
> ai@TouchBook:~/src/gstreamer$ bison --version
> bison (GNU Bison) 2.3
> ai@TouchBook:~/src/gstreamer$ flex --version
> flex 2.5.31
>



interesting thing is that I get the same grammar.output in both cases.. but when I build on ARM I get no grammar.tab.c..

comparing the output from

  strace /usr/bin/bison -d -v -p_gst_parse_yy ./grammar.y

on desktop and on ARM, it looks like bison is forking off some process, and this child dies on ARM..  (forking off an m4 process, perhaps??)


---------
open("/usr/share/bison/m4sugar/m4sugar.m4", O_RDONLY) = 3
close(3)                                = 0
rt_sigaction(SIGCHLD, {SIG_DFL, [CHLD], SA_RESTART|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
pipe([3, 4])                            = 0
pipe([5, 6])                            = 0
vfork()                                 = 18281
--- SIGCHLD (Child exited) @ 0 (0) ---
close(3)                                = 0
close(6)                                = 0
fcntl64(4, F_GETFL)                     = 0x1 (flags O_WRONLY)
fstat64(4, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001f000
_llseek(4, 0, 0xbe8b8a08, SEEK_CUR)     = -1 ESPIPE (Illegal seek)
write(4, "m4_init()\nm4_define([b4_actions]"..., 4096) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) @ 0 (0) ---
+++ killed by SIGPIPE +++





------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Installation error

Clark, Rob

On Feb 20, 2010, at 8:16 PM, Clark, Rob wrote:

>
> On Feb 20, 2010, at 5:54 PM, Clark, Rob wrote:
>
>
> interesting thing is that I get the same grammar.output in both cases.. but when I build on ARM I get no grammar.tab.c..
>
> comparing the output from
>
>  strace /usr/bin/bison -d -v -p_gst_parse_yy ./grammar.y
>
> on desktop and on ARM, it looks like bison is forking off some process, and this child dies on ARM..  (forking off an m4 process, perhaps??)
>
>
> ---------
> open("/usr/share/bison/m4sugar/m4sugar.m4", O_RDONLY) = 3
> close(3)                                = 0
> rt_sigaction(SIGCHLD, {SIG_DFL, [CHLD], SA_RESTART|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
> pipe([3, 4])                            = 0
> pipe([5, 6])                            = 0
> vfork()                                 = 18281
> --- SIGCHLD (Child exited) @ 0 (0) ---
> close(3)                                = 0
> close(6)                                = 0
> fcntl64(4, F_GETFL)                     = 0x1 (flags O_WRONLY)
> fstat64(4, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001f000
> _llseek(4, 0, 0xbe8b8a08, SEEK_CUR)     = -1 ESPIPE (Illegal seek)
> write(4, "m4_init()\nm4_define([b4_actions]"..., 4096) = -1 EPIPE (Broken pipe)
> --- SIGPIPE (Broken pipe) @ 0 (0) ---
> +++ killed by SIGPIPE +++
>
>


ahh, looks like a problem in angstrom...  strace -f tells me:

[pid 19028] execve("/OE/angstrom-dev/staging/x86_64-linux/usr/bin/m4", ["/OE/angstrom-dev/staging/x86_64-"..., "/usr/share/bison/m4sugar/m4sugar"..., "-", "/usr/share/bison/yacc.c"], [/* 19 vars */]) = -1 ENOENT (No such file or directory)


so bison is trying to execute m4 from the path where it was on the host computer where bison was cross-compiled.. rather than /usr/bin/m4..

some symlink hackery gets me past this..

BR,
-R






------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel