From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-we0-f171.google.com ([74.125.82.171]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1TsDXw-0000in-FY for ptxdist@pengutronix.de; Mon, 07 Jan 2013 15:19:26 +0100 Received: by mail-we0-f171.google.com with SMTP id u3so10231218wey.16 for ; Mon, 07 Jan 2013 06:19:18 -0800 (PST) MIME-Version: 1.0 Date: Mon, 7 Jan 2013 15:19:18 +0100 Message-ID: From: Alexander Aring Subject: [ptxdist] configure failed with sed version 4.2.2 Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0468049683==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de --===============0468049683== Content-Type: multipart/alternative; boundary=089e0122896cc2c3b304d2b383a0 --089e0122896cc2c3b304d2b383a0 Content-Type: text/plain; charset=UTF-8 Hello, i am using archlinux with GNU sed version 4.2.2 which generate with 'sed --version': sed (GNU sed) 4.2.2 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Jay Fenlason, Tom Lord, Ken Pizzini, and Paolo Bonzini. GNU sed home page: . General help using GNU software: . E-mail bug reports to: . Be sure to include the word ``sed'' somewhere in the ``Subject:'' field. This will fail on sed version check in configure.ac: SED_VERSION=`$SED --version 2>/dev/null | $SED -ne "s/.*version \([[0-9\.]]*\)/\1/p"` With command 'sed --version 2>/dev/null | sed -ne "s/.*version \([[0-9\.]]*\)/\1/p"' I got following output: "3 or later ." and configure failed with: checking sed version... configure: error: we need at least GNU sed 4.x GNU sed gets version string from gnulib see http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob;f=lib/version-etc.c;hb=dbed1625626c6d6f271b715f87fd0930d8e68c2f beginning at line 43. I don't see a "version" substring there, maybe it isn't the best way to match the sed version. Regards Alexander Aring --089e0122896cc2c3b304d2b383a0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello,

i am using archlinux with GNU sed version 4.= 2.2 which generate with 'sed --version':

sed (GNU sed) 4.2.2=
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GN= U GPL version 3 or later <h= ttp://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There= is NO WARRANTY, to the extent permitted by law.

Written by Jay Fenl= ason, Tom Lord, Ken Pizzini,
and Paolo Bonzini.
GNU sed home page: &l= t;http://www.gnu.org/software/= sed/>.
General help using GNU software: <http://www.gnu.org/gethelp/>.
E-mail bug reports to: <bug-sed@gnu.org>.
Be sure to include= the word ``sed'' somewhere in the ``Subject:'' field.


This will fail on sed version check in configure.ac:
SED_VERSION=3D`$SED --version 2>/dev/null | $SE= D -ne "s/.*version \([[0-9\.]]*\)/\1/p"`


With command = 'sed --version 2>/dev/null | sed -ne "s/.*version \([[0-9\.]]*\= )/\1/p"' I got following output:
"3 or later <http://gn= u.org/licenses/gpl.html>."

and configure failed with:checking sed version... configure: error: we need at least GNU sed 4.x


GNU sed gets version string from gnulib see
http://git.savannah.gnu.org/gi= tweb/?p=3Dgnulib.git;a=3Dblob;f=3Dlib/version-etc.c;hb=3Ddbed1625626c6d6f27= 1b715f87fd0930d8e68c2f
beginning at line 43.

I don't see a "version" substrin= g there, maybe it isn't the best way to match the sed version.

R= egards
Alexander Aring
--089e0122896cc2c3b304d2b383a0-- --===============0468049683== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============0468049683==--