You are not logged in.

#1 2008-07-17 08:43:12

sevenfourk
Member
Registered: 2008-02-21
Posts: 185

[SOLVED] Csmash, can't build the app.

Can't build the game, well i know the PKGBUILD was submited pretty long ago, but want to build
Well i got this on ./configure

checking for glLoadIdentity in -lGL... yes
checking for gluPerspective in -lGLU... yes
checking for gzdopen in -lz... yes
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.0... no
*** Could not run SDL test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means SDL was incorrectly installed
*** or that you have moved SDL since it was installed. In the latter case, you
*** may want to edit the sdl-config script: /usr/bin/sdl-config
configure: error: *** SDL version 1.2.0 not found!

I suppose sdl package is newer than csmash require? hmm

[pts/7]-[~]
[11:47:10]-% pac_Qi sdl | grep Version
Version        : 1.2.13-1

Will be very thankful for help.

Last edited by sevenfourk (2008-07-25 13:13:50)


No cause is lost if there is but one fool left to fight for it.

Offline

#2 2008-07-18 05:37:25

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [SOLVED] Csmash, can't build the app.

Do you have pkgconfig installed? If not, you should install the base-devel group: pacman -S base-devel

Offline

#3 2008-07-19 22:32:33

sevenfourk
Member
Registered: 2008-02-21
Posts: 185

Re: [SOLVED] Csmash, can't build the app.

Thanks for reply.
The build began at least, but i got this errors:

if g++ -DLOCALEDIR=\"/usr/share/locale\" -DCANNONSMASH_DATADIR=\"/usr/share/games/csmash\" -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1    -I  -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT Sound.o -MD -MP -MF ".deps/Sound.Tpo" \
      -c -o Sound.o `test -f 'Sound.cpp' || echo './'`Sound.cpp; \
    then mv -f ".deps/Sound.Tpo" ".deps/Sound.Po"; \
    else rm -f ".deps/Sound.Tpo"; exit 1; \
    fi
Sound.cpp:236: error: 'Mix_Chunk' has not been declared
Sound.cpp:236: error: no 'bool Sound::PlayBlocking(int, int*)' member function declared in class 'Sound'
Sound.cpp:248: error: no 'void Sound::PlayFinishHandler(int)' member function declared in class 'Sound'
make[2]: *** [Sound.o] Error 1
make[2]: Leaving directory `/home/sevenfourk/abs/csmash/src/csmash-0.6.6'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sevenfourk/abs/csmash/src/csmash-0.6.6'
make: *** [all] Error 2
==> ERROR: Build Failed.
    Aborting...

of course it's not pkgbuild problem, but maybe you know smile


No cause is lost if there is but one fool left to fight for it.

Offline

#4 2008-07-20 07:30:55

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [SOLVED] Csmash, can't build the app.

Offline

#5 2008-07-20 20:12:56

sevenfourk
Member
Registered: 2008-02-21
Posts: 185

Re: [SOLVED] Csmash, can't build the app.

You don't even know how I'm happy. Thank you Snowman.


No cause is lost if there is but one fool left to fight for it.

Offline

Board footer

Powered by FluxBB