[SOLVED] I cant Install / Trying with DEB Package

Ask for help regarding any technical issue or report any bug or OS independent issues.
Locked
inukaze
Peon
Peon
Posts: 11
Joined: 02 Sep 2006, 22:41
Contact:

[SOLVED] I cant Install / Trying with DEB Package

Post by inukaze » 05 Sep 2006, 11:36

I have formated , and reinstalled my Ubuntu SO.
But when i want to install from the tmw_0.0.20-ubuntu2_i386.deb ,

$ sudo dpkg -i tmw_0.0.20-ubuntu2_i386.deb
Password:
(Leyendo la base de datos ...
185609 ficheros y directorios instalados actualmente.)
Preparando para reemplazar tmw 0.0.20-ubuntu1 (usando tmw_0.0.20-ubuntu2_i386.deb) ...
Desempaquetando el reemplazo de tmw ...
dpkg: problemas de dependencias impiden la configuración de tmw:
tmw depende de libguichan0 (>= 0.4.0-4ubuntu2); sin embargo:
el paquete libguichan0 no está instalado.
tmw depende de libsdl1.2debian-alsa (>= 1.2.9-0.0ubuntu2); sin embargo:
el paquete libsdl1.2debian-alsa no está instalado.
dpkg: error al procesar tmw (--install):
problemas de dependencias - se deja sin configurar
Se encontraron errores al procesar:
tmw
inukaze
Peon
Peon
Posts: 11
Joined: 02 Sep 2006, 22:41
Contact:

If i try with the Source

Post by inukaze » 05 Sep 2006, 11:41

$ ./configure --with-opengl
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking for pthread_create in -lpthread... yes
checking for gcnGuichanVersion in -lguichan... yes
checking for PHYSFS_init in -lphysfs... yes
checking for curl_global_init in -lcurl... yes
checking for xmlInitParser in -lxml2... yes
checking for IMG_LoadPNG_RW in -lSDL_image... yes
checking for Mix_OpenAudio in -lSDL_mixer... yes
checking for SDLNet_Init in -lSDL_net... yes
checking for png_write_info in -lpng... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for unistd.h... (cached) yes
checking guichan.hpp usability... yes
checking guichan.hpp presence... yes
checking for guichan.hpp... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... no
checking for an ANSI C-conforming const... yes
checking whether time.h and sys/time.h may both be included... yes
checking for working volatile... yes
checking for error_at_line... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for vprintf... yes
checking for _doprnt... no
checking for atexit... yes
checking for floor... yes
checking for getcwd... yes
checking for gethostbyname... yes
checking for memset... yes
checking for mkdir... yes
checking for select... yes
checking for socket... yes
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking dependency style of g++... gcc3
checking for sdl-config... /usr/local/bin/sdl-config
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating data/Makefile
config.status: creating data/graphics/Makefile
config.status: creating data/graphics/gui/Makefile
config.status: creating data/graphics/images/Makefile
config.status: creating data/graphics/sprites/Makefile
config.status: creating data/graphics/tiles/Makefile
config.status: creating data/help/Makefile
config.status: creating data/icons/Makefile
config.status: creating data/maps/Makefile
config.status: creating data/sfx/Makefile
config.status: creating docs/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

Build with OpenGL: yes

configure complete, now type "make"

$ make
make all-recursive
make[1]: se ingresa al directorio `/home/inukaze/Descargas/tmw/tmw-0.0.20'
Making all in data
make[2]: se ingresa al directorio `/home/inukaze/Descargas/tmw/tmw-0.0.20/data'
Making all in graphics
make[3]: se ingresa al directorio `/home/inukaze/Descargas/tmw/tmw-0.0.20/data/graphics'
Making all in gui
make[4]: se ingresa al directorio `/home/inukaze/Descargas/tmw/tmw-0.0.20/data/graphics/gui'
make[4]: No se hace nada para `all'.
make[4]: se sale del directorio `/home/inukaze/Descargas/tmw/tmw-0.0.20/data/graphics/gui'
Making all in images
make[4]: se ingresa al directorio `/home/inukaze/Descargas/tmw/tmw-0.0.20/data/graphics/images'
make[4]: No se hace nada para `all'.
make[4]: se sale del directorio `/home/inukaze/Descargas/tmw/tmw-0.0.20/data/graphics/images'
Making all in sprites
make[4]: se ingresa al directorio `/home/inukaze/Descargas/tmw/tmw-0.0.20/data/graphics/sprites'
make[4]: No se hace nada para `all'.
make[4]: se sale del directorio `/home/inukaze/Descargas/tmw/tmw-0.0.20/data/graphics/sprites'
Making all in tiles
make[4]: se ingresa al directorio `/home/inukaze/Descargas/tmw/tmw-0.0.20/data/graphics/tiles'
make[4]: No se hace nada para `all'.
make[4]: se sale del directorio `/home/inukaze/Descargas/tmw/tmw-0.0.20/data/graphics/tiles'
make[4]: se ingresa al directorio `/home/inukaze/Descargas/tmw/tmw-0.0.20/data/graphics'
make[4]: No se hace nada para `all-am'.
make[4]: se sale del directorio `/home/inukaze/Descargas/tmw/tmw-0.0.20/data/graphics'
make[3]: se sale del directorio `/home/inukaze/Descargas/tmw/tmw-0.0.20/data/graphics'
Making all in help
make[3]: se ingresa al directorio `/home/inukaze/Descargas/tmw/tmw-0.0.20/data/help'
make[3]: No se hace nada para `all'.
make[3]: se sale del directorio `/home/inukaze/Descargas/tmw/tmw-0.0.20/data/help'
Making all in icons
make[3]: se ingresa al directorio `/home/inukaze/Descargas/tmw/tmw-0.0.20/data/icons'
make[3]: No se hace nada para `all'.
make[3]: se sale del directorio `/home/inukaze/Descargas/tmw/tmw-0.0.20/data/icons'
Making all in maps
make[3]: se ingresa al directorio `/home/inukaze/Descargas/tmw/tmw-0.0.20/data/maps'
make[3]: No se hace nada para `all'.
make[3]: se sale del directorio `/home/inukaze/Descargas/tmw/tmw-0.0.20/data/maps'
Making all in sfx
make[3]: se ingresa al directorio `/home/inukaze/Descargas/tmw/tmw-0.0.20/data/sfx'
make[3]: No se hace nada para `all'.
make[3]: se sale del directorio `/home/inukaze/Descargas/tmw/tmw-0.0.20/data/sfx'
make[3]: se ingresa al directorio `/home/inukaze/Descargas/tmw/tmw-0.0.20/data'
make[3]: No se hace nada para `all-am'.
make[3]: se sale del directorio `/home/inukaze/Descargas/tmw/tmw-0.0.20/data'
make[2]: se sale del directorio `/home/inukaze/Descargas/tmw/tmw-0.0.20/data'
Making all in docs
make[2]: se ingresa al directorio `/home/inukaze/Descargas/tmw/tmw-0.0.20/docs'
make[2]: No se hace nada para `all'.
make[2]: se sale del directorio `/home/inukaze/Descargas/tmw/tmw-0.0.20/docs'
Making all in src
make[2]: se ingresa al directorio `/home/inukaze/Descargas/tmw/tmw-0.0.20/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -DTMW_DATADIR=\""/usr/local/share/tmw/"\" -Wall -Werror -DUSE_OPENGL -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT `pkg-config --cflags libxml-2.0` -g -O2 -MT tmw-char_server.o -MD -MP -MF ".deps/tmw-char_server.Tpo" -c -o tmw-char_server.o `test -f 'gui/char_server.cpp' || echo './'`gui/char_server.cpp; \
then mv -f ".deps/tmw-char_server.Tpo" ".deps/tmw-char_server.Po"; else rm -f ".deps/tmw-char_server.Tpo"; exit 1; fi
En el fichero incluído de /usr/local/include/SDL/SDL_stdinc.h:28,
de /usr/local/include/SDL/SDL_main.h:26,
de /usr/local/include/SDL/SDL.h:28,
de /usr/local/include/SDL/SDL_net.h:28,
de gui/../net/network.h:28,
de gui/char_server.cpp:34:
/usr/local/include/SDL/SDL_config.h:77:1: error: se redefinió "HAVE_MALLOC"
En el fichero incluído de gui/../main.h:30,
de gui/char_server.cpp:31:
gui/../../config.h:63:1: error: esta es la ubicación de la definición previa
En el fichero incluído de /usr/local/include/SDL/SDL_stdinc.h:28,
de /usr/local/include/SDL/SDL_main.h:26,
de /usr/local/include/SDL/SDL.h:28,
de /usr/local/include/SDL/SDL_net.h:28,
de gui/../net/network.h:28,
de gui/char_server.cpp:34:
/usr/local/include/SDL/SDL_config.h:79:1: error: se redefinió "HAVE_REALLOC"
En el fichero incluído de gui/../main.h:30,
de gui/char_server.cpp:31:
gui/../../config.h:85:1: error: esta es la ubicación de la definición previa
make[2]: *** [tmw-char_server.o] Error 1
make[2]: se sale del directorio `/home/inukaze/Descargas/tmw/tmw-0.0.20/src'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/home/inukaze/Descargas/tmw/tmw-0.0.20'
make: *** [all] Error 2
inukaze
Peon
Peon
Posts: 11
Joined: 02 Sep 2006, 22:41
Contact:

how to fix the autodepence solve?

Post by inukaze » 05 Sep 2006, 11:43

Hi, before than me formatted the system, the system search and solve the autodependences of each files,

How to activate that?
plx i need help

I want to Play TMW
User avatar
Pajarico
Warrior
Warrior
Posts: 592
Joined: 28 Feb 2005, 20:29
Contact:

Post by Pajarico » 05 Sep 2006, 11:54

It's enough to post the few last lines of the error in a single post. Don't need to post the entire configure or dpkg commands.
Lv.: Maggot
Please, read the FAQ before posting.
Gonzalo
Peon
Peon
Posts: 41
Joined: 12 Oct 2005, 14:54
Contact:

Post by Gonzalo » 05 Sep 2006, 19:37

I seem to recall that TMW needed a specific version of libguichan. It has been updated on CVS, but maybe the deb doesn't yet. I also think Ubuntu as every live linux distro uses bleeding-edge versions of every available library. I guess your problem may be related to this.
You may consider adding some official source for Debian stable (Sarge), where you'll be able to find libguichan-0.4, or perhaps download the latest TMW.

Since the logs are in spanish, and its my native language (:P), I'm taking the liberty of translating.

Creo recordar que TMW necesita una versión específica de libguichan. Ya está actualizado en la versión de desarrollo, pero el deb probablemete no. También supongo que como toda distribución live de Linux, Ubuntu debe usar las últimas versiones de todas las librerías que trae.
Fijate de agregar una fuente para apt de debian estable (Sarge) desde donde instalar la versión 0.4, o bajate la versión de desarrollo de TMW.

Code: Select all

System.out.println("Java Developer");
echo 'Powered by Debian GNU/Linux'
User avatar
ElvenProgrammer
TMW Adviser
TMW Adviser
Posts: 2526
Joined: 13 Apr 2004, 20:11
Location: Italy
Contact:

Post by ElvenProgrammer » 05 Sep 2006, 19:43

Since the logs are in spanish, and its not my native language (:P), You should take the liberty to translate :lol:
inukaze
Peon
Peon
Posts: 11
Joined: 02 Sep 2006, 22:41
Contact:

Dependences - Dependencias

Post by inukaze » 05 Sep 2006, 20:17

SDL - http://www.libsdl.org
SDL_mixer - http://www.libsdl.org/projects/SDL_mixer
SDL_image - http://www.libsdl.org/projects/SDL_image
SDL_net - http://www.libsdl.org/projects/SDL_net
Guichan 0.4.0 - http://guichan.sourceforge.net (not any other version!)
libxml2 - http://www.xmlsoft.org
physfs 1.0.x - http://icculus.org/physfs (not the unstable 1.1.0 release!)
zlib 1.2.x - http://www.gzip.org/zlib/
libcurl - http://curl.haxx.se/libcurl/

Ok, :S , ups i have installed "physfs 1.1.0" :S, aff, well, someone can tellme, in where i can find the packages prepares for Ubuntu System Of This Packages? Plx i need

i has installed all the packages from Sources, but the system no reconized that with pakes how Adept, but the Sinaptic , yes
Sorry my bad english

Spanish : Ok, :S yo instale el "physfs 1.1.0" :S, aff, bueno, alguien puede decir en donde yo puedo encontrar los paquetes preparados para los Sistemas Ubuntu, de los paquetes mencionandos anteriormente?, Plx yo los necesito. ustedes saben en que repertorio.

yo instale todas las librerias anteriores, desde las fuentes, pero el sistema no me las reconoce bien con programas como el "Adept" del Kde, pero con "Sinaptyc" de Gnome si, entonces eso me tiene algo confuso.

Bueno voy a probar instalar una version anterior de physfs 1.1.0, a ver si funciona
inukaze
Peon
Peon
Posts: 11
Joined: 02 Sep 2006, 22:41
Contact:

Ready, I can play perfect :D ty

Post by inukaze » 05 Sep 2006, 21:48

i has installed all from Source, except the tmw, i has installed from KDE desktop, and all Fine, i can Play Perfect. :D

I think, if CipSoft, can use this how example to program a Native Client for Linux. Much player was very grateful
Locked