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

Reply via email to