在使用 Homebrew 在我的 Mac 上安装 gnuplot 后,我注意到它向 configure
文件传递了许多参数。更确切地说,这是我在终端上看到的输出。
$ brew install gnuplot
==> Downloading http://downloads.sourceforge.net/project/gnuplot/gnuplot/4.6.3/gnuplot-4.6.3.tar.gz
Already downloaded: /Library/Caches/Homebrew/gnuplot-4.6.3.tar.gz
==> ./configure --prefix=/usr/local/Cellar/gnuplot/4.6.3 --with-readline=/usr/local/opt/readline --with-gd=/usr/local/opt/gd --disable-wxwidgets --without-cairo --without-latex --without-tutorial
然后我明白了为什么我在我的Mac上的版本比我在Ubuntu上拥有的版本要差。因此,在浏览网络时,我发现为了能够使用wxt终端,我需要在安装时添加--wx标志。此外,建议还使用--pdf和--with-x。通过可视化解析我在屏幕上看到的输出(如上所述),我想出了其他标志,例如--cairo和--tutorial,并得到了以下输出。
$ brew install gnuplot --wx --cairo --pdf --with-x --tutorial
==> Downloading http://downloads.sourceforge.net/project/gnuplot/gnuplot/4.6.3/gnuplot-4.6.3.tar.gz
Already downloaded: /Library/Caches/Homebrew/gnuplot-4.6.3.tar.gz
==> ./configure --prefix=/usr/local/Cellar/gnuplot/4.6.3 --with-readline=/usr/local/opt/readline --with-pdf=/usr/local/opt/pdflib-lite --with-gd=/usr/local/opt/gd --without-latex --without-tutorial
==> make
==> make install
� /usr/local/Cellar/gnuplot/4.6.3: 49 files, 5.4M, built in 37 seconds
现在我的问题是:我应该在哪里找到一个可接受的参数列表,用于像gnupot这样的Homebrew安装?此外,不知何故,它没有接受我的
--tutorial
:(