| View previous topic :: View next topic |
| Author |
Message |
aroddo Grub Bug

Joined: 17 May 2008 Posts: 5
|
Posted: Sun May 18, 2008 11:16 am Post subject: Egoboo 2.7.7 Makefile.linux compiles in wrong directory |
|
|
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 |
|
 |
penguinflyer5234 Penguin King

Joined: 01 Feb 2008 Age: 14 Posts: 1544 Location: Somewhere in this universe.
|
Posted: Sun May 18, 2008 4:21 pm Post subject: |
|
|
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 |
|
 |
Zefz Lead Designer


Joined: 16 Sep 2007 Posts: 2179 Location: Norway
|
Posted: Sun May 18, 2008 4:51 pm Post subject: |
|
|
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 |
|
 |
aroddo Grub Bug

Joined: 17 May 2008 Posts: 5
|
Posted: Sun May 18, 2008 6:42 pm Post subject: |
|
|
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 |
|
 |
penguinflyer5234 Penguin King

Joined: 01 Feb 2008 Age: 14 Posts: 1544 Location: Somewhere in this universe.
|
Posted: Sun May 18, 2008 6:44 pm Post subject: |
|
|
2.7.7 is dreadfully slow, I noticed that on my computer. Use 2.7.5 instead. _________________
Play Frozen Bubble |
|
| Back to top |
|
 |
Zefz Lead Designer


Joined: 16 Sep 2007 Posts: 2179 Location: Norway
|
Posted: Sun May 18, 2008 6:49 pm Post subject: |
|
|
| Quote: | | i'm using ubuntu 8.04 x64 and nvidia graphics. |
Funny, I have the same 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 |
|
 |
penguinflyer5234 Penguin King

Joined: 01 Feb 2008 Age: 14 Posts: 1544 Location: Somewhere in this universe.
|
Posted: Sun May 18, 2008 6:50 pm Post subject: |
|
|
I use Kubuntu on an i686 and ATI Radeon 9500 Pro. _________________
Play Frozen Bubble |
|
| Back to top |
|
 |
cemen Grub Bug

Joined: 24 Jun 2008 Posts: 6
|
Posted: Tue Jun 24, 2008 9:44 pm Post subject: |
|
|
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 |
|
 |
penguinflyer5234 Penguin King

Joined: 01 Feb 2008 Age: 14 Posts: 1544 Location: Somewhere in this universe.
|
Posted: Tue Jun 24, 2008 10:22 pm Post subject: |
|
|
Is there any messages in ~/.egoboo/log.txt?
That will help me. _________________
Play Frozen Bubble |
|
| Back to top |
|
 |
penguinflyer2222 Dracolich


Joined: 28 May 2008 Age: 9 Posts: 414 Location: Earth
|
Posted: Tue Jun 24, 2008 10:23 pm Post subject: |
|
|
Hello! Have a light bulb both of you.  _________________ Penguinflyer2222: Made in U.S.A.
I am evil! |
|
| Back to top |
|
 |
cemen Grub Bug

Joined: 24 Jun 2008 Posts: 6
|
Posted: Wed Jun 25, 2008 6:26 am Post subject: |
|
|
| 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 |
|
 |
woodmouse Lord of Draconians


Joined: 19 Apr 2008 Age: 13 Posts: 2772 Location: Finland
|
Posted: Wed Jun 25, 2008 6:47 am Post subject: |
|
|
Welcome, Cemen!  _________________
|
|
| Back to top |
|
 |
cemen Grub Bug

Joined: 24 Jun 2008 Posts: 6
|
Posted: Wed Jun 25, 2008 6:50 am Post subject: |
|
|
| woodmouse wrote: | Welcome, Cemen!  |
Thanks!  |
|
| Back to top |
|
 |
Chainsaw Lumberjack


Joined: 20 Oct 2007 Age: 15 Posts: 2201 Location: Israel
|
|
| Back to top |
|
 |
Clonkinator Master Frying Pen (Moderator)


Joined: 03 Nov 2007 Age: 15 Posts: 3040 Location: Germany
|
Posted: Wed Jun 25, 2008 7:03 am Post subject: |
|
|
| 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.
Read the rules, have fun around here, blah. You probably know.  _________________ Yes, it's true. I fail. Epicly so. |
|
| Back to top |
|
 |
|