mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] ptxdist-2012.03.0 checking sed version... configure: error: we needat least GNU sed 4.x
@ 2014-02-04 15:36 Bilal TAŞ
  2014-02-04 16:17 ` Michael Olbrich
  0 siblings, 1 reply; 7+ messages in thread
From: Bilal TAŞ @ 2014-02-04 15:36 UTC (permalink / raw)
  To: ptxdist

Hello,

I'm trying install ptxdist-2012.03.0 on ubuntu 13.04 X64  I see this error.

./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for ptxdist patches... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking for library containing regcomp... none required
checking for library containing mvaddch... -lncurses
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking menu.h usability... yes
checking menu.h presence... yes
checking for menu.h... yes
checking whether #! works in shell scripts... yes
checking for bash... /bin/bash
checking for sed... /usr/bin/sed
checking sed version... configure: error: we need at least GNU sed 4.x

but I checked sed was installed /usr/bin and version sed (GNU sed) 4.2.2

Thanks


-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] ptxdist-2012.03.0 checking sed version... configure: error: we needat least GNU sed 4.x
  2014-02-04 15:36 [ptxdist] ptxdist-2012.03.0 checking sed version... configure: error: we needat least GNU sed 4.x Bilal TAŞ
@ 2014-02-04 16:17 ` Michael Olbrich
  2014-03-23 10:15   ` Estela Gallardo
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Olbrich @ 2014-02-04 16:17 UTC (permalink / raw)
  To: ptxdist

Hi,

On Tue, Feb 04, 2014 at 05:36:48PM +0200, Bilal TAŞ wrote:
> I'm trying install ptxdist-2012.03.0 on ubuntu 13.04 X64  I see this error.
> 
> ./configure
[...]
> checking for sed... /usr/bin/sed
> checking sed version... configure: error: we need at least GNU sed 4.x
> 
> but I checked sed was installed /usr/bin and version sed (GNU sed) 4.2.2

The check for the sed fails for newer sed versions have a different version
string. This was fixed in ptxdist-2013.01.0. If you need to use older
versions, then you need to backport the relveant fix (git commit
"2a89985 configure.ac: change regex for sed version")

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] ptxdist-2012.03.0 checking sed version... configure: error: we needat least GNU sed 4.x
  2014-02-04 16:17 ` Michael Olbrich
@ 2014-03-23 10:15   ` Estela Gallardo
  2014-03-23 11:15     ` Alexander Aring
  0 siblings, 1 reply; 7+ messages in thread
From: Estela Gallardo @ 2014-03-23 10:15 UTC (permalink / raw)
  To: ptxdist

Michael Olbrich <m.olbrich@...> writes:


> The check for the sed fails for newer sed versions have a different version
> string. This was fixed in ptxdist-2013.01.0. If you need to use older
> versions, then you need to backport the relveant fix (git commit
> "2a89985 configure.ac: change regex for sed version")
> 
> Michael
> 

My problem is that there isn't an OSELAS.BSP 2013.01.0 version, so I can't
change the ptxdist version. And I don't know what I don't understand what I
have to do: what is git commit 2a89985, how can I see it?  



-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] ptxdist-2012.03.0 checking sed version... configure: error: we needat least GNU sed 4.x
  2014-03-23 10:15   ` Estela Gallardo
@ 2014-03-23 11:15     ` Alexander Aring
  2014-03-23 12:07       ` Alexander Aring
  2014-03-23 17:28       ` Alexander Aring
  0 siblings, 2 replies; 7+ messages in thread
From: Alexander Aring @ 2014-03-23 11:15 UTC (permalink / raw)
  To: ptxdist

Hi Estela,

On Sun, Mar 23, 2014 at 10:15:05AM +0000, Estela Gallardo wrote:
> Michael Olbrich <m.olbrich@...> writes:
> 
> 
> > The check for the sed fails for newer sed versions have a different version
> > string. This was fixed in ptxdist-2013.01.0. If you need to use older
> > versions, then you need to backport the relveant fix (git commit
> > "2a89985 configure.ac: change regex for sed version")
> > 
> > Michael
> > 
> 
> My problem is that there isn't an OSELAS.BSP 2013.01.0 version, so I can't
> change the ptxdist version. And I don't know what I don't understand what I
> have to do: what is git commit 2a89985, how can I see it?  
> 

I found this issue, because I use a bleeding edge distribution. :-)

You can find the commit in the git repository of ptxdist. There exist a
web interface for this so you can see it also at [0]. Or simple run "git
log -p 2a89985" in the ptxdist git repository which can you checkout
with "git clone git://git.pengutronix.de/git/ptxdist.git". Sorry if
my words are too technical.

The page on [0] will also show you a diff file so you can see the change.

Nevertheless when I found that issue, Michael Olbrich generate a fix
release for the stable version [1].

So you use ptxdist version 2012.03.0 and there is a huge change between
ptxdist-2012.03.0 and ptxdist-2012.12.1, of course there are many other
bug fixes between these versions. Nevertheless I think your BSP was
tested for ptxdist-2012.03.0 and there exists a easy way to fix that.
:-)

run the following:

i) git clone git://git.pengutronix.de/git/ptxdist.git - checkout ptxdist

ii) cd ptxdist - change current working directory into the ptxdist repository

iii) git checkout ptxdist-2012.03.0 - checkout your bsp ptxdist version

iv) git cherry-pick 2a89985 - grab the fix commit

v) ./autogen.sh - generate autotools files for the buildsystem, you will
		  need that because the git directory doesn't contains
		  these files.

vi) install ptxdist in the usual way (./.configure ... && make && make install)

vii) there should be now a new ptxdist binary in your $PATH on correct
    install path. Migrate the bsp for that (That's okay because we know
    there was only one change and this is the bugfix for the buildsystem
    and doesn't change anything in ptxdist).

- Alex

[0] http://git.pengutronix.de/?p=ptxdist.git;a=commitdiff;h=2a89985c97422af3569eb6d268e3ccdc9c3fb0e5;hp=11e79705d132e2fcfc95eec468f4d4289578ff63
[1] http://www.ptxdist.org/software/ptxdist/download/ptxdist-2012.12.1.tar.bz2

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] ptxdist-2012.03.0 checking sed version... configure: error: we needat least GNU sed 4.x
  2014-03-23 11:15     ` Alexander Aring
@ 2014-03-23 12:07       ` Alexander Aring
  2014-03-23 17:28       ` Alexander Aring
  1 sibling, 0 replies; 7+ messages in thread
From: Alexander Aring @ 2014-03-23 12:07 UTC (permalink / raw)
  To: ptxdist

On Sun, Mar 23, 2014 at 12:15:51PM +0100, Alexander Aring wrote:
> vi) install ptxdist in the usual way (./.configure ... && make && make install)
> 

Sorry, there this should be ./configure and not ./.configure :-) I think
you know what I mean.

Cheers
Alex

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] ptxdist-2012.03.0 checking sed version... configure: error: we needat least GNU sed 4.x
  2014-03-23 11:15     ` Alexander Aring
  2014-03-23 12:07       ` Alexander Aring
@ 2014-03-23 17:28       ` Alexander Aring
  2014-03-23 17:55         ` Alexander Aring
  1 sibling, 1 reply; 7+ messages in thread
From: Alexander Aring @ 2014-03-23 17:28 UTC (permalink / raw)
  To: ptxdist

oh nice, somebody stole my fabulous answer [0]. Oh that's funny, isn't
it?

http://askubuntu.com/questions/438026/sed-not-found-but-already-installed

- Alex

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] ptxdist-2012.03.0 checking sed version... configure: error: we needat least GNU sed 4.x
  2014-03-23 17:28       ` Alexander Aring
@ 2014-03-23 17:55         ` Alexander Aring
  0 siblings, 0 replies; 7+ messages in thread
From: Alexander Aring @ 2014-03-23 17:55 UTC (permalink / raw)
  To: ptxdist

On Sun, Mar 23, 2014 at 06:28:50PM +0100, Alexander Aring wrote:
> oh nice, somebody stole my fabulous answer [0]. Oh that's funny, isn't
it refers to this mailinglist so sorry that's fine :-) Thanks for this
guy (or girl) who ever this was, you are great!

- Alex

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2014-03-23 17:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-04 15:36 [ptxdist] ptxdist-2012.03.0 checking sed version... configure: error: we needat least GNU sed 4.x Bilal TAŞ
2014-02-04 16:17 ` Michael Olbrich
2014-03-23 10:15   ` Estela Gallardo
2014-03-23 11:15     ` Alexander Aring
2014-03-23 12:07       ` Alexander Aring
2014-03-23 17:28       ` Alexander Aring
2014-03-23 17:55         ` Alexander Aring

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