|
发表于 2002-12-27 22:36:04
|
显示全部楼层
can't find curkeys.h, no such file
把文件dpkg-1.9.21/dselect/curkeys.h里面的第168行删了,可能记不住了,反正是KEY_EVENT什么的,就是出错的那个。
root:/static/dpkg-1.9.21/dselect# ls
Makefile checkunimp.pl keyoverride methparse.cc pkgkeys.cc
Makefile.in curkeys.cc keys.c mkcurkeys.pl pkglist.cc
basecmds.cc dselect.8 main.cc mkhelpmsgs.pl pkglist.h
baselist.cc dselect.h methkeys.cc pkgcmds.cc pkgsublist.cc
basetop.cc helpmsgs.cc methlist.cc pkgdepcon.cc pkgtop.cc
bindings.cc helpmsgs.h method.cc pkgdisplay.cc
bindings.h helpmsgs.src method.h pkginfo.cc
root:/static/dpkg-1.9.21/dselect# cat curkeys.cc
/*
* dselect - Debian GNU/Linux package maintenance user interface
* curkeys.cc - list of ncurses keys for name <-> key mapping
*
* Copyright (C) 1995 Ian Jackson <iwj10@cus.cam.ac.uk>
*
* This is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2,
* or (at your option) any later version.
*
* This is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
extern "C" {
#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
}
#include "dselect.h"
#include "bindings.h"
const keybindings::keyname keybindings::keynames[] = {
#include "curkeys.h"
}; |
|