google/crush-tools

possible issue with m4, FreeBSD 7.0 and crush-2009-01

Opened this issue · 1 comments

What steps will reproduce the problem?
1. ./configure
2. make

What is the expected output? What do you see instead?

expecting make to complete, instead I get this:

/usr/bin/m4 -D"CRUSH_PERL_PATH=/usr/bin/perl" --prefix-builtins 
-I./../perllib hackery.m4  crush_version.pl > fieldsplit
m4: illegal option -- -
usage: m4 [-d flags] [-t name] [-gs] [-D name[=value]]...
          [-U name]... [-I dirname]... file...
*** Error code 1


What version of the product are you using? On what operating system?

crush-2009-01
FreeBSD 7.0-RELEASE

Please provide any additional information below.

the version of m4 installed does not appear to support the
--prefix-builtins option

[cglass@oddjob ~/crush-2009-01]$ pkg_info | grep m4
m4-1.4.13,1         GNU m4

I am not sure if this is a general problem but I have noticed that the
--prefix-builtins option is missing in FreeBSD 8.0-RELEASE also.

I have had no problems building crush on linux.

Any help would be appreciated especially if this is a known problem, please
excuse me if I have made an obvious mistake.

Thanks

Charles

Original issue reported on code.google.com by charlese...@gmail.com on 28 Dec 2009 at 7:39

managed to build successfully by removing '--prefix-builtins' from the makefile.


Original comment by charlese...@gmail.com on 28 Dec 2009 at 8:02