• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

FlatFrag

Rainer Juhser

Moderator
Teammitglied
MatzUp schrieb:
Dort heißt es: Entpacken und im Verzeichnis mit "./ff" starten.
Doch bei mir heißt es immer:
Code:
" ~/Verzeichnis/.ff
bash: /.ff: Datei oder Verzeichnis nicht gefunden"
Ich vermute mal der Punkt ist des Pudels Kern. :D

Versuch mal entweder
Code:
cd ~/Verzeichnis
./ff
oder
Code:
 ~/Verzeichnis/ff
 
OP
M

MatzUp

Hacker
folgendes gibt das aus:
Code:
ls -la /home/matze/Downloads/ff-src-0.3 | grep -i ff
-rw-r--r-- 1 matze users  6145 14. Sep 2005  ff.dev
-rw-r--r-- 1 matze users  3647 14. Sep 2005  ffserver.dev
 
OP
M

MatzUp

Hacker
Mhh. Das ist leider das einzige Paket was ich downloaden kann.
Die offizielle Homepage ist down. Die Datei wird nur von Holarse zur Verfügung gestellt (ftp://ftp.holarse-linuxgaming.de/native/Spiele/FlatFrag/)

Ich hab leider keine Ahnung wie man ein Source-Paket kompilieren kann.
Unter Readme in dem Paket steht auch nur:
HOW TO PLAY?
In order to play you need to run `ff' or `ff.exe' in Windows.

Ich hab mal gelesen man müsste irgendwas mit make oder makefile machen. makefile habe ich gefunden. Aber selbst als sudo habe ich anscheinend keine Berechtigung:
Code:
/home/matze/Downloads/ff-src-0.3/Makefile
bash: /home/matze/Downloads/ff-src-0.3/Makefile: Keine Berechtigung



@Rainer Juhser
Leider hab ich mit dem Punkt oder ohne, auch keinen Erfolg:
Code:
linux-7n5z:/home/matze/Downloads/ff-src-0.3 # ff
If 'ff' is not a typo you can use command-not-found to lookup the package that contains it, like this:
    cnf ff
linux-7n5z:/home/matze/Downloads/ff-src-0.3 # cnf ff
ff: Kommando nicht gefunden.
 

lOtz1009

Moderator
Teammitglied
README schrieb:
HOW TO MAKE?

If you want to built the game from its sourcecode the best way is to use
`make'. This is the preferred way for all Unix-like systems. In Windows the
best way is probably to use the supplied Dev-C++ project files, which should
compile cleanly, because I don't know if the Makefiles work in Windows (with
Cygwin or something).
So compilig is currently as easy as changing to the game's directory and
typing `make'. This will built a release version of the game. In case you
need a debug version you should run `make TYPE=debug' instead. In order to
clean up you can use `make clean'. Installing a release version is done
by `make install' (default destination is `/opt/flatfrag/'). If you even want
to create a distribution version, which is ready to be published (including
.zip and .tar.gz files), you should use `make TYPE=dist'.
Allerdings würde ich anstatt "make install" lieber checkinstall nehmen!
 
OP
M

MatzUp

Hacker
???

Code:
linux-7n5z:/home/matze/Downloads/ff-src-0.3 # make                                                                        
rm -f game/misc.o game/map.o game/player.o game/entity.o game/resource_manager.o game/weapon.o game/light.o                 
make CFLAGS="-O2 -pipe -fomit-frame-pointer" VERSION="0.3" -C game/                                                         
make[1]: Entering directory `/home/matze/Downloads/ff-src-0.3/game'                                                       
gcc -c  `sdl-config --cflags` `pkg-config --cflags libpng` -DRENDER -D'VERSION="0.3"' -O2 -pipe -fomit-frame-pointer main.c -o main.o                                                                                                                   
/bin/sh: sdl-config: Kommando nicht gefunden.                                                                               
In file included from main.c:41:                                                                                            
main.h:46:17: error: SDL.h: Datei oder Verzeichnis nicht gefunden                                                           
main.h:47:21: error: SDL_net.h: Datei oder Verzeichnis nicht gefunden                                                       
main.h:48:24: error: SDL_opengl.h: Datei oder Verzeichnis nicht gefunden                                                    
main.h:49:22: error: SDL_main.h: Datei oder Verzeichnis nicht gefunden                                                      
main.h:52:19: error: AL/al.h: Datei oder Verzeichnis nicht gefunden                                                         
main.h:55:21: error: AL/alut.h: Datei oder Verzeichnis nicht gefunden                                                       
main.h:58:17: error: lua.h: Datei oder Verzeichnis nicht gefunden                                                           
main.h:59:20: error: lualib.h: Datei oder Verzeichnis nicht gefunden                                                        
main.h:60:21: error: lauxlib.h: Datei oder Verzeichnis nicht gefunden                                                       
In file included from net.h:30,                                                                                             
                 from main.h:64,                                                                                            
                 from main.c:41:                                                                                            
stream.h:33:24: error: SDL_endian.h: Datei oder Verzeichnis nicht gefunden                                                  
In file included from net.h:30,                                                                                             
                 from main.h:64,                                                                                            
                 from main.c:41:                                                                                            
stream.h:48: error: expected declaration specifiers or ‘...’ before ‘Uint8’                                                 
stream.h:49: error: expected declaration specifiers or ‘...’ before ‘Uint16’                                                
stream.h:50: error: expected declaration specifiers or ‘...’ before ‘Uint32’                                                
stream.h:51: error: expected declaration specifiers or ‘...’ before ‘Sint8’                                                 
stream.h:52: error: expected declaration specifiers or ‘...’ before ‘Sint16’                                                
stream.h:53: error: expected declaration specifiers or ‘...’ before ‘Sint32’                                                
stream.h:58: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘stream_read_Uint8’                             
stream.h:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘stream_read_Uint16’                            
stream.h:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘stream_read_Uint32’                            
stream.h:61: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘stream_read_Sint8’                             
stream.h:62: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘stream_read_Sint16’                            
stream.h:63: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘stream_read_Sint32’                            
In file included from main.h:64,                                                                                            
                 from main.c:41:                                                                                            
net.h:75: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘net_address’                                      
net.h:77: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘net_socket’                                       
net.h:83: error: expected specifier-qualifier-list before ‘Uint32’                                                          
net.h:93: error: expected specifier-qualifier-list before ‘net_socket’                                                      
net.h:160: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘net_open’                                        
net.h:161: error: expected ‘)’ before ‘sock’                                                                                
net.h:162: error: expected declaration specifiers or ‘...’ before ‘Uint16’                                                  
net.h:163: error: expected ‘)’ before ‘sock’                                                                                
net.h:165: error: expected ‘)’ before ‘sock’                                                                                
net.h:166: error: expected ‘)’ before ‘sock’                                                                                
net.h:167: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token                                         
net.h:168: error: expected ‘)’ before ‘sock’                                                                                
net.h:169: error: expected ‘)’ before ‘sock’                                                                                
net.h:170: error: expected ‘)’ before ‘*’ token                                                                             
net.h:171: error: expected ‘)’ before ‘*’ token                                                                             
net.h:172: error: expected ‘)’ before ‘*’ token                                                                             
net.h:173: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token                                         
In file included from main.h:65,                                                                                            
                 from main.c:41:                                                                                            
net_connections.h:38: error: expected ‘)’ before ‘sock’                                                                     
net_connections.h:40: error: expected ‘)’ before ‘sock’                                                                     
net_connections.h:41: error: expected ‘)’ before ‘*’ token                                                                  
In file included from entity.h:30,                                                                                          
                 from player.h:30,                                                                                          
                 from main.h:71,                                                                                            
                 from main.c:41:                                                                                            
map.h:172: error: expected specifier-qualifier-list before ‘Uint32’                                                         
In file included from player.h:30,                                                                                          
                 from main.h:71,                                                                                            
                 from main.c:41:                                                                                            
entity.h:81: error: expected specifier-qualifier-list before ‘Uint8’                                                        
In file included from main.h:71,                                                                                            
                 from main.c:41:                                                                                            
player.h:118: error: expected specifier-qualifier-list before ‘Sint16’                                                      
In file included from main.h:71,                                                                                            
                 from main.c:41:                                                                                            
player.h:148: error: expected ‘)’ before ‘p’                                                                                
player.h:150: error: expected ‘)’ before ‘p’                                                                                
player.h:151: error: expected ‘)’ before ‘p’                                                                                
player.h:152: error: expected ‘)’ before ‘p’                                                                                
player.h:153: error: expected ‘)’ before ‘p’                                                                                
player.h:154: error: expected ‘)’ before ‘p’                                                                                
In file included from main.h:72,                                                                                            
                 from main.c:41:                                                                                            
loop.h:58: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘sock’                                            
loop.h:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token                                         
In file included from main.h:76,                                                                                            
                 from main.c:41:                                                                                            
input.h:51: error: expected specifier-qualifier-list before ‘Uint8’                                                         
input.h:56: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token                                        
input.h:58: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mouse_buttons’                                  
In file included from menu.h:30,                                                                                            
                 from main.h:79,                                                                                            
                 from main.c:41:                                                                                            
ogg.h:30:21: error: ogg/ogg.h: Datei oder Verzeichnis nicht gefunden                                                        
ogg.h:31:31: error: vorbis/vorbisfile.h: Datei oder Verzeichnis nicht gefunden                                              
In file included from menu.h:30,                                                                                            
                 from main.h:79,                                                                                            
                 from main.c:41:                                                                                            
ogg.h:41: error: expected specifier-qualifier-list before ‘OggVorbis_File’                                                  
In file included from main.h:91,                                                                                            
                 from main.c:41:                                                                                            
message.h:35: error: expected specifier-qualifier-list before ‘Uint32’                                                      
In file included from main.c:41:                                                                                            
main.h:97: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token                                         
main.h:99: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token                                         
main.c:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token                                         
main.c:53: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token                                         
main.c: In function ‘init’:                                                                                                 
main.c:165: error: ‘lua_vm’ undeclared (first use in this function)                                                         
main.c:165: error: (Each undeclared identifier is reported only once                                                        
main.c:165: error: for each function it appears in.)                                                                        
main.c:181: error: ‘SDL_INIT_VIDEO’ undeclared (first use in this function)                                                 
main.c:181: error: ‘SDL_INIT_TIMER’ undeclared (first use in this function)                                                 
main.c:181: error: ‘SDL_INIT_NOPARACHUTE’ undeclared (first use in this function)                                           
main.c:190: error: ‘SDL_GRAB_ON’ undeclared (first use in this function)                                                    
main.c:197: error: ‘SDL_GL_RED_SIZE’ undeclared (first use in this function)                                                
main.c:198: error: ‘SDL_GL_GREEN_SIZE’ undeclared (first use in this function)                                              
main.c:199: error: ‘SDL_GL_BLUE_SIZE’ undeclared (first use in this function)                                               
main.c:200: error: ‘SDL_GL_DEPTH_SIZE’ undeclared (first use in this function)                                              
main.c:201: error: ‘SDL_GL_DOUBLEBUFFER’ undeclared (first use in this function)                                            
main.c:205: error: ‘sock’ undeclared (first use in this function)                                                           
main.c:210: error: ‘screen’ undeclared (first use in this function)                                                         
main.c:210: error: ‘SDL_OPENGL’ undeclared (first use in this function)                                                     
main.c:210: error: ‘SDL_FULLSCREEN’ undeclared (first use in this function)                                                 
main.c:245: error: ‘AL_POSITION’ undeclared (first use in this function)                                                    
main.c:246: error: ‘AL_VELOCITY’ undeclared (first use in this function)                                                    
main.c:248: error: ‘AL_ORIENTATION’ undeclared (first use in this function)                                                 
main.c:252: error: ‘SDL_DISABLE’ undeclared (first use in this function)                                                    
main.c: In function ‘quit’:                                                                                                 
main.c:276: error: ‘lua_vm’ undeclared (first use in this function)                                                         
make[1]: *** [main.o] Fehler 1
make[1]: Leaving directory `/home/matze/Downloads/ff-src-0.3/game'
make: *** [compile] Fehler 2
linux-7n5z:/home/matze/Downloads/ff-src-0.3 # make install
mkdir -p /opt/flatfrag/
cp -r * /opt/flatfrag/
linux-7n5z:/home/matze/Downloads/ff-src-0.3 # checkinstall
If 'checkinstall' is not a typo you can use command-not-found to lookup the package that contains it, like this:
    cnf checkinstall
linux-7n5z:/home/matze/Downloads/ff-src-0.3 #
 

lOtz1009

Moderator
Teammitglied
1. nach fehlerhaftem make niemals make install ausführen
2. checkinstall musst du dir noch nachinstallieren
3. welche Libs du zum Kompilieren benötigst stand glaube ich auch in der Readme
;)

Ansonsten wende dich doch mal an den Autor des Artikels bei holarse. Evtl. kann der dir sagen ob das "normale" Spielpaket noch irgendwo zu holen ist.
 

Rainer Juhser

Moderator
Teammitglied
MatzUp schrieb:
@Rainer Juhser
Leider hab ich mit dem Punkt oder ohne, auch keinen Erfolg
Wie denn auch - du hast ja keine ausführbare Datei. Das ging aber aus den spärlichen Informationen deines ersten Beitrags nicht hervor. Mach das noch einmal, wenn du das Programm erfolgreich kompiliert oder eine kompilierte Version irgendwo heruntergeladen hast. Dann sollte es auch funktionieren.
 
Oben