configure script fails to complete.

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

configure script fails to complete.

Bugzilla from evorster@gmail.com
Hi there, gstreamer developers.

Before I get 1000's of "please report bugs in the bug tracker", I do
not believe this is a bug in gstreamer.

I get a very similar error on my system on the configure script of swig.

I humbly request a bit of help from experts, and no one stares at the
configure scripts of gstreamer and gst-plugins-base more than
gstreamer developers, and might have seen this problem before, and
might spread some illumination on what I am doing wrong on my system.
I come here as a last resort, as I have already been struggling with
this for about a month! None of the other users of Sorcerer Linux have
the same issue.

On to the issue:

On running ./configure in the gstreamer and gst-plugins-base source
directories, it fails with these errors:

gstreamer:
----------snip ---------------------------------------
checking for GLIB... yes
./configure: line 32020: syntax error near unexpected token `('
./configure: line 32020: `  for ac_var in `(set) 2>&1 | sed -n
's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do'

gst-plugins-base:
-----------snip---------------------------------
checking for GLIB... yes
./configure: line 38202: syntax error near unexpected token `('
./configure: line 38202: `  for ac_var in `(set) 2>&1 | sed -n
's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do'

The version of gcc used is: 4.3.1
Bash : 3.2.039
ncurses: 5.6
linux: 2.6.26

CFLAGS/CXXFLAGS for all software installed is -march=core2 -O1 -pipe,
LDFLAGS = "-Wl,-O1"

What is most annoying is that I managed to get a clean compile on 23
Aug, but not since.

I will be more than happy to provide compile logs/settings.

Thank you for any insight.

-Evert Vorster-
--
You are the gardener in your own life. Be careful what you sow...

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: configure script fails to complete.

David Schleef
On Mon, Sep 01, 2008 at 12:54:41AM +0000, evert vorster wrote:

> On to the issue:
>
> On running ./configure in the gstreamer and gst-plugins-base source
> directories, it fails with these errors:
>
> gstreamer:
> ----------snip ---------------------------------------
> checking for GLIB... yes
> ./configure: line 32020: syntax error near unexpected token `('
> ./configure: line 32020: `  for ac_var in `(set) 2>&1 | sed -n
> 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do'

That line comes from a very low-level autoconf macro in autoconf.m4.
It is technically valid shell, although cryptic.  That is, it is
valid in *my* configure script.  You could have a different version
of autoconf that has broken the generated shell script.

However, on the surface it looks more like your shell interpreter
(i.e., /bin/sh, which may not be bash) is buggy.



dave...


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: configure script fails to complete.

Bugzilla from evorster@gmail.com
On Mon, Sep 1, 2008 at 4:17 AM, David Schleef <[hidden email]> wrote:

> On Mon, Sep 01, 2008 at 12:54:41AM +0000, evert vorster wrote:
>> On to the issue:
>>
>> On running ./configure in the gstreamer and gst-plugins-base source
>> directories, it fails with these errors:
>>
>> gstreamer:
>> ----------snip ---------------------------------------
>> checking for GLIB... yes
>> ./configure: line 32020: syntax error near unexpected token `('
>> ./configure: line 32020: `  for ac_var in `(set) 2>&1 | sed -n
>> 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do'
>
> That line comes from a very low-level autoconf macro in autoconf.m4.
> It is technically valid shell, although cryptic.  That is, it is
> valid in *my* configure script.  You could have a different version
> of autoconf that has broken the generated shell script.
>
> However, on the surface it looks more like your shell interpreter
> (i.e., /bin/sh, which may not be bash) is buggy.

Thank you for the reply and added insight, Dave.

I will go and take a second look at autoconf and bash, and see where
it all went funny.

-Evert-

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel