|
From: gerion <ad...@gm...> - 2010-02-09 21:18:06
|
Hello, I tried to install the TkiZ terminal in v4.4.0-rc1 on Ubuntu 9.10, lua 5.1. The configure command reads like this: LUA_CFLAGS="-I /usr/include/lua5.1/lua.h" LUA_LIBS="-L /usr/lib/liblua5.1.a" ./configure --with-lua=yes The command gives the following output: ... checking for LUA... yes checking for library containing luaL_openlibs... no ... === configuring in lisp (/home/christian/Desktop/gnuplot-4.4.0-rc1/lisp) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' '--with-lua=yes' 'LUA_CFLAGS=-I /usr/include/lua5.1/lua.h' 'LUA_LIBS=-L /usr/lib/liblua5.1.a' --cache-file=/dev/null --srcdir=. .. ** Configuration summary for gnuplot 4.4.0-rc1: gnuplot will be compiled with the following terminals: ... lua/TikZ terminal: no ... Any ideas how to make this work? cheers -- View this message in context: http://old.nabble.com/install-TkiZ-terminal-gnuplot-4.4.0-rc1-tp27479233p27479233.html Sent from the Gnuplot - Dev mailing list archive at Nabble.com. |
|
From: Ethan M. <merritt@u.washington.edu> - 2010-02-09 21:34:42
|
On Tuesday 09 February 2010 13:17:58 gerion wrote: > > Hello, > > I tried to install the TkiZ terminal in v4.4.0-rc1 on Ubuntu 9.10, lua 5.1. Known problem. We have added instructions in the INSTALL file for 4.4.0 to cover this case. The problem is that Ubuntu does not install a lua package configuration file with a generic name. 204 Ubuntu: 205 ./configure fails to find lua support because Ubuntu packages it as 206 "lua5.1" rather than "lua". You can fix this by adding a symlink 207 prior to running ./configure 208 ln -s /usr/lib/pkgconfig/lua5.1.pc /usr/lib/pkgconfig/lua.pc 209 210 Ethan > The configure command reads like this: > > LUA_CFLAGS="-I /usr/include/lua5.1/lua.h" LUA_LIBS="-L /usr/lib/liblua5.1.a" > ./configure --with-lua=yes > > The command gives the following output: > > ... > checking for LUA... yes > checking for library containing luaL_openlibs... no > ... > === configuring in lisp (/home/christian/Desktop/gnuplot-4.4.0-rc1/lisp) > configure: running /bin/bash ./configure --disable-option-checking > '--prefix=/usr/local' '--with-lua=yes' 'LUA_CFLAGS=-I > /usr/include/lua5.1/lua.h' 'LUA_LIBS=-L /usr/lib/liblua5.1.a' > --cache-file=/dev/null --srcdir=. > .. > ** Configuration summary for gnuplot 4.4.0-rc1: > > gnuplot will be compiled with the following terminals: > ... > lua/TikZ terminal: no > ... > > Any ideas how to make this work? cheers > -- > View this message in context: http://old.nabble.com/install-TkiZ-terminal-gnuplot-4.4.0-rc1-tp27479233p27479233.html > Sent from the Gnuplot - Dev mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, > Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW > http://p.sf.net/sfu/solaris-dev2dev > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > -- Ethan A Merritt Biomolecular Structure Center University of Washington, Seattle 98195-7742 |
|
From: gerion <ad...@gm...> - 2010-02-09 23:26:47
|
Thanks for the quick response. Can't find it in the INSTALL though. now the terminal gets installed, but doesn't seem to work properly. The "./configure --with-lua yes" gives checking for LUA... yes checking for library containing luaL_openlibs... none required checking lua.h usability... no checking lua.h presence... no checking for lua.h... no configure: WARNING: please add path to lua.h to CPPFLAGS in Makefile however, the Makefile contains "CPPFLAGS = -I/usr/include/lua5.1" which has the lua.h Cheers, Christian -- View this message in context: http://old.nabble.com/install-TkiZ-terminal-gnuplot-4.4.0-rc1-tp27479233p27523924.html Sent from the Gnuplot - Dev mailing list archive at Nabble.com. |
|
From: Allin C. <cot...@wf...> - 2010-02-10 02:30:06
|
On Tue, 9 Feb 2010, gerion wrote: > Thanks for the quick response. Can't find it in the INSTALL though. > now the terminal gets installed, but doesn't seem to work properly. The > "./configure --with-lua yes" gives > > checking for LUA... yes > checking for library containing luaL_openlibs... none required > checking lua.h usability... no > checking lua.h presence... no > checking for lua.h... no > configure: WARNING: please add path to lua.h to CPPFLAGS in Makefile > > however, the Makefile contains "CPPFLAGS = -I/usr/include/lua5.1" which > has the lua.h I'd have thought that CFLAGS would be more relevant than CPPFLAGS. Allin Cottrell |
|
From: Ethan M. <merritt@u.washington.edu> - 2010-02-10 02:57:39
|
On Tuesday 09 February 2010, Allin Cottrell wrote: > > On Tue, 9 Feb 2010, gerion wrote: > > > Thanks for the quick response. Can't find it in the INSTALL though. > > now the terminal gets installed, but doesn't seem to work properly. The > > "./configure --with-lua yes" gives > > > > checking for LUA... yes > > checking for library containing luaL_openlibs... none required > > checking lua.h usability... no > > checking lua.h presence... no > > checking for lua.h... no > > configure: WARNING: please add path to lua.h to CPPFLAGS in Makefile > > > > however, the Makefile contains "CPPFLAGS = -I/usr/include/lua5.1" which > > has the lua.h > > I'd have thought that CFLAGS would be more relevant than CPPFLAGS. Not in this case. The problem (if it is one) is with #include statements. They are handled by cpp. But in fact it is only a warning, and apparently "make" then succeeds. So I think we're OK. Ethan > Allin Cottrell > > ------------------------------------------------------------------------------ > SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, > Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW > http://p.sf.net/sfu/solaris-dev2dev > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > |
|
From: Tatsuro M. <tma...@ya...> - 2010-02-10 02:43:26
|
Hello Although the below patch is mainly for cygwin and windows build for lua terminal, please try it if you use the source of the 4.4-rc1. http://sourceforge.net/tracker/?func=detail&aid=2906430&group_id=2055&atid=302055 BTW, I recommend you to see config.log to get detailed information during the configure execution. Regards Tatsuro --- gerion wrote: > > Thanks for the quick response. Can't find it in the INSTALL though. > now the terminal gets installed, but doesn't seem to work properly. The > "./configure --with-lua yes" gives > > checking for LUA... yes > checking for library containing luaL_openlibs... none required > checking lua.h usability... no > checking lua.h presence... no > checking for lua.h... no > configure: WARNING: please add path to lua.h to CPPFLAGS in Makefile > > however, the Makefile contains "CPPFLAGS = -I/usr/include/lua5.1" which > has the lua.h > > Cheers, Christian > -- > View this message in context: > http://old.nabble.com/install-TkiZ-terminal-gnuplot-4.4.0-rc1-tp27479233p27523924.html > Sent from the Gnuplot - Dev mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, > Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW > http://p.sf.net/sfu/solaris-dev2dev > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > -------------------------------------- VANCOUVER 2010 Olympic News [Yahoo! Sports/sportsnavi] http://pr.mail.yahoo.co.jp/olympic/ |
|
From: Ethan M. <merritt@u.washington.edu> - 2010-02-10 02:57:21
|
On Tuesday 09 February 2010 15:26:41 gerion wrote: > > Thanks for the quick response. Can't find it in the INSTALL though. Right. The note has been added for inclusion in the 4.4.0 release based on feedback from the release candidate. > now the terminal gets installed, but doesn't seem to work properly. The > "./configure --with-lua yes" gives > > checking for LUA... yes > checking for library containing luaL_openlibs... none required > checking lua.h usability... no > checking lua.h presence... no > checking for lua.h... no > configure: WARNING: please add path to lua.h to CPPFLAGS in Makefile > > however, the Makefile contains "CPPFLAGS = -I/usr/include/lua5.1" which > has the lua.h That warning is from the configure script, not from make. I would have expected make to succeed if CPPFLAGS is correct. If "make" fails, could you attach the error messages? Ethan > > Cheers, Christian > -- > View this message in context: http://old.nabble.com/install-TkiZ-terminal-gnuplot-4.4.0-rc1-tp27479233p27523924.html > Sent from the Gnuplot - Dev mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, > Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW > http://p.sf.net/sfu/solaris-dev2dev > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > -- Ethan A Merritt Biomolecular Structure Center University of Washington, Seattle 98195-7742 |
|
From: adad <ad...@gm...> - 2010-02-10 02:40:03
|
it actually works. The problem was that in the terminal list and examples on the web, it's said to be "set term lua", what should be "set term tikz". Thanks, Christian Ethan Merritt wrote: > On Tuesday 09 February 2010 15:26:41 gerion wrote: >> Thanks for the quick response. Can't find it in the INSTALL though. > > Right. The note has been added for inclusion in the 4.4.0 release based on > feedback from the release candidate. > >> now the terminal gets installed, but doesn't seem to work properly. The >> "./configure --with-lua yes" gives >> >> checking for LUA... yes >> checking for library containing luaL_openlibs... none required >> checking lua.h usability... no >> checking lua.h presence... no >> checking for lua.h... no >> configure: WARNING: please add path to lua.h to CPPFLAGS in Makefile >> >> however, the Makefile contains "CPPFLAGS = -I/usr/include/lua5.1" which >> has the lua.h > > That warning is from the configure script, not from make. > I would have expected make to succeed if CPPFLAGS is correct. > If "make" fails, could you attach the error messages? > > Ethan > >> Cheers, Christian >> -- >> View this message in context: http://old.nabble.com/install-TkiZ-terminal-gnuplot-4.4.0-rc1-tp27479233p27523924.html >> Sent from the Gnuplot - Dev mailing list archive at Nabble.com. >> >> >> ------------------------------------------------------------------------------ >> SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, >> Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW >> http://p.sf.net/sfu/solaris-dev2dev >> _______________________________________________ >> gnuplot-beta mailing list >> gnu...@li... >> https://lists.sourceforge.net/lists/listinfo/gnuplot-beta >> > > > |