[gstreamer-bugs] [Bug 378931] GStreamer does not correctly detect Bison on Solaris 9

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sat Jan 6 04:36:50 PST 2007


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=378931

  GStreamer | gstreamer (core) | Ver: 0.10.10


Bjoern Voigt changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |UNCONFIRMED




------- Comment #5 from Bjoern Voigt  2007-01-06 12:35 UTC -------
Here is the output of the above commands (SunOS 5.9):

$ echo 'bison (GNU Bison) 1.875d' | sed 's/^.*) //'
1.875d
$ echo 'bison (GNU Bison) 1.875d' | sed 's/^.*) //' | sed 's/[a-zA-Z]*$//'
1.875
$ echo 'bison (GNU Bison) 1.875d' | sed 's/^.*) //' | sed 's/[a-zA-Z]*$//' |
cut -d' ' -f1
1.875
$ which cut
/usr/bin/cut
which tr
$ /usr/ucb/tr
/usr/ucb/tr

The version number is right using the above 'sed' commands.  

But configure (near line 25022) contains an error:

   bison_version=`$BISON_PATH --version | head -n 1 | sed 's/^.*) //' | sed
's/a-zA-Z*$//' | cut -d' ' -f1`

Instead of "sed 's/a-zA-Z*$//'" we need sed 's/[a-zA-Z]*$//' (like in the test
commands). common/m4/gst-parser.m4:12 has this right. 

I think we have a M4 quoting problem here. The quoting problem (within autoconf
processing from common/m4/gst-parser.m4 to configure) can be seen on Linux too.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email




More information about the Gstreamer-bugs mailing list