[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnuplot-info
Subject:    [Gnuplot-info] compile 4.6 rc1 on Ubuntu 11.04 (64 bit)
From:       "Becker, Martin" <M.Becker () stellba ! de>
Date:       2012-01-20 8:58:29
Message-ID: 13E09084BA74384E842DB8D3C1B7D9CD3E89F8 () win-data ! ad ! stellba ! de
[Download RAW message or body]

Hello altogether,

I'd like to test the release candidate on my Ubuntu 11.04 system (gcc
version 4.5.2). I configured without any special options.

I get errors related to wx, starting with:
c++ -DHAVE_CONFIG_H -I. -I..  -I../term -I../term -DBINDIR=
\"/usr/local/bin\" -DX11_DRIVER_DIR=\"/usr/local/libexec/gnuplot/4.6\"
-DQT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/4.6\" -DGNUPLOT_SHARE_DIR=
\"/usr/local/share/gnuplot/4.6\" -DGNUPLOT_PS_DIR=
\"/usr/local/share/gnuplot/4.6/PostScript\" -DGNUPLOT_JS_DIR=
\"/usr/local/share/gnuplot/4.6/js\" -DGNUPLOT_LUA_DIR=
\"/usr/local/share/gnuplot/4.6/lua\" -DCONTACT=
\"gnuplot-bugs@lists.sourceforge.net\" -DHELPFILE=
\"/usr/local/share/gnuplot/4.6/gnuplot.gih\" -DGNUPLOT_X11=\"`echo
gnuplot_x11 | sed 's,x,x,'`\" -DXAPPLRESDIR=\"/etc/X11/app-defaults/\"
-I/usr/include -pthread -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/cairo
-I/usr/include/pixman-1   -pthread -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/cairo
-I/usr/include/pixman-1    -g -O2
-I/usr/lib/wx/include/base-unicode-release-2.8 -I/usr/include/wx-2.8
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DwxUSE_GUI=0 -pthread -pthread
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/freetype2 -I/usr/include/libpng12
-I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1
-pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0
-I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/cairo
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1   -MT wxt_gui.o
-MD -MP -MF .deps/wxt_gui.Tpo -c -o wxt_gui.o `test -f
'wxterminal/wxt_gui.cpp' || echo './'`wxterminal/wxt_gui.cpp
In file included from wxterminal/wxt_gui.cpp:96:0:
wxterminal/wxt_gui.h:161:3: error: #error "wxt does not know if this
platform has to be mono- or multi-threaded"
In file included from wxterminal/wxt_gui.h:81:0,
                 from wxterminal/wxt_gui.cpp:96:
/usr/include/wx-2.8/wx/dataobj.h:95:26: error: ‘wxDataFormat' does not
name a type
/usr/include/wx-2.8/wx/dataobj.h:131:13: error: ‘wxDataFormat' does not
name a type
/usr/include/wx-2.8/wx/dataobj.h:137:32: error: ‘wxDataFormat' has not
been declared
/usr/include/wx-2.8/wx/dataobj.h:141:38: error: ‘wxDataFormat' does not
name a type
/usr/include/wx-2.8/wx/dataobj.h:141:52: error: ISO C++ forbids
declaration of ‘format' with no type
/usr/include/wx-2.8/wx/dataobj.h:145:36: error: ‘wxDataFormat' does not
name a type
/usr/include/wx-2.8/wx/dataobj.h:145:50: error: ISO C++ forbids
declaration of ‘format' with no type
/usr/include/wx-2.8/wx/dataobj.h:149:32: error: ‘wxDataFormat' does not
name a type
/usr/include/wx-2.8/wx/dataobj.h:149:44: error: ISO C++ forbids
declaration of ‘parameter' with no type
/usr/include/wx-2.8/wx/dataobj.h:156:28: error: ‘wxDataFormat' does not
name a type
/usr/include/wx-2.8/wx/dataobj.h:156:42: error: ISO C++ forbids
declaration of ‘format' with no type
/usr/include/wx-2.8/wx/dataobj.h:198:1: error: expected class-name
before ‘{' token
/usr/include/wx-2.8/wx/dataobj.h:202:30: error: ‘wxDataFormat' does not
name a type
/usr/include/wx-2.8/wx/dataobj.h:202:53: error: ISO C++ forbids
declaration of ‘format' with no type
/usr/include/wx-2.8/wx/dataobj.h:208:11: error: ‘wxDataFormat' does not
name a type
/usr/include/wx-2.8/wx/dataobj.h:209:26: error: ‘wxDataFormat' does not
name a type
/usr/include/wx-2.8/wx/dataobj.h:209:40: error: ISO C++ forbids
declaration of ‘format' with no type
/usr/include/wx-2.8/wx/dataobj.h:229:13: error: ‘wxDataFormat' does not
name a type
/usr/include/wx-2.8/wx/dataobj.h:233:32: error: ‘wxDataFormat' has not
been declared
/usr/include/wx-2.8/wx/dataobj.h:236:38: error: ‘wxDataFormat' does not
name a type
/usr/include/wx-2.8/wx/dataobj.h:236:50: error: ISO C++ forbids
declaration of ‘parameter' with no type
/usr/include/wx-2.8/wx/dataobj.h:238:36: error: ‘wxDataFormat' does not
name a type
/usr/include/wx-2.8/wx/dataobj.h:238:48: error: ISO C++ forbids
declaration of ‘parameter' with no type
/usr/include/wx-2.8/wx/dataobj.h:241:32: error: ‘wxDataFormat' does not
name a type
/usr/include/wx-2.8/wx/dataobj.h:241:44: error: ISO C++ forbids
declaration of ‘parameter' with no type
/usr/include/wx-2.8/wx/dataobj.h:247:5: error: ‘wxDataFormat' does not
name a type
/usr/include/wx-2.8/wx/dataobj.h:202:53: error: ‘wxFormatInvalid' was
not declared in this scope
/usr/include/wx-2.8/wx/dataobj.h:231:79: error: ‘Get' was not declared
in this scope
/usr/include/wx-2.8/wx/dataobj.h:234:76: error: ‘Get' was not declared
in this scope
/usr/include/wx-2.8/wx/dataobj.h: In constructor
‘wxDataObjectSimple::wxDataObjectSimple(const int&)':
/usr/include/wx-2.8/wx/dataobj.h:203:11: error: class
‘wxDataObjectSimple' does not have any field named ‘m_format'
/usr/include/wx-2.8/wx/dataobj.h: In member function ‘void
wxDataObjectSimple::SetFormat(const int&)':
/usr/include/wx-2.8/wx/dataobj.h:209:50: error: ‘m_format' was not
declared in this scope
/usr/include/wx-2.8/wx/dataobj.h: In member function ‘virtual void
wxDataObjectSimple::GetAllFormats(int*, wxDataObjectBase::Direction)
const':

output from 'cat config.log | grep -i wx':
----------------------
/tmp/ccwWx9R3.o: In function `main':
configure:11723: checking for wx-config
configure:11741: found /usr/bin/wx-config
configure:11754: result: /usr/bin/wx-config
config.status:1086: creating src/wxterminal/Makefile
configure:14941: result:   wxt terminal: yes 
ac_cv_path_WX_CONFIG=/usr/bin/wx-config
BUILD_WXWIDGETS_FALSE='#'
BUILD_WXWIDGETS_TRUE=''
CXXFLAGS='-g -O2 -I/usr/lib/wx/include/base-unicode-release-2.8
-I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-DwxUSE_GUI=0 -pthread -pthread -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/cairo
-I/usr/include/pixman-1   -pthread -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/cairo
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1  '
WX_CONFIG='/usr/bin/wx-config'
WX_LIBS='-pthread -Wl,-Bsymbolic-functions  -lwx_baseu_xml-2.8
-lwx_baseu_net-2.8 -lwx_baseu-2.8  -pthread -L/usr/lib/x86_64-linux-gnu
-lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0
-lgthread-2.0 -lrt -lglib-2.0   -pthread -L/usr/lib/x86_64-linux-gnu
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0
-lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo -lpango-1.0 -lfreetype
-lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
'
#define WXWIDGETS 1
----------------------

and the output of 'dpkg -l | grep -i wx':
----------------------
ii  libwxbase2.6-0                       2.6.3.2.2-5ubuntu2
wxBase library (runtime) - non-GUI support classes of wxWidgets toolkit
ii  libwxbase2.6-dev                     2.6.3.2.2-5ubuntu2
wxBase library (development) - non-GUI support classes of wxWidgets
toolkit
ri  libwxbase2.8-0                       2.8.11.0-0ubuntu8.1
wxBase library (runtime) - non-GUI support classes of wxWidgets toolkit
ii  libwxbase2.8-dev                     2.8.11.0-0ubuntu8.1
wxBase library (development) - non-GUI support classes of wxWidgets
toolkit
ii  libwxgtk2.6-0                        2.6.3.2.2-5ubuntu2
wxWidgets Cross-platform C++ GUI toolkit (GTK+ runtime)
ii  libwxgtk2.6-dev                      2.6.3.2.2-5ubuntu2
wxWidgets Cross-platform C++ GUI toolkit (GTK+ development)
ri  libwxgtk2.8-0                        2.8.11.0-0ubuntu8.1
wxWidgets Cross-platform C++ GUI toolkit (GTK+ runtime)
ii  libwxsvg0                            1:1.0.7-0ubuntu1
C++ library to create, manipulate and render SVG files
ii  python-wxglade                       0.6.3+rel-4
GUI designer written in Python with wxPython
ii  python-wxgtk2.8                      2.8.11.0-0ubuntu8
wxWidgets Cross-platform C++ GUI toolkit (wxPython binding)
ii  python-wxversion                     2.8.11.0-0ubuntu8
wxWidgets Cross-platform C++ GUI toolkit (wxPython version selector)
ii  wx2.6-headers                        2.6.3.2.2-5ubuntu2
wxWidgets Cross-platform C++ GUI toolkit (header files)
ii  wx2.8-headers                        2.8.11.0-0ubuntu8.1
wxWidgets Cross-platform C++ GUI toolkit (header files)
ii  wxmaxima                             0.8.5-2
GUI for the computer algebra system Maxima
----------------------

I seem to have a mixture of wx 2.6 and 2.8 installed. Is that a problem?

Thanks for your help!

Martin
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
gnuplot-info mailing list
gnuplot-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuplot-info

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic