Page 1 of 1

Re: problem with compiling

Posted: Sat Mar 01, 2008 12:46 pm
by MagnusB
What game?

Re: problem with compiling

Posted: Sat Mar 01, 2008 1:31 pm
by MagnusB
Begin with:

Code: Select all

sudo aptitude install build-essential
Then

Code: Select all

sudo aptitude install bison
I am not sure about the above step, but I think you need it... Then (% denotes 1 line in terminal, it is not a part of the command):

Code: Select all

% cd ~/stone_soup-0.3.4-tile-src/source
% make
% ./crawl
The last command should run the game, hopefully, you could use make install as well, but I do not see the point if it works after make.

Re: problem with compiling

Posted: Sat Mar 01, 2008 4:11 pm
by MagnusB
Well, when I try it, it only fails with
cd util/ && bison -y -d -b levcomp levcomp.ypp \
&& mv levcomp.tab.c levcomp.tab.cc || false
/bin/sh: bison: not found
Which makes me believe that I am only missing bison (did not try it with bison installed, though). Are you sure you have build-essential installed:

Code: Select all

% sudo aptitude update
% sudo aptitude install build-essential
Then try:

Code: Select all

whereis make
which should return:
make: /usr/bin/make /usr/share/man/man1/make.1.gz
Also, try:

Code: Select all

% cd
% wget http://mesh.dl.sourceforge.net/sourceforge/crawl-ref/stone_soup-0.3.4-tile-src.tbz2
% tar xvjpf stone_soup-0.3.4-tile-src.tbz2
% cd ~/stone_soup-0.3.4-tile-src/source
% make
Use copy & paste (paste by using Shift + Ins in terminal) to avoid typos (do not include % with the commands).
EDIT:
It should be "cd" not "cd .."

Re: problem with compiling

Posted: Sat Mar 01, 2008 4:53 pm
by catweazle
My 2 cts :

Code: Select all

sudo apt-get install libguichanO libguichan0-dev
And then retry the compilation of your game.

(you can install these packages with the mint installer as well of course)

Re: problem with compiling

Posted: Sat Mar 01, 2008 5:30 pm
by MagnusB
catweazle wrote:My 2 cts :

Code: Select all

sudo apt-det install libuichanO libguichan0-dev
And then retry the compilation of your game.

(you can install these packages with the mint installer as well of course)
Presume you meant apt-get :)

Re: problem with compiling

Posted: Sun Mar 02, 2008 9:12 am
by catweazle
yes : apt-get and libguichan0
sorry
i edit my previous post