Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: vinnie on September 25, 2011, 10:45:17 PM
-
Are two days that I'm trying to build this game with the idea of making a package, but I can not.
Here can you see evolution of my test https://crawl.develz.org/tavern/viewtopic.php?f=9&t=2665 .
In this moment i have problet to discovery llua5.1, I can not understand where it is!
if someone more capable than me could help me I would be happy ;D
-
Hi vinnie
-l is a flag indicating a library, and lua5.1 is what it's looking for. You probably want lua-dev.tcz, but
you may have to create a symlink or alter the name in the make file.
-
liblua and lua-dev should do it
-
@Juanito: simply install these two dependencies not resolve
@rich: i try to copy:
/usr/local/lib/liblua.so to /usr/local/lib/lua5.1
/usr/local/lib/liblua.so to /usr/local/lib/lua5.1.a
/usr/local/lib/liblua.so to /usr/local/include/lua5.1
/usr/local/lib/liblua.a to /usr/local/lib/lua5.1.a
But this don't work, there is the makefile:
-
Hi vinnie
Just a guess on my part, but try changing -llua5.1 to -lliblua in the make file.
This line may also cause trouble:
LUA_INCLUDE_DIR := /usr/include/lua5.1
-
RICH, i try to mod makefile and recompile:
makefile mod: http://sprunge.us/QhYU (http://sprunge.us/QhYU)
compilation: http://sprunge.us/cFJU (http://sprunge.us/cFJU)
I'm still stalled
Edit: I forgot to add the domain of the nopaste site, excuse me, the tiredness :P
-
makefile mod: QhYU
compilation: cFJU
Huh?
-
makefile mod: http://sprunge.us/QhYU (http://sprunge.us/QhYU)
compilation: http://sprunge.us/cFJU (http://sprunge.us/cFJU)
my carelessness, I'm sorry
-
-llua not -lliblua
-
ok, this trick works but i now have new error:
/usr/local/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make: *** [crawl] Error 1
tc@box:~/stone_soup-0.9.1/source$
(http://sprunge.us/LPMU (http://sprunge.us/LPMU))
In the game forum (https://crawl.develz.org/tavern/viewtopic.php?p=31706#p31706) they have suggested that I use the command "export CFLAGS=-L/usr/local/lib" but this does not work.
In addition, rather than to change an environment variable i prefer to change the makefile.
-
Hi vinnie
Sorry, I forgot that -l implies a lib prefix.
It now appears to be looking for Xorg and Xorg dev.
-
ok but now the problems il GL, in the other forum they suggest to me to use export, but this is command of bash and I'd prefer to avoid.
If possible specify directory in the makefile o with option of make ?
https://crawl.develz.org/tavern/viewtopic.php?p=31843#p31843
here I summarized the situation
-
Hi vinnie
libGL is in Xorg. Did you try installing Xorg and Xorg-dev?
-
eureka Rich, i have installed Xorg-7.5.tcz (I had already installed the header) and now dungeon crawl stone soup be compiled : http://sprunge.us/OWcL (http://sprunge.us/OWcL)
but it will not install! http://sprunge.us/LQSX (http://sprunge.us/LQSX) this is a real curse!
-
Hi vinnie
Maybe it wants the lua source files because it wants to compile lua?
-
I had already installed the lua-dev but, the last intervention galehar solved and now the game works, I just have to create the package :) .