|
|
Difficulty compiling Linux package
|
|
|
|
Junior Member
Join Date: Jul 2004
Status:
Offline
|
|
Here's the project page:
http://web2.168180.vserver.de/index.php
Compilation readme says that SDL, SDL_mixer, SDL_image are necessary, so I installed those via Fink.
The next step is "make distclean", but running that in the Linux directory gives me
make: *** No rule to make target `distclean'. Stop.
Am I missing some libraries?
|
|
|
|
|
|
|
|
|
Senior User
Join Date: Jan 2001
Location: Mahwah, NJ USA
Status:
Offline
|
|
Originally posted by Xisiqomelir:
Here's the project page:
http://web2.168180.vserver.de/index.php
Compilation readme says that SDL, SDL_mixer, SDL_image are necessary, so I installed those via Fink.
The next step is "make distclean", but running that in the Linux directory gives me
Am I missing some libraries?
make distclean
If that is how the macro is actually named has nothing to do with libraries. Take a look at the Makefile in the directory you unpacked the source into. grep for "clean" and/or "dist".
OK just downloaded it...
When you run 'make distclean' it will fail because there is no Makefile, only a Makefile.in. You need to run './configure' to create a Makefile. Once the Makefile is created you can then run 'make distclean' again. However... this will also delete the Makefile so you have to run ./configure again!
Note: When I unpacked the daimonin_client_src-BETA3-0965a.tgz file the ~/daimoni/client/make/linux/configure file was not executeable. I had to 'chmod +x configure' before I could run the configure script by typing './configure'.
'make distclean' is just a way of clearing out the cruft from previous builds or attempts at builds. It puts the source tree into a known basic state. Of course you will have to run './configure' again. Basically just ignore the error from 'make distclean' and proceed to the other steps.
Hope that helps.
|
-DU-...etc...
|
|
|
|
|
|
|
|
Dedicated MacNNer
Join Date: Sep 2003
Location: Louisiana, US
Status:
Offline
|
|
the package you are trying to build may not be seeing the libraries also. You may have to do something to the effect of
./configure --prefix="path to where fink installed those libraries"
this may or may not be applicable to your situation.
|
|
|
|
|
|
|
|
|
Junior Member
Join Date: Jul 2004
Status:
Offline
|
|
Ok I managed to get it to compile by using "./configure --build=powerpc-apple-bsd". NOW the problem is that I can't get the client to run. It starts up and gives me a "Daimonin SDL Client" window for about 3 seconds, then it crashes. This is the terminal error msg
$ /Users/Xisiqomelir/Incomplete/Downlode/daimonin/client/src/daimonin
List Video Modes
All resolutions available.
VideoInfo: hardware surfaces? no
VideoInfo: windows manager? no
VideoInfo: hw to hw blit? no
VideoInfo: hw to hw ckey blit? no
VideoInfo: hw to hw alpha blit? no
VideoInfo: sw to hw blit? no
VideoInfo: sw to hw ckey blit? no
VideoInfo: sw to hw alpha blit? no
VideoInfo: color fill? no
VideoInfo: video memory: 0KB
ERROR sprite.c: Can't load sprite ./bitmaps/palette.png
load_bitmap(): Can't load bitmap ./bitmaps/palette.png
ERROR sprite.c: Can't load sprite ./bitmaps/font7x4.png
load_bitmap(): Can't load bitmap ./bitmaps/font7x4.png
ERROR sprite.c: Can't load sprite ./bitmaps/font6x3out.png
load_bitmap(): Can't load bitmap ./bitmaps/font6x3out.png
ERROR sprite.c: Can't load sprite ./bitmaps/font_big.png
load_bitmap(): Can't load bitmap ./bitmaps/font_big.png
ERROR sprite.c: Can't load sprite ./bitmaps/font7x4out.png
load_bitmap(): Can't load bitmap ./bitmaps/font7x4out.png
ERROR sprite.c: Can't load sprite ./bitmaps/intro.png
load_bitmap(): Can't load bitmap ./bitmaps/intro.png
Fatal signal: Bus Error (SDL Parachute Deployed)
utidjian, pwolfe1, did either of you get it to run?
|
|
|
|
|
|
|
|
|
Senior User
Join Date: Jan 2001
Location: Mahwah, NJ USA
Status:
Offline
|
|
Originally posted by Xisiqomelir:
Ok I managed to get it to compile by using "./configure --build=powerpc-apple-bsd". NOW the problem is that I can't get the client to run. It starts up and gives me a "Daimonin SDL Client" window for about 3 seconds, then it crashes. This is the terminal error msg
utidjian, pwolfe1, did either of you get it to run?
Yes I got it to run in Linux... only difference in console messages from mine and yours was:
VideoInfo: windows manager? yes
So my guess is that you need a 'windows manager'.
Pretty dull game IMO.
Ah now I think I see you problem. Try:
make install
cd ../../../client-BETA3-0.965a
./daimonin
It needs to be run from the folder it installs to otherwise it doesn't know where to find the other files.
(
Last edited by utidjian; Aug 11, 2004 at 04:35 PM.
)
|
-DU-...etc...
|
|
|
|
|
|
|
|
Junior Member
Join Date: Jul 2004
Status:
Offline
|
|
Originally posted by utidjian:
Ah now I think I see you problem. Try:
make install
cd ../../../client-BETA3-0.965a
./daimonin
It needs to be run from the folder it installs to otherwise it doesn't know where to find the other files.
Everything up and running, thanks!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|