dpkg fails to build on BLFS 5.0

Bhaskar Dutta bhaskiemail at yahoo.co.uk
Fri Feb 6 08:49:14 PST 2004


Hi, 
 I tried building dpkg and apt on BLFS 5.0 without success. I followed the 
tips from "BLFS TIPS". Till now not a single package has failed during make 
and this is the first one. I am running KDE 3.1.4. As mentioned in the TIP, I 
used dpkg 1.9.21 and apt 0.5.4. (dpkg_1.9.21.tar.gz & apt_0.5.4.tar.gz).

make fails and from the error it seems that ncurses is involved. On googling, 
I found a similar problem but there was no solution.
Commands I executed and the error I get are as follows:

$ tar xzvf dpkg_1.9.21.tar.gz
$ cd dpkg-1.9.21
$ ./configure --prefix=/usr --admindir=/var/lib/dpkg
$ mv doc/Makefile doc/Makefile.bak
$ sed 's/^all: /&# /g; s/^install: /&# /g' doc/Makefile.bak > doc/Makefile
$ make

[snip]

In file included from curkeys.cc:31:
curkeys.h:168: error: `KEY_EVENT' was not declared in this scope
make[1]: *** [curkeys.o] Error 1
make[1]: Leaving directory `/root/downloads/dpkg-1.9.21/dselect'
make: *** [all-recursive] Error 2

Am I missing something here? I reinstalled ncurses to see if anything happens 
but the error doesnt go. Is it possible to edit some source file to get rid 
of this error? Any help would be appreciated.

Regards,
Bhaskar.

-- 

_______________________________

 Bhaskar Dutta <bhaskie at phreaker.net> <bhaskie99 at yahoo.co.uk>
     GPG .eq. AA56 1EB5 D7E8 DD9C 298E  8F4D 375F D416 01D5 671C
-------------------------------
 http://qhotwire.sourceforge.net/bhaskar-gpg-public.key
_______________________________






More information about the blfs-support mailing list