首页 > 解决方案 > 在 ubuntu 14.04 上为 bluez 5.49 运行 make 时出错

问题描述

我正在尝试在 ubuntu 14.04 上安装 bluez 5.49,但出现以下错误:

make: *** [all] Error 2
mivascu@ubuntu:~/bluez-5.49$ make
make --no-print-directory all-am
  CC       lib/bluetooth.lo
./libtool: 1552: ./libtool: preserve_args+= --silent: not found
./libtool: 1564: ./libtool: preserve_args+= --tag CC: not found
./libtool: 1: eval: base_compile+= gcc: not found
./libtool: 1: eval: base_compile+= -DHAVE_CONFIG_H: not found
./libtool: 1: eval: base_compile+= -I.: not found
./libtool: 1: eval: base_compile+= -I./lib: not found
./libtool: 1: eval: base_compile+= -I/usr/include/dbus-1.0: not found
./libtool: 1: eval: base_compile+= -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include: not found
./libtool: 1: eval: base_compile+= -I/usr/include/glib-2.0: not found
./libtool: 1: eval: base_compile+= -I/usr/lib/x86_64-linux-gnu/glib-2.0/include: not found
./libtool: 1: eval: base_compile+= -g: not found
./libtool: 1: eval: base_compile+= -O2: not found
./libtool: 1: eval: base_compile+= -MT: not found
./libtool: 1: eval: base_compile+= lib/bluetooth.lo: not found
./libtool: 1: eval: base_compile+= -MD: not found
./libtool: 1: eval: base_compile+= -MP: not found
./libtool: 1: eval: base_compile+= -MF: not found
./libtool: 1: eval: base_compile+= lib/.deps/bluetooth.Tpo: not found
./libtool: 1: eval: base_compile+= -c: not found
libtool: compile: you must specify a compilation command
libtool: compile: Try `libtool --help --mode=compile' for more information.
make[1]: *** [lib/bluetooth.lo] Error 1

我确实安装了 build-essential 和 gcc。可能是什么问题?我遇到了这个https://trac.osgeo.org/gdal/ticket/4102 但不明白解决方案是什么。

谢谢,米海塔

标签: bluez

解决方案


推荐阅读