GNOME Bugzilla – Bug 591310
Configure doesn't work on Ubuntu 8.04
Last modified: 2009-08-18 09:44:19 UTC
Please describe the problem: i run configure script but i get the error ./configure: line 24732: syntax error near unexpected token `(' ./configure: line 24732: ` for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do' configure failed Running autogen.sh gives the same error. Steps to reproduce: 1. run configure script 2. 3. Actual results: I get the error ./configure: line 24732: syntax error near unexpected token `(' ./configure: line 24732: ` for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do' configure failed Expected results: configure generates Makefiles Does this happen every time? yes Other information:
*** Bug 591311 has been marked as a duplicate of this bug. ***
Do you use a tarball release of GStreamer? Which version? If not, could you attach the configure script that is generated by autoconf to this bug? Line 24732 of configure from gstreamer 0.10.24 is a different one than the one mentioned in the original bugreport. You might need to use a newer autoconf. Also, what's the output of /bin/sh --version
I use tarball http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-0.10.24.tar.bz2 my build tools are + check for build tools checking for autoconf >= 2.52 ... found 2.61, ok. checking for automake >= 1.7 ... found 1.9.6, ok. checking for autopoint >= 0.17 ... found 0.17, ok. checking for libtoolize >= 1.5.0 ... found 1.5.26, ok. checking for pkg-config >= 0.8.0 ... found 0.22, ok. I cannot get the version of /bin/sh because i have not found the option to do it or to display the help with available options.
Created attachment 140988 [details] The configure script generated by autoconf
"Works for me" Make sure that your /bin/sh is either bash or dash.
My /bin/sh is a symbolic link to dash.
This is an autoconf bug I guess. The lines that don't work for you are from autoconf's configure check cache mechanism. You should probably file this bug again against autoconf. Apart from that, does everything work if you use the configure script from the tarball instead of generating your own?
With the configure that is packaged with the tarball i get the error ./configure: line 25368: syntax error near unexpected token `(' ./configure: line 25368: ` for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do'