Re: /Library/Developer/CommandLineTools/usr/bin/gm4: unrecognized option `--gnu'

Eric Blake <[email protected]> Wed, 01 Apr 2015 08:01:28 -0600
Newsgroups gmane.comp.gnu.m4.general
Organization Red Hat, Inc.
Message-ID <[email protected]>
On 04/01/2015 07:53 AM, Richard Sinclair wrote:
> I am making an attempt in compiling phalcon.so
> <https://github.com/phalcon/cphalcon>  version 1.3.4.
> 
> During config I get:
> 
> /Library/Developer/CommandLineTools/usr/bin/gm4: unrecognized option `--gnu'

What version of m4 is that?  gm4 --version would say.  --gnu was added
in 1.4.12.  You may also want to report your problem to the phalcon
folks, in case they are interested in supporting older m4 versions.

> 
> I believe the dev originals must have used something like ubuntu to compile
> this and not osx yosemite.

I don't use OS X (not free software), so I can't say for sure, but I
suspect there are pre-built versions of newer m4 for your platform.

> 
> Could you recommend a version of m4 I could install into OS X yosemite that
> would recognise the option Œ‹gnu¹.

You could always build it yourself; 1.4.17 is here:
http://ftp.gnu.org/gnu/m4/

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc (application/pgp-signature, 604 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCAAGBQJVG/o4AAoJEKeha0olJ0NqhqEH/1O9BuoNIqWM65Rxd+pSKc4t
nU3bdXGM8fexwcn3RCXDBw1DWSrdmgVDW3dBNPZK0RkRg1bjeVUQwHI1EEg9ASfL
PYYUInOxATXf6BPDLoRGenSbQWgOuEq6aebPdUgbxphCf8chfrT2BDgoS8Jxb5Rf
vxI/dFcx/xjqjTfxk7g7Y92/j6Phz53h0rfhrgFvWJ5i/c1R7jzGFRiV8BgWz46X
IqTMyhj9ZB6QaccoY6fS5hC6hKPZvCS7IKwDNxdTOSa0prGYrfxhckq6MuszzPT0
qn7/92zFCK8iId9e7c3OK4sylz6XNmyZ/Y+DYauEZsUmvX8glBcDxjft670g378=
=yZnW
-----END PGP SIGNATURE-----