bug-m4
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: In -P mode (m4)


From: John Sørland
Subject: RE: In -P mode (m4)
Date: Thu, 23 May 2013 20:48:10 +0200

Thanks!

 

This time = SUCCESS! J

 

Br,

John..

 

From: Gary V. Vaughan [mailto:address@hidden
Sent: 16. mai 2013 10:48
To: John Sørland
Cc: address@hidden
Subject: Re: In -P mode (m4)

 

 


On 15 May 2013, at 16:42, John Sørland <address@hidden> wrote:

During ./configure of flex-2.5.37 on the raspberrypi I get an error:

 

“M4 that supports –P”

 

 

M4 (latest) is built with success…

Any tip/hint?

 

 $ export M4=`which gm4`

 $ if test -z "$M4" || test -z "`$M4 --help 2>&1 |grep prefix-builtins 2>/dev/null`"; then M4=`which m4`; fi

 $ $M4 --help |grep prefix-builtins

 

If the last command above is a string containing prefix-builtins, they building flex with M4 set like that. Otherwise download ftp://ftp.gnu.org/gnu/m4/m4-1.4.16.tar.gz, unpack it, configure with:

 

 $ ./configure --prefix=$HOME --program-transform-name='s|^|g|'

 $ make all install

 $ export M4=$HOME/bin/gm4

 

And try building flex again.

 

HTH,  
-- 

Gary V. Vaughan (gary AT vaughan DOT pe)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]