[cairo-bugs] [Bug 95333] New: cairo compilation messed up with opam prefix "4.03.0+flambda"

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 10 07:56:12 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=95333

            Bug ID: 95333
           Summary: cairo compilation messed up with opam prefix
                    "4.03.0+flambda"
           Product: cairo
           Version: 1.2.0
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: chris at chris-wilson.co.uk
          Reporter: r.3 at libertysurf.fr
        QA Contact: cairo-bugs at cairographics.org

Hello

compilation of cairo fails with opam switch 4.03.0+flambda.
Cairo/autoconf looks for lablgtk2 directory, which is in my case
/home/src/Ocaml/opam-ocaml-4.03.0/4.03.0+flambda/lib/lablgtk2/.
The problem seems to be the "+" (that comes from opam switch name), which seems
to be translated to some other standard path name :

ocamlc.opt -ccopt "-g -pthread -I/usr/include/gtk-2.0
-I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/cairo
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/home/src/Ocaml/opam-ocaml-4.03.0/4.03.0/home/src/Ocaml/opam-ocaml-4.03.0/4.03.0+flambda/lib/ocaml/flambda/lib/lablgtk2/"
ml_cairo_lablgtk.c
ml_cairo_lablgtk.c:14:22: fatal error: wrappers.h: Aucun fichier ou dossier de
ce type
#include "wrappers.h"

Best regards

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo-bugs/attachments/20160510/23795402/attachment.html>


More information about the cairo-bugs mailing list