Yes, the odd thing is that I do have a newer gm4 installed and on the PATH. If I run 'gm4' from the command line I do get the newer version, but the configuration step when building cairo, somehow, is specifically calling the older version on /usr/bin.
I thought about replacing the system gm4, but I feared it might break something later. Maybe it would be enough to do this just while installing cairo, then revert back. Well, thank you and philippe for the answers. I think I'll try to replace the system gm4 temporarily for now, instead of installing it by hand and using philippe's META, but it would make the life of everyone easier if this problem was tracked and fixed. -- []s, Andrei Formiga 2010/11/2 Salvati Sylvain <[email protected]>: > I also encountered this problem on mac OSX. The problem is that the > version of gm4 that is installed on mac OSX is 1.4.6 and that for some > reason the godi package for cairo requires a more recent one. I could > install cairo by simply replacing the OSX gm4 by the version 1.4.15 and > then everything went well afterwards. > > Hope this helps, > > Sylvain. > > Le 01/11/10 21:32, philippe a écrit : >> neither never been able to install cairo from godi, also using OSX 10.5 and >> 10.6 >> >> use the git repo and install by hand, I use: >> >> ./configure --with-lib-dir=/opt/godi311/lib/ocaml/site-lib >> >> and the hand cooked META for findlib: >> >> --8<-- >> name = "cairo" >> version = "1.0.1" >> description = "Bindings to the cairo library." >> archive(byte) = "cairo.cma" >> archive(native) = "cairo.cmxa" >> requires = "bigarray" >> >> package "lablgtk2" ( >> requires = "cairo lablgtk2" >> archive(byte) = "cairo_lablgtk.cma" >> archive(native) = "cairo_lablgtk.cmxa" >> ) >> --8<-- >> >> On Mon, Nov 1, 2010 at 8:42 PM, Andrei Formiga <[email protected]> wrote: >>> Hi, >>> >>> I'm trying to build godi-cairo on OS X Snow Leopard. I installed >>> cairo-devel from macports. At first, when I tried to build godi-cairo, >>> the configure step had trouble because the system autoconf would not >>> see the pkg-config macros (pkg-config installed from macports). So I >>> installed automake/autoconf/libtool from macports and they're first on >>> the path. However, the configure step fails on GODI because the system >>> m4 (older version) is being called: >>> >>> ### Building godi-cairo >>> ===> Cleaning for godi-cairo-1.2godi1 >>> => Checksum OK for ocaml-cairo-1.2.tar.gz. >>> ===> Extracting for godi-cairo-1.2godi1 >>> /bin/mkdir -p >>> /Users/andrei/Library/godi2/build/godi/godi-cairo/work/ocaml-cairo-1.2 >>> ===> Patching for godi-cairo-1.2godi1 >>> ===> Ignoring empty patch directory >>> ===> Configuring for godi-cairo-1.2godi1 >>> /usr/bin/gm4: unrecognized option `--gnu' >>> Try `/usr/bin/gm4 --help' for more information. >>> autom4te: /usr/bin/gm4 failed with exit status: 1 >>> aclocal: 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 >>> configure.sh: line 5: ./configure: No such file or directory >>> Error: Exec error: File >>> /Users/andrei/Library/godi2/build/godi/godi-cairo/./../../mk/bsd.pkg.mk, >>> line 1022: Command returned with non-zero exit code >>> Error: Exec error: File >>> /Users/andrei/Library/godi2/build/godi/godi-cairo/./../../mk/bsd.pkg.mk, >>> line 1375: Command returned with non-zero exit code >>> Error: Command fails with code 1: godi_console >>> >>> The m4 from macports is on /opt/local/bin and it does recognize the >>> --gnu option. It's funny that if I go to the directory >>> /Users/andrei/Library/godi2/build/godi/godi-cairo/work/ocaml-cairo-1.2 >>> and do the steps specified in the README there: aclocal -I support; >>> autoconf; ./configure, it does work. But somehow GODI fails with it. >>> >>> I have tried to look into this but I'm stuck. Did someone have similar >>> problems with godi + macports before? Any help is welcome. >>> >>> >>> >>> -- >>> []s, Andrei Formiga >>> >>> _______________________________________________ >>> Godi-list mailing list >>> [email protected] >>> https://godirepo.camlcity.org/mailman/listinfo/godi-list >>> >> _______________________________________________ >> Godi-list mailing list >> [email protected] >> https://godirepo.camlcity.org/mailman/listinfo/godi-list > > _______________________________________________ > Godi-list mailing list > [email protected] > https://godirepo.camlcity.org/mailman/listinfo/godi-list > -- []s, Andrei Formiga _______________________________________________ Godi-list mailing list [email protected] https://godirepo.camlcity.org/mailman/listinfo/godi-list
