bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with fallbacks in ncurses 5.4


From: DervishD
Subject: Problem with fallbacks in ncurses 5.4
Date: Thu, 31 Mar 2005 17:36:46 +0200
User-agent: Mutt/1.4.2.1i

    Hi :))

    I have downloaded ncurses 5.4 and patched it until 2005-03-27,
and I want to install it in two systems: one of them has not prior
ncurses installation (so it lacks a 'infocmp' command) and a system
with a built-in terminfo database and without 'infocmp'.

    What I want is to build a library without a database, just with a
couple of fallback entries (linux and maybe vt100), but I cannot
because if I specify '--without-database' and
'--with-fallbacks=linux,vt100' compilation fails, since 'MKfallbacks'
needs infocmp to build the fallbacks!

    How can I solve this problem? Am I doing anything wrong? This is
my configure command:

    ./configure --prefix=/usr --without-ada --with-shared \
                --with-normal\ --without-debug --without-profile \
                --disable-home-terminfo \
                --with-default-terminfo-dir=/usr/lib/terminfo \
                --without-manpage-aliases \
                --with-manpage-format=normal \
                --without-manpage-symlinks \
                --with-terminfo-dirs=/usr/lib/terminfo \
                --with-termpath=/etc/termcap --datadir=/usr/lib \
                --without-database --with-fallbacks=linux,vt100

    And the fail is this, caused by the early MKfallbacks command
that fails when 'infocmp' is not found:

cd ncurses && make DESTDIR="" all
make[1]: Entering directory `/user/.../NCURSES/ncurses-5.4/ncurses'
cd ../obj_s;  gcc -DHAVE_CONFIG_H -I../ncurses -I. -I. -I../include  
-D_GNU_SOURCE -DNDEBUG -O2 -fPIC -c ../ncurses/fallback.c
../ncurses/fallback.c:16: error: parse error before ',' token
make[1]: *** [../obj_s/fallback.o] Error 1
make[1]: Leaving directory `/user/.../NCURSES/ncurses-5.4/ncurses'
make: *** [all] Error 2

    I've included the generated 'fallback.c' just in case. Thanks a
lot in advance and sorry for bothering you if this is a known issue
or if I'm doing something wrong.

    Raúl Núñez de Arenas Coronado

-- 
Linux Registered User 88736
http://www.dervishd.net & http://www.pleyades.net/
It's my PC and I'll cry if I want to...

Attachment: fallback.c
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]