From: Greg Heilers on 1 Mar 2010 19:19 I have been playing around with gnuplot, but do not like the default x11 teminal. The default wxt terminal in my Debian setup is preferable. However, that option does not seem to work with my default Slack 12.2 install: ...... gnuplot> set term wxt ^ unknown or ambiguous terminal type; type just 'set terminal' for a list ...... I do not seem to have that option, as there is no "wxt" type listed: ...... (abridged) tkcanvas Tk/Tcl canvas widget [perltk] [interactive] tpic TPIC -- LaTeX picture environment with tpic \specials unknown Unknown terminal type - not a plotting device vttek VT-like tek40xx terminal emulator x11 X11 Window System xlib X11 Window System (gnulib_x11 dump) ...... I *do* have wxWidgets installed, but do not know if that matters or not. An hints to point me in the right direction? Thanks.
From: Henrik Carlqvist on 2 Mar 2010 02:30 Greg Heilers <gheilersNOSPAM(a)NOSPAMearthlink.net> wrote: > gnuplot> set term wxt > ^ > unknown or ambiguous terminal type; type just 'set terminal' for > I do not seem to have that option, as there is no "wxt" type listed: > I *do* have wxWidgets installed, but do not know if that matters or not. What does matter is probably if wxWidgets was installed at compile time, and most of all if gnuplot was configured to include that feature during compile time. As wxWidgets is not part of the standard Slackware installation it is a rather safe bet to say that gnuplot included with Slackware was compiled without support for wxWidgets. So I guess that if you want wxWidgets support in gnuplot you do not only have to install wxWidgets but also recompile gnuplot. regards Henrik -- The address in the header is only to prevent spam. My real address is: hc3(at)poolhem.se Examples of addresses which go to spammers: root(a)localhost postmaster(a)localhost
From: geep on 2 Mar 2010 12:25 On Tue, 02 Mar 2010 08:30:00 +0100, Henrik Carlqvist wrote: > Greg Heilers <gheilersNOSPAM(a)NOSPAMearthlink.net> wrote: >> gnuplot> set term wxt >> ^ >> unknown or ambiguous terminal type; type just 'set terminal' >> for > >> I do not seem to have that option, as there is no "wxt" type listed: > >> I *do* have wxWidgets installed, but do not know if that matters or >> not. > > What does matter is probably if wxWidgets was installed at compile time, > and most of all if gnuplot was configured to include that feature during > compile time. As wxWidgets is not part of the standard Slackware > installation it is a rather safe bet to say that gnuplot included with > Slackware was compiled without support for wxWidgets. > > So I guess that if you want wxWidgets support in gnuplot you do not only > have to install wxWidgets but also recompile gnuplot. > > regards Henrik Absolutely. I adapted Slackware's gnuplot.SlackBuild and it works fine with wxWidgets. --enable-wxwidgets \ is needed for ./configure. If wxGTK is installed in a strange place you might also need --with-wx-config="/wherever_you_put_it/wxGTKx.x.x/bin" \ This is the directory where wx-config lives. I use gnuplot 4.4rc1 with wxGTK2.8.4. Also with wxMaxima, which is great friend of gnuplot. Cheers, Peter
From: Mikhail Zotov on 3 Mar 2010 08:27 On Mon, 01 Mar 2010 18:19:33 -0600 Greg Heilers <gheilersNOSPAM(a)NOSPAMearthlink.net> wrote: > I have been playing around with gnuplot, but do not like the default > x11 teminal. The default wxt terminal in my Debian setup is > preferable. However, that option does not seem to work with my > default Slack 12.2 install: > > ..... > > gnuplot> set term wxt > ^ > unknown or ambiguous terminal type; type just 'set terminal' > for a list .... > I *do* have wxWidgets installed, but do not know if that matters or > not. > > An hints to point me in the right direction? By default, wxwidgets are enabled if they are found when gnuplot is compiled. No special options are needed to be passed to ./configure. The stock Slack-12.2 gnuplot does not support wxwidgets because Slack does not include them. Thus, as Henrik has already pointed out, you just have to recompile gnuplot. No changes to the build script (perhaps, except for BUILD) are needed. -- Mikhail
From: Franz Sauerzopf on 3 Mar 2010 11:06
recompiling gnuplot is a _must_ anyways, because of the missing readline functionality. Set "--with-readline=gnu" instead of the "--with-readline=builtin", which is a pita at best. Good luck Franz |