Compilando Armagetronad en Mandriva 2007 Spring
June 11th, 2007 by BusindrePara compilar el juego Armagetronad en GNU/Linux, si usan Mandriva 2007 Spring solo deben seguir estas sencillas instrucciones.
Descargar: Código fuente armagetronad-0.2.8.2.1
Errores que podemos encontrar:
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
checking for xmlParseMemory in -lxml2... ./configure: line 11981: xml2-config: command not found
configure: error: You need the library SDL to compile Armagetron. Read the file doc/install_linux.html.
You need GLU to compile Armagetron; it SHOULD have come with OpenGL
configure: error: You need libpng to compile Armagetron.
...
Dependencias(Solucionan todos los anteriores problemas y alguno más):
# urpmi gcc-c++
# urpmi libxml2-devel
# urpmi libSDL1.2-devel
# urpmi libmesaglu3-devel
# urpmi libpng3-devel
# urpmi libdslimage-devel
# urpmi libjpeg62-devel
# urpmi libSDL_image1.2-devel
NOTA: Se debe tener aceleración 3D y las kernel-sources correspondientes al kernel usado, por defecto en Mandriva 2007 Spring: kernel-source-2.6.17.13mdv
Una vez tengamos instaladas dichas dependencias, la compilación sera optima
$ tar -zxvf armagetronad-0.2.8.2.1.src.tar.gz
$ cd armagetronad-0.2.8.2.1/
$ ./configure
$ make
# make install
Ejecutar juego: $ armagetronad
Desinstalar juego: $ armagetronad-uninstall
Posted in Mandriva |