|
From: Elias A. <eli...@gm...> - 2013-06-28 11:24:05
|
Hello list,
Being frustrated for too long with the broken gnuplot that is included
in Ubuntu/Debian (still no GNU readline ...), I decided to compile it
myself. “./configure” went fine, but then “make” gives the following error:
c++ ... -c -o wxt_gui.o ...
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
...
And then a lot of errors similar to the last.
I found one discussion online about this issue
<https://groups.google.com/d/msg/comp.graphics.apps.gnuplot/LJY_gwMLjac/u2kdzqDazocJ>,
but the suggestion given there:
CXXFLAGS="-D__WXTGTK__" ./configure
does not help in my case.
Any other ideas?
Elias
PS: This is in Ubuntu 12.04
|
|
From: Leo B. <l_b...@us...> - 2013-06-28 11:50:24
|
>From mailnull Fri Jun 28 11:24:38 2013 Received-SPF: pass (sog-mx-3.v43.ch3.sourceforge.com: domain of lists.sourceforge.net designates 172.29.29.180 as permitted sender) client-ip=172.29.29.180; env...@li...; helo=lists.sourceforge.net; Received-SPF: neutral (sog-mx-3.v43.ch3.sourceforge.com: 128.131.124.2 is neither permitted nor denied by domain of gmail.com) client-ip=128.131.124.2; env...@gm...; helo=mail.ifp.tuwien.ac.at; Date: Fri, 28 Jun 2013 13:23:27 +0200 From: Elias Assmann <eli...@gm...> Content-Type: text/plain; charset="utf-8" Hello list, Being frustrated for too long with the broken gnuplot that is included in Ubuntu/Debian (still no GNU readline ...), I decided to compile it Elias, My installed version of gnuplot from the debian testing repo has readline compiled in. I don't know about ubuntu, though. Anyohw, have you tried using rlwrap? Emacs also has a nice gnuplot mode. Leo |
|
From: BBands <bb...@gm...> - 2013-06-28 15:18:29
|
Is this of any help? http://stackoverflow.com/questions/16492560/history-auto-complete-in-gnuplot John |
|
From: Dima K. <gn...@di...> - 2013-06-28 16:38:38
|
Elias Assmann <eli...@gm...> writes: > Hello list, > > Being frustrated for too long with the broken gnuplot that is included > in Ubuntu/Debian (still no GNU readline ...), I decided to compile it > myself. “./configure” went fine, but then “make” gives the following error: > > c++ ... -c -o wxt_gui.o ... > 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 > ... > > And then a lot of errors similar to the last. > > I found one discussion online about this issue > <https://groups.google.com/d/msg/comp.graphics.apps.gnuplot/LJY_gwMLjac/u2kdzqDazocJ>, > but the suggestion given there: > > CXXFLAGS="-D__WXTGTK__" ./configure > > does not help in my case. > > Any other ideas? Please post the output of dpkg -l 'libwx*' I am assuming you install the wx libraries via APT only. Is that correct? |
|
From: Elias A. <eli...@gm...> - 2013-07-01 09:30:57
|
On 06/28/2013 06:21 PM, Dima Kogan wrote: > Please post the output of > > dpkg -l 'libwx*' Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Description +++-====================-====================-======================================================== ii libwxbase2.8-0 2.8.12.1-6ubuntu2 wxBase library (runtime) - non-GUI support classes of wx ii libwxbase2.8-dev 2.8.12.1-6ubuntu2 wxBase library (development) - non-GUI support classes o un libwxgtk2.6-0-python <none> (no description available) ii libwxgtk2.8-0 2.8.12.1-6ubuntu2 wxWidgets Cross-platform C++ GUI toolkit (GTK+ runtime) > I am assuming you install the wx libraries via APT only. Is that correct? Correct. Elias |
|
From: Dima K. <gn...@di...> - 2013-07-01 19:58:00
|
Elias Assmann <eli...@gm...> writes: > On 06/28/2013 06:21 PM, Dima Kogan wrote: >> Please post the output of >> >> dpkg -l 'libwx*' > > Desired=Unknown/Install/Remove/Purge/Hold > | > Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend > |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) > ||/ Name Version Description > +++-====================-====================-======================================================== > ii libwxbase2.8-0 2.8.12.1-6ubuntu2 wxBase library (runtime) - > non-GUI support classes of wx > ii libwxbase2.8-dev 2.8.12.1-6ubuntu2 wxBase library > (development) - non-GUI support classes o > un libwxgtk2.6-0-python <none> (no description available) > ii libwxgtk2.8-0 2.8.12.1-6ubuntu2 wxWidgets Cross-platform > C++ GUI toolkit (GTK+ runtime) > >> I am assuming you install the wx libraries via APT only. Is that correct? > > Correct. OK. Thanks for that. What's supposed to happen is that ./configure should run 'wx-config --cxxflags'. That should return a string containing -D__WXGTK__, and this string should end up in the CXXFLAGS. So you can check for that. If you send the exact compilation command that is failing and the config.log, I can check for you. Also, post what ''wx-config --cxxflags' returns. dima |
|
From: Dima K. <gn...@di...> - 2013-07-03 17:28:03
|
Elias Assmann <eli...@gm...> writes: > Dima, > > On 07/01/2013 09:41 PM, Dima Kogan wrote: >> What's supposed to happen is that ./configure should run 'wx-config --cxxflags'. >> That should return a string containing -D__WXGTK__, and this string should end >> up in the CXXFLAGS. So you can check for that. If you send the exact compilation >> command that is failing and the config.log, I can check for you. Also, post what >> ''wx-config --cxxflags' returns. > > For some reason, ‘wx-config --cxxflags’ this does not include > -D__WXGTK__ like you said: > > $ wx-config --cxxflags > -I/usr/lib/x86_64-linux-gnu/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 Hi Elias. I know what's happening. It was actually clear from your previous email, but I didn't look closely enough. There're several flavors of the libwx...-dev packages in Debian. You only have 'libwxbase2.8-dev' installed, with has only the non-ui stuff in it, hence you're seeing problems. Install 'libwxgtk2.8-dev' as well, and your issues should go away. Let me know if something is still broken. There IS a bug in gnuplot here, since ./configure shouldn't have succeeded in this case. I'll look at fixing it. dima |
|
From: Dima K. <gn...@di...> - 2013-07-03 18:39:09
|
Patched: https://sourceforge.net/p/gnuplot/patches/629/ |