【发布时间】:2015-12-02 00:12:24
【问题描述】:
我从source forge page 下载了 gnuplot 5.0.1 (gnuplot-5.0.1.tar.gz) 的源文件。我还在我的 OS X 10.7.5 上安装了命令行工具,以便在 /usr/bin 文件夹中拥有 gcc 和 make。
我按照压缩包的INSTALL.gnu 文件中的安装说明进行操作:我运行configure 文件并输入make、make check、make install 和make clean。通过这些命令,gnuplot 位于/usr/local/bin/。
make check 命令在测试许多 gnuplot 脚本之前会在 shell 中输出很多行。我实际上可以想象这些情节,我认为“太好了,它有效”。所以我打开了一个新的终端shell并输入gnuplot开始使用它(终端自动设置为qt)。一个简单的plot sin(x) 失败。 Gnuplot 返回这些消息:
Could not start gnuplot_qt with path "/usr/local/libexec/gnuplot/5.0/gnuplot_qt"
Could not start gnuplot_qt with path "/usr/local/libexec/gnuplot/5.0/gnuplot_qt"
Could not connect to gnuplot_qt "" . Starting a new one
Could not start gnuplot_qt with path "/usr/local/libexec/gnuplot/5.0/gnuplot_qt"
Warning: slow font initialization . . . . . . . . .
Warning: slow font initialization . . . . . . . . .
Warning: slow font initialization . . . . . . . . .
Warning: slow font initialization . . . . . . . . .
…
如果我不关闭终端,警告消息会不断出现。
【问题讨论】:
标签: macos gnuplot command-line-tool