On Sun, Aug 26, 2012 at 7:18 AM, Ashish Agarwal <agarwal1...@gmail.com> wrote:
> On Sat, Aug 25, 2012 at 10:12 AM, Philippe Strauss 
> <phili...@strauss-acoustics.ch> wrote:
>> build log:
>>
>> > /usr/bin/gm4: unrecognized option `--gnu'
>> > Try `/usr/bin/gm4 --help' for more information.
>> > autom4te: /usr/bin/gm4 failed with exit status: 1
>> > aclocal: error: autom4te failed with exit status: 1
>> > /usr/bin/gm4: unrecognized option `--gnu'
>> > Try `/usr/bin/gm4 --help' for more information.
>> > autom4te: /usr/bin/gm4 failed with exit status: 1
>>
>> my two available gm4 on osx 10.6 with macports
>>
>> philou@air:~$ /usr/bin/gm4 --gnu
>> /usr/bin/gm4: unrecognized option `--gnu'
>> Try `/usr/bin/gm4 --help' for more information.
>>
>> philou@air:~$ /opt/local/bin/gm4 --gnu
>> ^C
>
> So one solution would be to put /opt/local/bin earlier in your PATH than
> /usr/bin.

And if you don't want to do that globally for your account, you can
edit the PATH variable in etc/godi.conf to put it before /usr/bin.

I've also added the following to my /opt/godi/etc/godi.conf to better
support using MacPorts:

SEARCH_LIBS = /opt/local
GMAKE = /opt/local/bin/gmake
M4 = /opt/local/bin/gm4
SED = /opt/local/bin/gsed

(after installing the gmake, m4, and gsed ports, of course). I find
the SED line the most important, as OS X uses the BSD sed, which
doesn't take all the options (or regular expression extensions) that
GNU sed does (and which some packages use).

-- 
|>|\/|<
-------
David M. Cooke
david.m.co...@gmail.com
_______________________________________________
Godi-list mailing list
Godi-list@ocaml-programming.de
https://godirepo.camlcity.org/mailman/listinfo/godi-list

Reply via email to