Instala zlib:

apt-get install zlib1g-dev

Fran

El dv 29 de 03 de 2013 a les 12:35 -0500, en/na Hugo David Calderon
Vilca va escriure:
> Después de varios días sin tener éxito en poner funcionamiento el
> traductor en CENTOS con el objetivo de probar  apertium-quz-spa, he
> decido cambiar a Ubuntu server, mira:
> 1) he instalado correctamente  lttolbox
> 2) instaldo correctamente apertiubm
> 3) instaldo varios pares de lengua como apertium-es-fr y funcioa bien,
> traduce
> 4) instaldo correctamente vislcg3
> 5) instaldo correctamente OpenFST
> 
> 
> 6) PROBLEMA al instalar FOMA
> 7) PROBLEMA al instalar HFST
> 8) PROBLEMA al instalar APERTIUM-LEX-TOOLS
> 
> 
> 
> 
> ERROR al instalar FOMA:
> ----------------------------------
> root@ubuntuserver:/gramar/foma# make
> gcc -O3 -Wall -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC -c
> int_stack.c -o int_stack.o
> In file included from foma.h:18:0,
>                  from int_stack.c:20:
> fomalib.h:24:18: error fatal: zlib.h: No existe el archivo o el
> directorio
> compilación terminada.
> make: *** [int_stack.o] Error 1
> root@ubuntuserver:/gramar/foma# 
> -----------------------------------
> 
> 
> 
> 
> 
> ERROR al instalar HFST:
> ****************************
> # autoreconf -i     //pasó correctamente
> # ./configure --with-foma --enable-lexc   //pasó con warning al final
> # make     //tiene error  siguiente:
> o -c int_stack.c  -fPIC -DPIC -o .libs/int_stack.o
> 
> In file included from foma.h:18:0,
>                  from int_stack.c:20:
> fomalib.h:26:18: fatal error: zlib.h: No such file or directory
> compilation terminated.
> make[3]: *** [int_stack.lo] Error 1
> make[3]: se sale del directorio «/gramar/hfst3/back-ends/foma»
> make[2]: *** [all-recursive] Error 1
> make[2]: se sale del directorio «/gramar/hfst3/back-ends»
> make[1]: *** [all-recursive] Error 1
> make[1]: se sale del directorio «/gramar/hfst3»
> make: *** [all] Error 2
> root@ubuntuserver:/gramar/hfst3# 
> ****************************
> 
> 
> ERROR al instalar APERTIUM-LEX-TOOLS
> ++++++++++++++++
> root@ubuntuserver:/apertium/apertium-lex-tools# ./autogen.sh  //pasó
> correctamente
> 
> root@ubuntuserver:/apertium/apertium-lex-tools# make    //tiene
> errores
> make  all-am
> make[1]: se ingresa al directorio «/apertium/apertium-lex-tools»
> g++ -Wall -g -ggdb -DDEBUG  -g -O2 -lxml2  -L/usr/local/lib
> -lapertium3 -llttoolbox3 -lxml2 -lpcre   -lxml2   -lz  -o lrx-comp
> lrx_compiler.o lrx_comp.o  -lxml2  -L/usr/local/lib -lapertium3
> -llttoolbox3 -lxml2 -lpcre   -lxml2   -lz
> /usr/bin/ld: no se puede encontrar -lz
> /usr/bin/ld: no se puede encontrar -lz
> collect2: error: ld devolvió el estado de salida 1
> make[1]: *** [lrx-comp] Error 1
> make[1]: se sale del directorio «/apertium/apertium-lex-tools»
> make: *** [all] Error 2
> root@ubuntuserver:/apertium/apertium-lex-tools# 
> 
> 
> ++++++++++++++++
> 
> 
> 
> 
> -- 
> Hugo David Calderon
> (Movil)(Viber): 983638388 
> RPM: *0096390
> Skype: hdcalderon1
> 
> 




------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to