Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #468
| From | Péter Juhász <peter.juhasz83@gmail.com> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: cvs version failed to compile. |
| Date | 2011-07-22 07:14 -0700 |
| Organization | http://groups.google.com |
| Message-ID | <d312714f-65ab-4e4b-8f53-de27fa890a64@l28g2000yqc.googlegroups.com> (permalink) |
| References | <j0bijv$ro2$1@aspen.stu.neva.ru> |
On Jul 22, 12:15 pm, Hongyi Zhao <hszhao...@gmail.com> wrote: > Hi all, > > I use the following commands to build the cvs version of gnuplot: > > werner@debian:~/gnuplot$ export > CVSROOT=:pserver:anonym...@gnuplot.cvs.sourceforge.net:/cvsroot/gnuplot > werner@debian:~/gnuplot$ cvs login > werner@debian:~/gnuplot$ cvs -z3 checkout gnuplot > werner@debian:~/gnuplot$ cd gnuplot/ > werner@debian:~/gnuplot$ ./prepare > werner@debian:~/gnuplot$ ./configure --prefix=/usr --with-readline=gnu > werner@debian:~/gnuplot$ sudo make install > > At this step, I meet the following errors: > > -------- > In file included from term.h:435:0, > from term.c:1383: > ../term/lua.trm:109:17: fatal error: lua.h: No such file or directory > compilation terminated. > make[2]: *** [term.o] Error 1 > make[2]: Leaving directory `/home/werner/gnuplot/src' > make[1]: *** [install-recursive] Error 1 > make[1]: Leaving directory `/home/werner/gnuplot/src' > make: *** [install-recursive] Error 1 > ------------- > > Any hints? > > Regards > -- > .: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :. This issue may be caused by the fact that Debian calls the lua package installed on the system "lua5.1" (or similar), but gnuplot's configuration scripts expect "lua" instead. We've tried to fix this in the past, but apparently it's still not good. Possible workarounds: - read the "Linux" section of the INSTALL file and create the symlink described there - if you don't want to / can't create the symlink, tell configure explicitly where should it look for lua headers: ./configure LUA_LIBS=-llua5.1 LUA_CFLAGS=-I/usr/include/lua5.1 CPPFLAGS=-I/usr/include/lua5.1 - if you don't need the lua/tikz terminal, build gnuplot without it: ./ configure --without-lua Péter Juhász
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Next in thread | Find similar
cvs version failed to compile. Hongyi Zhao <hszhao.cn@gmail.com> - 2011-07-22 10:15 +0000
Re: cvs version failed to compile. Péter Juhász <peter.juhasz83@gmail.com> - 2011-07-22 07:14 -0700
Re: cvs version failed to compile. Hongyi Zhao <hszhao.cn@gmail.com> - 2011-07-23 09:46 +0000
Re: cvs version failed to compile. Péter Juhász <peter.juhasz83@gmail.com> - 2011-07-24 03:36 -0700
Re: cvs version failed to compile. Hongyi Zhao <hszhao.cn@gmail.com> - 2011-07-24 13:37 +0000
Re: cvs version failed to compile. Hongyi Zhao <hszhao.cn@gmail.com> - 2011-07-24 14:14 +0000
Re: cvs version failed to compile. sfeam <sfeam@users.sourceforge.net> - 2011-07-24 17:38 -0700
Re: cvs version failed to compile. Hongyi Zhao <hszhao.cn@gmail.com> - 2011-07-25 02:17 +0000
Re: cvs version failed to compile. Ingo Thies <ingo.thies@gmx.de> - 2011-07-26 10:51 +0200
csiph-web