Re: [newbie-it] make+tuxman

2003-07-15 Per discussione Giaipur
Alle 12:26, domenica 6 luglio 2003, Luigi Pinna ha scritto:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Alle 23:56, sabato 5 luglio 2003, Giaipur ha scritto:
> [...]
> Sembra che non abbia installato le librerie SDL. Prova a dare il comando
> rpm -qa|grep SDL
> e vedi se le hai installatealtrimenti dai
> urpmi SDL o urpmi libSDL
> e riprova a compilare dopo!
> Buona fortuna!

Ecco output del comando

rpm -qa|grep SDL
libSDL1.2-1.2.5-5mdk
libSDL_image1.2-1.2.2-4mdk
libSDL_net1.2-1.2.4-5mdk
perl-SDL-1.20.0-1mdk
libSDL_mixer1.2-1.2.4-5mdk
libSDL_ttf2.0-2.0.5-4mdk

Ci sono tutte?
C'erano già.

Grazie x l'aiuto, cmq ho imparato un nuovo comando.



Re: [newbie-it] make+tuxman

2003-07-06 Per discussione Luigi Pinna
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alle 23:56, sabato 5 luglio 2003, Giaipur ha scritto:
[...]
Sembra che non abbia installato le librerie SDL. Prova a dare il comando 
rpm -qa|grep SDL
e vedi se le hai installatealtrimenti dai 
urpmi SDL o urpmi libSDL 
e riprova a compilare dopo!
Buona fortuna!
- -- 
Ama il tuo prossimo.  Fai accordare il piano.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/B/lSTvJtVxCNwP4RAnHdAJ41mP/3t3s3cE63qsakq15g6IrXDwCgi3Mk
QKW4m9bVhFuAE84gM9vopEI=
=TJ4g
-END PGP SIGNATURE-




Re: [newbie-it] make+tuxman

2003-07-05 Per discussione Sandro
Alle 23:56, sabato 5 luglio 2003, Giaipur ha scritto:
> Ciao a tutti
>
> Su un cd in una rivista ho trovato il gioco tuxman.
> Ho copiato il pacchetto tar.gz nella mia home, l' ho scompattato e mi
> son letto il file install e readme.
> Nel file install c'è scritto:

Hai provato a dare la "tripletta" completa dei comandi, cioè:

./configure
make
make install

ovviamente da root (è sufficiente dare il "make install" da root).
Ciao
Sandro


-- 
Dr. Sandro Porrazzini - [EMAIL PROTECTED]
GNU/Linux 2.4.21 on Pentium III - 733 Mhz
Linux User # 203143
Linux Machine # 175781



[newbie-it] make+tuxman

2003-07-05 Per discussione Giaipur
Ciao a tutti

Su un cd in una rivista ho trovato il gioco tuxman.
Ho copiato il pacchetto tar.gz nella mia home, l' ho scompattato e mi son 
letto il file install e readme.
Nel file install c'è scritto:


Tuxman V.0.7

Type "make" to compile Tuxman. "make clean" will remove the object files.


e basta.

Faccio make e boom una sfilza di erroro e il gioco non si vede.
Come avete capito sono uno nuovo.
Ho linux da pchi mesi x ora ho fatto solo robe standar, mettondo solo software 
che c'era nei cd mandrake.
Questo è il primo programma che metto al di fuori delle scelte mandrake.
Vi allego il file con gli errori che mi escono.
Grazie a tutti x la gentile collaborazione.
g++ `sdl-config --cflags`   -c src/main.cpp -o obj/main.o
/bin/sh: line 1: sdl-config: command not found
In file included from src/pacman.h:4,
 from src/main.cpp:1:
src/main.h:7:21: SDL/SDL.h: No such file or directory
In file included from src/main.cpp:1:
src/pacman.h:13: syntax error before `*' token
src/pacman.h:14: syntax error before `*' token
src/pacman.h:15: syntax error before `*' token
src/pacman.h:16: syntax error before `*' token
src/pacman.h:17: syntax error before `*' token
src/pacman.h:18: syntax error before `*' token
src/pacman.h:19: syntax error before `*' token
src/pacman.h:20: syntax error before `*' token
src/pacman.h:21: syntax error before `*' token
src/pacman.h:22: syntax error before `*' token
src/pacman.h:23: syntax error before `*' token
src/pacman.h:24: syntax error before `*' token
src/pacman.h:25: syntax error before `*' token
src/pacman.h:27: 'Uint32' is used as a type, but is not defined as a type.
In file included from src/tile.h:6,
 from src/control.h:6,
 from src/main.cpp:2:
src/sound.h:8: syntax error before `;' token
src/sound.h:9: syntax error before `;' token
src/sound.h:10: syntax error before `*' token
src/sound.h:11: syntax error before `;' token
src/sound.h:12: syntax error before `;' token
src/sound.h:15: type specifier omitted for parameter `Uint8'
src/sound.h:15: parse error before `*' token
In file included from src/control.h:6,
 from src/main.cpp:2:
src/tile.h:42: syntax error before `*' token
src/main.cpp: In function `int main(int, char**)':
src/main.cpp:22: `SDL_PauseAudio' undeclared (first use this function)
src/main.cpp:22: (Each undeclared identifier is reported only once for each function 
it appears in.)
src/main.cpp:57: `class pacman' has no member named `screen'
src/main.cpp:57: `SDL_UpdateRect' undeclared (first use this function)
src/main.cpp:70: `class pacman' has no member named `screen'
src/main.cpp:71: `SDL_Delay' undeclared (first use this function)
make: *** [obj/main.o] Error 1