WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Make Package of Dungeon Crawl Stone Soup  (Read 6945 times)

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Make Package of Dungeon Crawl Stone Soup
« 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

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11629
Re: Make Package of Dungeon Crawl Stone Soup
« Reply #1 on: September 26, 2011, 12:01:56 AM »
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.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14817
Re: Make Package of Dungeon Crawl Stone Soup
« Reply #2 on: September 26, 2011, 02:49:50 AM »
liblua and lua-dev should do it

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: Make Package of Dungeon Crawl Stone Soup
« Reply #3 on: September 27, 2011, 01:05:41 AM »
@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:

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11629
Re: Make Package of Dungeon Crawl Stone Soup
« Reply #4 on: September 27, 2011, 01:27:43 AM »
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

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: Make Package of Dungeon Crawl Stone Soup
« Reply #5 on: September 27, 2011, 02:29:50 AM »
RICH, i try to mod makefile and recompile:
makefile mod: http://sprunge.us/QhYU
compilation: http://sprunge.us/cFJU

I'm still stalled

Edit: I forgot to add the domain of the nopaste site, excuse me, the tiredness :P
« Last Edit: September 27, 2011, 09:19:53 AM by vinnie »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11629
Re: Make Package of Dungeon Crawl Stone Soup
« Reply #6 on: September 27, 2011, 09:16:15 AM »
Quote
makefile mod: QhYU
compilation: cFJU
Huh?

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: Make Package of Dungeon Crawl Stone Soup
« Reply #7 on: September 27, 2011, 10:31:17 AM »
makefile mod: http://sprunge.us/QhYU
compilation: http://sprunge.us/cFJU

my carelessness, I'm sorry

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Make Package of Dungeon Crawl Stone Soup
« Reply #8 on: September 27, 2011, 11:17:35 AM »
-llua not -lliblua
The only barriers that can stop you are the ones you create yourself.

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: Make Package of Dungeon Crawl Stone Soup
« Reply #9 on: September 28, 2011, 03:46:50 AM »
ok, this trick works but i now have new error:
Code: [Select]
/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)

In the game forum 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.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11629
Re: Make Package of Dungeon Crawl Stone Soup
« Reply #10 on: September 28, 2011, 09:07:48 AM »
Hi vinnie
Sorry, I forgot that -l implies a lib prefix.
It now appears to be looking for Xorg and Xorg dev.

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: Make Package of Dungeon Crawl Stone Soup
« Reply #11 on: September 28, 2011, 10:33:13 AM »
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

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11629
Re: Make Package of Dungeon Crawl Stone Soup
« Reply #12 on: September 28, 2011, 02:18:30 PM »
Hi vinnie
libGL is in Xorg. Did you try installing Xorg and Xorg-dev?

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: Make Package of Dungeon Crawl Stone Soup
« Reply #13 on: September 28, 2011, 08:02:53 PM »
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
but it will not install! http://sprunge.us/LQSX this is a real curse!

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11629
Re: Make Package of Dungeon Crawl Stone Soup
« Reply #14 on: September 29, 2011, 01:21:43 AM »
Hi vinnie
Maybe it wants the lua source files because it wants to compile lua?