Page 1 of 1

How have the LUA package?

Posted: Sat Sep 20, 2014 10:43 pm
by Alexandre24
hello,
I have been looking for a good time is to actually find a solution. Everything looks okay to after what I read but one thing at the end. The terminal tells me he is not LUA. Yet the system is installed. Here is the proof ...

server @ server-System-Product-Name: ~ / darkstar $ lua v
Lua 5.2.3 Copyright (C) 1994-2013 Lua.org, PUC-Rio
server @ server-System-Product-Name: ~ / $ darkstar

I do not understand. I did a copy paste of my screen so that you see probably more clear to my problem. Thank you all :)

server@server-System-Product-Name:~/darkstar$ ./configure --enable-debug
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LUA... no
configure: error: Package requirements (luajit) were not met:

No package 'luajit' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LUA_CFLAGS
and LUA_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
server@server-System-Product-Name:~/darkstar$

Re: How have the LUA package?

Posted: Sat Sep 20, 2014 11:02 pm
by kjLotus
you need luajit now instead of lua5.1

(ubuntu): sudo apt-get install luajit

Re: How have the LUA package?

Posted: Sat Sep 20, 2014 11:19 pm
by Alexandre24
luajit is installed but it does not correct the problem

server @ server-System-Product-Name: ~ / darkstar $ sudo apt-get install luajit
Reading package lists ... Done
Construction of the dependency tree
Reading state information ... Done
luajit is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
server @ server-System-Product-Name: ~ / $ darkstar

Re: How have the LUA package?

Posted: Sun Sep 21, 2014 2:30 am
by kjLotus
sorry, i'll take a look at it in 30 min!

Re: How have the LUA package?

Posted: Sun Sep 21, 2014 3:42 am
by kjLotus
ok, gotta update the wiki:

apt-get install luajit-5.1-dev

Re: How have the LUA package?

Posted: Sun Sep 21, 2014 11:09 am
by Alexandre24
It works! But do what you have the version for CentOS? Ubuntu just suited me.

Re: How have the LUA package?

Posted: Sun Sep 21, 2014 11:25 pm
by Alexandre24
I managed thanks to the fabulous Debian system! I recommend it. subject resolved