bug-m4
[Top][All Lists]
Advanced

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

Re: In -P mode (m4)


From: Gary V. Vaughan
Subject: Re: In -P mode (m4)
Date: Thu, 16 May 2013 15:47:46 +0700



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]