Witam. Jak wiadomo nnd obsluguje kodowanie iso-8859-2. Problem w tym, iz potrzebuje do pracy podlaczanie sie telnetem z konsoli sewerka pod pewnego hosta z kodowaniem CP853 (DOS). Owszem, polaczenie jest zestawione, lecz objawia sie bledami wyswietlania spowodowanymi niekompatybilnoscia obu standardow.
Znalazlem w sieci sofcik (ttyconv) z
http://www.bedroomlan.org/~alexios/coding_ttyconv.html , ktory to realizuje to zadanie "w locie". Mam jednak klopoty z kompilacja:
[root@compile ttyconv]# ./configure
creating cache ./config.cache
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal-1.4... missing
checking for working autoconf... found
checking for working automake-1.4... missing
checking for working autoheader... found
checking for working makeinfo... missing
checking host system type... i686-pc-linux-gnu
checking for a BSD compatible install... /bin/install -c
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for mawk... mawk
checking how to run the C preprocessor... gcc -E
checking whether ln -s works... yes
checking whether make sets ${MAKE}... (cached) yes
checking for ranlib... ranlib
checking for X... no
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for ANSI C header files... yes
checking for unistd.h... yes
checking for forkpty in -lutil... yes
checking for ANSI C header files... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for sys/time.h... yes
checking for time.h... yes
checking for sys/mkdev.h... no
checking for sys/sysmacros.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for fcntl.h... yes
checking for dirent.h... yes
checking for sys/ndir.h... no
checking for ndir.h... no
checking for alloca.h... yes
checking for locale.h... yes
checking whether sys/types.h defines makedev... yes
checking for working alloca.h... (cached) yes
checking for alloca... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for st_blocks in struct stat... yes
checking whether closedir returns void... no
checking for argp.h... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating src/Makefile
creating ttyconv.lsm
creating config.h
[root@monaliza ttyconv]# make
cd . && /ttyconv/missing aclocal-1.4
WARNING: `aclocal-1.4' is missing on your system. You should only need it if
you modified `acinclude.m4' or `configure.in'. You might want
to install the `Automake' and `Perl' packages. Grab them from
any GNU archive site.
cd . && /ttyconv/missing automake-1.4 --gnu Makefile
WARNING: `automake-1.4' is missing on your system. You should only need it if
you modified `Makefile.am', `acinclude.m4' or `configure.in'.
You might want to install the `Automake' and `Perl' packages.
Grab them from any GNU archive site.
cd . && autoconf
autom4te: m4sugar/m4sugar.m4: no such file or directory
make: *** [configure] Błąd 1
Jak widac brakuje aclocal-1.4 oraz automake-1.4. (pomimo, ze na nnd sa...jedynie w innych wersjach...)
Jezeli macie jakies inne pomysly na zrealizowanie tego zalozenia prosze o rozwiniecie watku. Mile widziane rowniez alternatywne pomysly rozwiazania problemu.