Как включить терминал tikz в gnuplot на Mac Os X (10.6.8)?
У меня латекс с рабочим тикзом. Теперь я установил lua из http://www.lua.org/ и загрузил gnuplot4.4.4, распаковал его, и беги
$ ./configure
$ sudo make
$ sudo make install
Теперь я могу установить терминал tikz, но проблемы все равно остаются
gnuplot> set terminal tikz
Terminal type set to 'tikz'
Options are 'color dashed'
gnuplot> plot sin(x)
\begin{tikzpicture}[gnuplot]
/usr/local/share/gnuplot/4.4/lua/gnuplot-tikz.lua:252: bad argument #7 to 'format' (string expected, got no value)
stack
gnuplot>
Я также попытался установить homebrew с https://github.com/mxcl/homebrew/wiki/installation, хотя я не делал Java Developer Update - это необходимо? Теперь 'brew install gnuplot' дает проблемы с зависимостью glib
hpek@melda:~$ brew install glib
/usr/local/Library/Homebrew/global.rb:43: warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777
/usr/local/bin/brew:74: warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777
/usr/local/Library/Homebrew/build.rb:7: warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777
==> Downloading ftp://ftp.gnome.org/pub/gnome/sources/glib/2.28/glib-2.28.8.tar.bz2
File already downloaded in /Users/hpek/Library/Caches/Homebrew
==> Downloading patches
curl: (22) The requested URL returned error: 404
######################################################################## 100.0%
######################################################################## 100.0%
######################################################################## 100.0%
######################################################################## 100.0%
######################################################################## 100.0%
==> Patching
/usr/bin/patch: **** Can't open patch file 001-homebrew.diff : No such file or directory
Error: Failure while executing: /usr/bin/patch -f -p0 -i 001-homebrew.diff
hpek@melda:~$
Когда я устанавливаю gnuplot вручную, должен ли я сам знать и устанавливать все эти зависимости?
./configure
, чтобы узнать, объясняет ли он, почему он не может включить терминал tikz? - person James   schedule 21.11.2011ld: library not found for -llua
. Что такое lua и где его взять? - person hpekristiansen   schedule 23.11.2011