SLang or not to SLang

David Martin dmartina at excite.es
Tue Aug 14 18:16:50 UTC 2001


A couple of things with SLang:

a) Messages about Slang in "mc -V" seem to be swapped.

b) I'm not sure if "configure --without-slang" (and variants) behaves as it
is supossed to.


./configure (...) --enable-charset
Text mode screen manager:   SLang (system-installed library) with termcap
LANGUAGE=c src/mc -V: Using S-Lang library with termcap database

./configure (...) --enable-charset --with-included-slang
Text mode screen manager:   SLang with terminfo
LANGUAGE=c src/mc -V: Using system-installed S-Lang library with terminfo
database
(no trace of slang in ldd)

./configure (...) --enable-charset --without-slang
Text mode screen manager:   SLang (system-installed library) with termcap
LANGUAGE=c src/mc -V: Using S-Lang library with termcap database

./configure (...) --enable-charset --without-slang --with-ncurses
Text mode screen manager:   ncurses on /usr/include
(Compile error)
gcc -c (...) main.c
main.c: In function `setup_pre':
main.c:1848: `eight_bit_clean' undeclared (first use in this function)
main.c:1848: (Each undeclared identifier is reported only once
main.c:1848: for each function it appears in.)
main.c:1844: warning: unused variable `full_eight_bits'
make[2]: *** [main.o] Error 1
make[2]: Saliendo directorio `/usr/src/mc-4.5.54a/src'
make[1]: *** [all-recursive] Error 1
make[1]: Saliendo directorio `/usr/src/mc-4.5.54a'
make: *** [all] Error 2

./configure (...) --without-slang --with-ncurses
Text mode screen manager:   ncurses on /usr/include
LANGUAGE=c src/mc -V: Using the ncurses library

-------------------
(nearly fresh Mandrake 8.0)

$ rpm -qa | grep slang
libslang1-1.4.4-1mdk
slang-doc-1.4.4-1mdk
libslang1-devel-1.4.4-1mdk

$ rpm -qa | grep ncurses
ncurses-5.2-12mdk
libncurses5-devel-5.2-12mdk
libncurses5-5.2-12mdk
-------------------


Lately I had to compile --with-included-slang to avoid those
"qqqqqqqqq-----"
in dialog frames. No trace of it now.

Is this piece in textconf.c right?
-----------------------
#   ifdef HAVE_SYSTEM_SLANG
    N_("Using S-Lang library"),
#   else
    N_("Using system-installed S-Lang library"),
#   endif
----------------------  

*8-) David





_______________________________________________________
¡Tienes cuentas de e-mail GRATIS en Excite España!
A tu disposición en http://correo.excite.es 





More information about the mc-devel mailing list