From: Alan F. <al...@co...> - 2014-10-15 23:23:01
|
Hopefully this list is appropriate for this issue. Apologies if not. I recently installed wxidgets-3.0.1 and gnuplot-5.1 to my LinuxFromScratch system. No apparent issues installing wxwidgets. For installing gnuplot I followed instructions from: http://www.gnuplot.info/ http://sourceforge.net/projects/gnuplot/files/gnuplot/ http://www.gnuplot.info/development/index.html I did the following to get and compile the source code: export CVSROOT=:pserver:ano...@gn...:/cvsroot/gnuplot cvs login cvs -z3 checkout gnuplot ln -sfv qt5.conf /etc/xdg/qtchooser/default.conf export QT_SELECT=qt5 ln -sfv /opt/qt5/lib/qt5/bin /opt/qt5/bin ./prepare ./configure --prefix=/usr --with-tutorial --disable-wxwidgets make This compiled successfully and executed the demo programs without issues. However, without the --disable-wxwidgets switch make fails with: ####### In file included from /usr/include/gtk-2.0/gdk/gdkscreen.h:32:0, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from wxterminal/wxt_gui.h:183, from wxterminal/wxt_gui.cpp:96: /usr/include/gtk-2.0/gdk/gdktypes.h:114:39: error: conflicting declaration ‘typedef struct _GdkDrawable GdkWindow’ typedef struct _GdkDrawable GdkWindow; ^ In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0, from wxterminal/wxt_gui.h:75, from wxterminal/wxt_gui.cpp:96: /usr/include/wx-3.0/wx/defs.h:3412:31: note: previous declaration as ‘typedef struct _GdkWindow GdkWindow’ typedef struct _GdkWindow GdkWindow; ^ Makefile:877: recipe for target 'wxterminal/wxt_gui.o' failed make[3]: *** [wxterminal/wxt_gui.o] Error 1 make[3]: Leaving directory '/sources/gnuplot-4.6.5/src' Makefile:936: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/sources/gnuplot-4.6.5/src' Makefile:395: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/sources/gnuplot-4.6.5' Makefile:331: recipe for target 'all' failed make: *** [all] Error 2 ######### I have no clue what to do about the above. Is there a bug in the compilation software for wxwidgets or gnuplot? I've not found anything on Google. Thanks, Alan |