|
From: Allin C. <cot...@wf...> - 2009-11-28 19:16:12
|
On Sat, 28 Nov 2009, Tatsuro MATSUOKA wrote:
> Sorry for my successive post.
>
> I have looked at the config.log:
>
> configure:8273: checking for LUA...
I'm not sure what's going on under cygwin, but this is a bit
tricky on Linux. Gnuplot uses pkg-config to test for lua, but a
stock installation of lua-5.1.4 using "make linux install" does
not install the lua.pc file. There is such a file under etc/ in
the source tree, but it's broken: the lua library requires linkage
to libdl but this is not registered in the "Libs" section of the
file.
It's therefore necessary to fix lua.pc and install it manually,
before gnuplot will build the lua/tikz terminal. (I don't count
this as a gnuplot bug; it's a lua build bug.)
And one other thing: to get lua/tikz to work one needs
gnuplot-lua-tikz.sty in the right place, but the gnuplot install
mechanism doesn't get this right -- or at least, not on my system.
I install gnuplot under /usr/local, and my tex tree is rooted at
TEXMF=/usr/share/texmf. The gnuplot Makefile under share/LaTeX
constructs an installdir as follows:
installdir=`kpsexpand \
${prefix}/usr/'$$TEXMFLOCAL'/tex/latex/gnuplot | \
sed "s%^.*share/%$(prefix)/share/%"`
On my system that evaluates as
/usr/local/usr//tex/latex/gnuplot
which is just a mess, and the installed sty file is not found by
TeX. I think the kpsexpand invocation should be more like:
kpsexpand '$$TEXMF'/tex/latex/gnuplot
Allin Cottrell
|