Hi, my installation of gnuplot on one machine ("macbook") is unable to use the X11 terminal. However, what seems to be the same version of the port can use it perfectly well on another machine ("ibook"). Neither installation is of the no_x11 variant. macbook:~$ port installed gnuplot The following ports are currently installed: gnuplot @4.0.0_3+darwin_8 (active) macbook:~$ gnuplot [snip welcome message] Terminal type set to 'unknown' gnuplot> set terminal x11 ^ unknown or ambiguous terminal type; type just 'set terminal' for a list However, on the working machine: ibook:~$ port installed gnuplot The following ports are currently installed: gnuplot @4.0.0_3+darwin_8 (active) ibook:~$ gnuplot [snip welcome message] Terminal type set to 'aqua' gnuplot> set terminal x11 Terminal type set to 'x11' Options are '0' gnuplot> plot sin(x) [plots!] I've done a "port selfupdate && port uninstall gnuplot && port clean gnuplot && port install gnuplot" on the macbook with no effect. Does anyone know what's going on here? I see two possible leads: - the ibook installation is setting it's terminal to 'aqua' on its own (no .gnuplot file!), so could it really be a different version? - the macbook installation is a tree copied from a backup after I had to wipe the disk. I copied the tree back across before reinstalling X11 (it is now installed!). Could this order of events be the cause of the problem? -- Mike
On Mar 14, 2007, at 9:16 , Michael Williams wrote:
my installation of gnuplot on one machine ("macbook") is unable to use the X11 terminal. However, what seems to be the same version of the port can use it perfectly well on another machine ("ibook"). Neither installation is of the no_x11 variant.
My guess is that the problem machine does not have the X11 headers/ libraries installed. You could test this theory by looking at the config.log files generated on the two machines. Do a "port uninstall gnuplot && port configure gnuplot", then "cd `port dir gnuplot`" will get you a few directory levels above where config.log should be. Don't forget to finish the reinstallation with a "port install gnuplot" after you've looked at the config.log files! :-) Dave
On Wed, Mar 14, 2007 at 09:31:34AM -0700, David MacMahon wrote:
My guess is that the problem machine does not have the X11 headers/ libraries installed.
You were right. I'd forgotten to install X11SDK.pkg when rebuilding the machine. Thanks very much!
You could test this theory by looking at the config.log files generated on the two machines. Do a "port uninstall gnuplot && port configure gnuplot", then "cd `port dir gnuplot`" will get you a few directory levels above where config.log should be. Don't forget to finish the reinstallation with a "port install gnuplot" after you've looked at the config.log files! :-)
Thanks for the guidance for how I could have solved this problem myself. Indeed, config.log in the gnuplot build directory was complaining that it was unable to find X11. -- Mike
participants (2)
-
David MacMahon
-
Michael Williams