<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - cairo compilation messed up with opam prefix "4.03.0+flambda""
href="https://bugs.freedesktop.org/show_bug.cgi?id=95333">95333</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>cairo compilation messed up with opam prefix "4.03.0+flambda"
</td>
</tr>
<tr>
<th>Product</th>
<td>cairo
</td>
</tr>
<tr>
<th>Version</th>
<td>1.2.0
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Assignee</th>
<td>chris@chris-wilson.co.uk
</td>
</tr>
<tr>
<th>Reporter</th>
<td>r.3@libertysurf.fr
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>cairo-bugs@cairographics.org
</td>
</tr></table>
<p>
<div>
<pre>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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>