Bug #23128 -I X11R6 include path missing in mysql-gui-common
Submitted: 10 Oct 2006 9:46 Modified: 24 Dec 2006 20:15
Reporter: Peter Marquardt Email Updates:
Status: No Feedback Impact on me:
Category:MySQL Workbench Preview Severity:S3 (Non-critical)
Version:5.0r4 OS:Linux (Linux)
Assigned to: Assigned Account CPU Architecture:Any
Tags: --enable-canvas, library/generic-canvas/source/Makefile.am

[10 Oct 2006 9:46] Peter Marquardt
When building mysql-gui-common with --enable-canvas everything in 
library/generic-canvas/source will fail to compile due to a missing -I/usr/X11R6/include in the commmandline.

I think library/generic-canvas/source/Makefile.am should be fixed, at least some X11-include path should be added


In file included from ../include/myx_gc_variant.h:26,
                 from ../include/myx_gc_datatypes.h:26,
                 from ../include/myx_gc_base.h:28,
                 from ../include/myx_gc_animation.h:26,
                 from myx_gc_animation.cpp:23:
../include/myx_gc.h:75:26: X11/Xlib.h: No such file or directory

How to repeat:
This might only be repeatable on LSF-Linux-Boxes, and is highly dependable on default-include of gcc.

library/generic-canvas/source/Makefile.am says:

INCLUDES= -I../ftgl/include\
         -I../include @GLIB_CFLAGS@ @GCDEPS_CFLAGS@\

GLIB_CFLAGS and GCDEPS_CFLAGS don't include  any X11-include paths (why should they anyway?!)

Suggested fix:
dirty hack:

perl -pix -e 's,^INCLUDES= ,INCLUDES= -I/usr/X11R6/include ,' library/generic-canvas/source/Makefile.am


best fix:

remove autoconf/automake  8-)

suggested fix: 

some autoconf/automake god should be able to fix this easyly
[10 Oct 2006 10:44] Peter Marquardt
same problem with library/grt-wb-controller/source/Makefile.am
[24 Nov 2006 20:10] Sveta Smirnova
Thank you for the report.

Please try using current 5.0.6 version.
[25 Dec 2006 0:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".