|
From: Allin C. <cot...@wf...> - 2009-11-29 00:30:31
|
On Sat, 28 Nov 2009, Ethan Merritt wrote: > On Saturday 28 November 2009, Allin Cottrell wrote: > > > > 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. > > Eh? It installs normally for me. The *.pc ends up here: > /usr/lib/pkgconfig/lua.pc > > lua -v > Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio Tarball from http://www.lua.org/ftp/lua-5.1.4.tar.gz allin@myrtle:~/lua-5.1.4$ make linux [no errors, all looks fine] allin@myrtle:~/lua-5.1.4$ make -n linux install cd src && make linux make[1]: Entering directory `/home/allin/lua-5.1.4/src' make all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses" make[2]: Entering directory `/home/allin/lua-5.1.4/src' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/allin/lua-5.1.4/src' make[1]: Leaving directory `/home/allin/lua-5.1.4/src' cd src && mkdir -p /usr/local/bin /usr/local/include /usr/local/lib /usr/local/man/man1 /usr/local/share/lua/5.1 /usr/local/lib/lua/5.1 cd src && install -p -m 0755 lua luac /usr/local/bin cd src && install -p -m 0644 lua.h luaconf.h lualib.h lauxlib.h ../etc/lua.hpp /usr/local/include cd src && install -p -m 0644 liblua.a /usr/local/lib cd doc && install -p -m 0644 lua.1 luac.1 /usr/local/man/man1 And that's it; no .pc file. If you got something to go into /usr/lib/pkgconfig (note, not under /usr/local, which is the default), you're doing something special. Allin Cottrell |