我正在尝试安装联邦调查局 (Fbi),帧缓冲区图像查看器,在 Ubuntu 16.04 上。我尝试从源 fbida v2.13 (www.kraxel.org/releases/fbida/) 进行构建,因为当我使用 安装时sudo apt-get install fbi
,它会安装 v2.09。
在使用该make
命令时,我收到错误:Make.config:1: *** empty variable name. Stop.
在使用该make
命令之前,我使用以下命令安装了所有依赖项。我假设这些依赖项是基于类似项目中提供的说明,该项目名为财务信息管理。
sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install autoconf autoconf-archive automake autotools-dev bison ctags flex groff g++ libaa1-dev libdjvulibre-dev libgif-dev libimlib2-dev libjpeg-dev libncurses5-dev libpng-dev libpoppler-cpp-dev libpoppler-dev libreadline-dev libsdl-dev libspectre-dev libtiff-dev libtool m4 make txt2html libexif-dev
以下是我使用该命令时遇到的确切错误make
:
dev@dev-VirtualBox:~/Downloads/fbida-2.13-1$ make
checking for libdir name ... lib
checking for X11 app-defaults prefix ... /etc/X11
checking for endian.h ... yes
checking for linux/fb.h ... yes
checking for libexif/exif-log.h ... yes
checking for fopencookie ... yes
checking for strsignal ... yes
checking for pcd_open in pcd ... no
checking for DGifOpenFileName in gif ... yes
checking for libpng (using pkg-config) ... yes
checking for libtiff-4 (using pkg-config) ... yes
checking for libwebp (using pkg-config) ... no
checking for sane_init in sane ... no
checking for curl_easy_init in curl ... no
checking for lirc_init in lirc_client ... no
checking for XmStringGenerate in Xm ... no
checking for libjpeg version ... 80
Make.config written, edit if needed
Make.config:1: *** empty variable name. Stop.
以下是我的内容配置工具文件。
dev@dev-VirtualBox:~/Downloads/fbida-2.13-1$ cat Make.config
-e LIB := lib
RESDIR := /etc/X11
HAVE_ENDIAN_H := yes
HAVE_LINUX_FB_H := yes
HAVE_NEW_EXIF := yes
HAVE_GLIBC := yes
HAVE_STRSIGNAL := yes
HAVE_LIBPCD := no
HAVE_LIBGIF := yes
HAVE_LIBPNG := yes
HAVE_LIBTIFF := yes
HAVE_LIBWEBP := no
HAVE_LIBSANE := no
HAVE_LIBCURL := no
HAVE_LIBLIRC := no
HAVE_MOTIF := no
JPEG_VER := 80
答案1
这是由于使用非 bash shell 作为默认 shell 造成的。Autoconf.mk 中有一行内容:
@echo -e "$(make-config-q)" > $@
将在 dash shell 中逐字打印 -e。