mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] configure failed with sed version 4.2.2
@ 2013-01-07 14:19 Alexander Aring
  2013-01-07 16:38 ` Marc Kleine-Budde
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Aring @ 2013-01-07 14:19 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 1376 bytes --]

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 <http://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 Fenlason, Tom Lord, Ken Pizzini,
and Paolo Bonzini.
GNU sed home page: <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=`$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 <http://gnu.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/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

[-- Attachment #1.2: Type: text/html, Size: 2025 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-07-31 14:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAKNcqrgFfFzNuxhi8nJBXjoHq9Lmh8t6WFau_uA3gOQQax1H6A@mail.gmail.com>
2014-07-29 13:20 ` [ptxdist] configure failed with sed version 4.2.2 Marc Kleine-Budde
2014-07-29 14:39   ` Kristof Verdonck
2014-07-31  8:34     ` Marc Kleine-Budde
2014-07-31 14:53       ` Kristof Verdonck
2013-01-07 14:19 Alexander Aring
2013-01-07 16:38 ` Marc Kleine-Budde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox