Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > Difficulty compiling Linux package

Difficulty compiling Linux package
Thread Tools
Xisiqomelir
Junior Member
Join Date: Jul 2004
Status: Offline
Reply With Quote
Aug 10, 2004, 02:08 AM
 
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?
     
utidjian
Senior User
Join Date: Jan 2001
Location: Mahwah, NJ USA
Status: Offline
Reply With Quote
Aug 10, 2004, 09:31 AM
 
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...
     
pwolfe1
Dedicated MacNNer
Join Date: Sep 2003
Location: Louisiana, US
Status: Offline
Reply With Quote
Aug 10, 2004, 11:36 AM
 
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.
     
Xisiqomelir  (op)
Junior Member
Join Date: Jul 2004
Status: Offline
Reply With Quote
Aug 11, 2004, 06:19 AM
 
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?
     
utidjian
Senior User
Join Date: Jan 2001
Location: Mahwah, NJ USA
Status: Offline
Reply With Quote
Aug 11, 2004, 10:46 AM
 
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...
     
Xisiqomelir  (op)
Junior Member
Join Date: Jul 2004
Status: Offline
Reply With Quote
Aug 12, 2004, 12:30 PM
 
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 Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 11:51 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,