Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #472
| From | Péter Juhász <peter.juhasz83@gmail.com> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: cvs version failed to compile. |
| Date | 2011-07-24 03:36 -0700 |
| Organization | http://groups.google.com |
| Message-ID | <ebd8cd95-107e-4630-83ba-4a838c041cfa@q5g2000yqj.googlegroups.com> (permalink) |
| References | <j0bijv$ro2$1@aspen.stu.neva.ru> <d312714f-65ab-4e4b-8f53-de27fa890a64@l28g2000yqc.googlegroups.com> <j0e58q$ruc$1@aspen.stu.neva.ru> |
On Jul 23, 11:46 am, Hongyi Zhao <hszhao...@gmail.com> wrote: > On Fri, 22 Jul 2011 07:14:39 -0700, Péter Juhász wrote: > > 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 > > I've tried both of your above configure options, this time, I'll meet the > errors like this: > > ---------- > /usr/bin/ld: cannot find crt1.o: No such file or directory > /usr/bin/ld: cannot find crti.o: No such file or directory > collect2: ld returned 1 exit status > make[2]: *** [gnuplot] 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 > ----------- > > Regards > > These error messages may mean that your system is not set up properly to build gnuplot - or any other application - properly. Are you sure all the necessary packages (development headers, compilers etc.) are installed on the system? The referred file crt1.o should be installed by the libc-dev package, but installing the build-essential package should install everything you need for compiling simple applications. To compile a fully featured gnuplot, other libraries and their development packages must be installed as well. 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