mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Alexander Aring <alex.aring@googlemail.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] configure failed with sed version 4.2.2
Date: Mon, 7 Jan 2013 15:19:18 +0100	[thread overview]
Message-ID: <CAB_54W6XWA1GYJFBRKsKgtWRtBK3cU-VXihXqCLtPek-23nCcg@mail.gmail.com> (raw)


[-- 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

             reply	other threads:[~2013-01-07 14:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-07 14:19 Alexander Aring [this message]
2013-01-07 16:38 ` Marc Kleine-Budde
     [not found] <CAKNcqrgFfFzNuxhi8nJBXjoHq9Lmh8t6WFau_uA3gOQQax1H6A@mail.gmail.com>
2014-07-29 13:20 ` 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAB_54W6XWA1GYJFBRKsKgtWRtBK3cU-VXihXqCLtPek-23nCcg@mail.gmail.com \
    --to=alex.aring@googlemail.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox