Bug #39551 Workbench Linux Alpha 1 doesn't build on LinuxFrom Scratch
Submitted: 20 Sep 2008 4:55 Modified: 19 Dec 2013 18:50
Reporter: Bruce Dubbs Email Updates:
Status: Unsupported Impact on me:
None 
Category:MySQL Workbench Severity:S2 (Serious)
Version:5.1 Alpha OS:Linux (LinuxFromScratch)
Assigned to: CPU Architecture:Any

[20 Sep 2008 4:55] Bruce Dubbs
Description:
Early build error:

g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/X11R6/include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/X11R6/include -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/atkmm-1.6 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/cairomm-1.0 -DORBIT2=1 -pthread -I/usr/include/libgnome-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I../../../backend -Wall -ggdb3 -MT mdc_area_group.lo -MD -MP -MF .deps/mdc_area_group.Tpo -c mdc_area_group.cpp  -fPIC -DPIC -o .libs/mdc_area_group.o
mdc_area_group.cpp: In member function 'void mdc::AreaGroup::repaint_contents(const mdc::Rect&, bool)':
mdc_area_group.cpp:51: error: no match for 'operator!=' in 'iter != std::list<_Tp, _Alloc>::rend() [with _Tp = mdc::CanvasItem*, _Alloc = std::allocator<mdc::CanvasItem*>]()'

How to repeat:
Install all dependencies.
./configure (completes without error)
make

Using gcc version 4.0.2.
[19 Nov 2008 15:40] MySQL Verification Team
I was able to build on Ubuntu 8.10 the package for 5.1.4?. If you tried to build prior version please try 5.1.4. Thanks in advance.
[19 Nov 2008 19:34] Bruce Dubbs
Just saying that it builds on one specific distro is not really satisfactory.  Does it build on RedHat?  Does is build on SUSE?  

I do probably have a problem in that some dependency is not current enough, but the issue is that configure does not identify it.  What needs to be done is to go through each package that configure checks for and make the Ubuntu 8.10 version of that package the minimum version and have configure check for that.

In any case, the problem is, as the report says, that on some systems operator != is not defined for
 
std::list<_Tp, _Alloc>::rend() where: 
  _Tp = mdc::CanvasItem* 
  Alloc = std::allocator<mdc::CanvasItem*>]()

You may just want to close this Bug as I don't have time to trace down what the dependency is.
[4 Dec 2008 17:41] Susanne Ebrecht
Many thanks for writing a feature request.

Workbench for Linux is still in development state. At the moment we only support Debian/Ubuntu and Fedora.

Anyway, we are thankful for every bug report we get for other distributions.