Egoboo Forum

The Legend of Egoboo Sporks of Yore
Egoboo 2.7.7 Makefile.linux compiles in wrong directory
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Egoboo Forum Forum Index -> -> Help
View previous topic :: View next topic  
Author Message
aroddo
Grub Bug
Grub Bug


Joined: 17 May 2008
Posts: 5


PostPosted: Sun May 18, 2008 11:16 am    Post subject: Egoboo 2.7.7 Makefile.linux compiles in wrong directory If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

I got the source and data archives and put them into my home directory.
After that i followed the instructions.

Step 1: Make sure you have these packages, and if you don't install them:
Code:
sudo aptitude install libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl1.2-dev libsdl-ttf2.0-dev build-essential

-> ok

Step 2: Untar the source code.
Code:
tar -xzf egoboo-source-2.7.7.tar.gz

-> ok

Step 3
Code:
cd ~/egoboo-source-2.7.7/game

-> ok, obviously

Step 4: Compile the source.
Code:
make -f Makefile.unix

-> millions of warnings, but no errors. i assume that's ok.
after checking the contents of the ~/egoboo-source-2.7.7/game directory I noticed that the compiled files were placed inside the source directory.
Oh well, the next thing to happen shouldn't come as a surprise then...

Step 5: Install Egoboo as root.
Code:
sudo make -f Makefile.unix

-> make: Nothing to do!
since everything is already compiled, there's nothing to do indeed...

Step 6: Get and untar the data.
Code:
tar -xzf egoboo-data-2.2.7.tar.gz

-> that one worked, of course.

Step 7: Install the data.
Code:
cd egoboo-data-2.2.7
sudo mkdir /usr/share/egoboo
sudo cp -r * /usr/share/egoboo

-> copying ain't problematic either

In theory i should be able to run egoboo, but I can't. Running the compiled files from inside the source directory doesn't work either.
So I guess they are simply in the wrong directory because of the makefile.
Where do I put the stuff ?
And why do I have to compile it twice anyway - once for me, once for root ?
Back to top
View user's profile Send private message
penguinflyer5234
Penguin King


Joined: 01 Feb 2008
Age: 14
Posts: 1544
Location: Somewhere in this universe.

PostPosted: Sun May 18, 2008 4:21 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

Did I forget to add 'install' for installing?
For installing you need:
"sudo make -f Makefile.unix install"
instead.
Edit: Zefz, can you add that to the compile instructions?
Step 5 should look like this:
* sudo make -f Makefile.unix install (Ubuntu)
* su -c 'make -f Makefile.unix install' (Debian)
_________________

Play Frozen Bubble
Back to top
View user's profile Send private message
Zefz
Lead Designer
Lead Designer


Joined: 16 Sep 2007
Posts: 2179
Location: Norway

PostPosted: Sun May 18, 2008 4:51 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

Fixed.
_________________
http://egoboo.sourceforge.net

"The pen is mightier than the sword- IF it is sharpened, dipped in poison and thrown really really hard at your target. But seriously, you are better off with a sword."
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
aroddo
Grub Bug
Grub Bug


Joined: 17 May 2008
Posts: 5


PostPosted: Sun May 18, 2008 6:42 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

yeah, that works.

ok, got it compiled. now I start it and it's slooow.

like 1 frame per second, even in the menu.

i'm using ubuntu 8.04 x64 and nvidia graphics.
in fact, the game wouldn't even display after installing - i only heard sound and my monitor claimed it couldn't display the signal. I had to manually change the resolution to something else, even though the default resolution of 800x600 should work.

any ideas ?
Back to top
View user's profile Send private message
penguinflyer5234
Penguin King


Joined: 01 Feb 2008
Age: 14
Posts: 1544
Location: Somewhere in this universe.

PostPosted: Sun May 18, 2008 6:44 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

2.7.7 is dreadfully slow, I noticed that on my computer. Use 2.7.5 instead.
_________________

Play Frozen Bubble
Back to top
View user's profile Send private message
Zefz
Lead Designer
Lead Designer


Joined: 16 Sep 2007
Posts: 2179
Location: Norway

PostPosted: Sun May 18, 2008 6:49 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

Quote:
i'm using ubuntu 8.04 x64 and nvidia graphics.


Funny, I have the same Razz But I haven't tested Egoboo on my Linux yet.
_________________
http://egoboo.sourceforge.net

"The pen is mightier than the sword- IF it is sharpened, dipped in poison and thrown really really hard at your target. But seriously, you are better off with a sword."
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
penguinflyer5234
Penguin King


Joined: 01 Feb 2008
Age: 14
Posts: 1544
Location: Somewhere in this universe.

PostPosted: Sun May 18, 2008 6:50 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

I use Kubuntu on an i686 and ATI Radeon 9500 Pro.
_________________

Play Frozen Bubble
Back to top
View user's profile Send private message
cemen
Grub Bug
Grub Bug


Joined: 24 Jun 2008
Posts: 6


PostPosted: Tue Jun 24, 2008 9:44 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

Hi!

I'm having the same problem with versions 2.7.7 and 2.7.5. I tried to compile both of them several times. I followed the instructions exactly, using the 'install' phrase in step 5. I still can't run the game. No error messages and no running tasks, when i try to run the game from the terminal. Older versions worked somehow, but characters didn't show. Is the problem in compiling or in somewhere else? I really want this great game to work.

I'm running Ubuntu Hardy 8.04 on eeePC 4G

Thanks a lot!
Back to top
View user's profile Send private message
penguinflyer5234
Penguin King


Joined: 01 Feb 2008
Age: 14
Posts: 1544
Location: Somewhere in this universe.

PostPosted: Tue Jun 24, 2008 10:22 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

Is there any messages in ~/.egoboo/log.txt?
That will help me.
_________________

Play Frozen Bubble
Back to top
View user's profile Send private message
penguinflyer2222
Dracolich
Dracolich


Joined: 28 May 2008
Age: 9
Posts: 414
Location: Earth

PostPosted: Tue Jun 24, 2008 10:23 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

Hello! Have a light bulb both of you. Idea Idea
_________________
Penguinflyer2222: Made in U.S.A.
I am evil!
Back to top
View user's profile Send private message
cemen
Grub Bug
Grub Bug


Joined: 24 Jun 2008
Posts: 6


PostPosted: Wed Jun 25, 2008 6:26 am    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

penguinflyer5234 wrote:
Is there any messages in ~/.egoboo/log.txt?
That will help me.


log.txt:

Quote:
Starting Egoboo 2.4.6...

INFO: Initializing high-performance counter...

INFO: Frequency is 3579545 hz

INFO: Initializing clock services...

INFO: Initializing filesystem services...

INFO: Game directories are:

Game: c:\Documents and Settings\Johan\Mine dokumenter\Programmering\Egoboo 2.4.6\enet

Temp: C:\DOCUME~1\Johan\LOKALE~1\Temp\

Save: C:\Documents and Settings\Johan\Mine dokumenter\egoboo\

Import: C:\DOCUME~1\Johan\LOKALE~1\Temp\import\

FATAL ERROR: Could not find setup file (setup.txt).
Back to top
View user's profile Send private message
woodmouse
Lord of Draconians
Lord of Draconians


Joined: 19 Apr 2008
Age: 13
Posts: 2772
Location: Finland

PostPosted: Wed Jun 25, 2008 6:47 am    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

Welcome, Cemen! Smile
_________________

Mr. Green
Back to top
View user's profile Send private message Send e-mail Visit poster's website
cemen
Grub Bug
Grub Bug


Joined: 24 Jun 2008
Posts: 6


PostPosted: Wed Jun 25, 2008 6:50 am    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

woodmouse wrote:
Welcome, Cemen! Smile


Thanks! Smile
Back to top
View user's profile Send private message
Chainsaw
Lumberjack
Lumberjack


Joined: 20 Oct 2007
Age: 15
Posts: 2201
Location: Israel

PostPosted: Wed Jun 25, 2008 7:01 am    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

Cemen? How do you read the C, Like a K or like an S? Confused
_________________
Never, ever, ever click this.
Chainsaw's Cell [Last update: 27th May '08]
Back to top
View user's profile Send private message Send e-mail
Clonkinator
Master Frying Pen (Moderator)
Master Frying Pen (Moderator)


Joined: 03 Nov 2007
Age: 15
Posts: 3040
Location: Germany

PostPosted: Wed Jun 25, 2008 7:03 am    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

cemen wrote:
Quote:
FATAL ERROR: Could not find setup file (setup.txt).

I believe I've seen that error before... Is there a file called "setup.txt" somewhere in your egoboo directory? If there is, you've got a problem, if there isn't, it shouldn't be too difficult to get you one.

Oh, by the way, welcome to the forums. Smile
Read the rules, have fun around here, blah. You probably know. Confused
_________________
Yes, it's true. I fail. Epicly so.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Egoboo Forum Forum Index -> -> Help All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


© 2007 Informe.com. Get Free Forum Hosting
Powered by phpBB © 2001, 2005 phpBB Group

RedSilver 1.01 Theme was programmed by DEVPPL HTML Forum
Images were made by DEVPPL Photoshop Forum