problem with compiling

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
MagnusB
Level 6
Level 6
Posts: 1252
Joined: Sun Nov 18, 2007 12:39 pm
Location: Norway

Re: problem with compiling

Post by MagnusB »

What game?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Image
You're not drunk if you can lie on the floor without holding on.
--Dean Martin
MagnusB
Level 6
Level 6
Posts: 1252
Joined: Sun Nov 18, 2007 12:39 pm
Location: Norway

Re: problem with compiling

Post 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.
Image
You're not drunk if you can lie on the floor without holding on.
--Dean Martin
MagnusB
Level 6
Level 6
Posts: 1252
Joined: Sun Nov 18, 2007 12:39 pm
Location: Norway

Re: problem with compiling

Post 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 .."
Image
You're not drunk if you can lie on the floor without holding on.
--Dean Martin
catweazle
Level 2
Level 2
Posts: 52
Joined: Sat Dec 15, 2007 4:27 am

Re: problem with compiling

Post 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)
Last edited by catweazle on Sun Mar 02, 2008 9:12 am, edited 1 time in total.
MagnusB
Level 6
Level 6
Posts: 1252
Joined: Sun Nov 18, 2007 12:39 pm
Location: Norway

Re: problem with compiling

Post 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 :)
Image
You're not drunk if you can lie on the floor without holding on.
--Dean Martin
catweazle
Level 2
Level 2
Posts: 52
Joined: Sat Dec 15, 2007 4:27 am

Re: problem with compiling

Post by catweazle »

yes : apt-get and libguichan0
sorry
i edit my previous post
Locked

Return to “Beginner Questions”