如何为git repo配置/编译bluez源代码

时间:2019-05-27 06:20:28

标签: c autoconf

http://www.bluez.org/release-of-bluez-5-50/下载的源代码有一个configure文件,所以我只需要这样做

./configure --some-parameters

然后它可以工作。但是我无法配置从git repo https://git.kernel.org/pub/scm/bluetooth/bluez.git克隆然后检出到5.50的代码。看到输出:

pi@raspberrypi:~/temp/bluez$ autoconf 
configure.ac:4: error: possibly undefined macro: AM_INIT_AUTOMAKE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:10: error: possibly undefined macro: AM_MAINTAINER_MODE
configure.ac:23: error: possibly undefined macro: AM_PROG_CC_C_O
configure.ac:24: error: possibly undefined macro: AC_PROG_CC_PIE
configure.ac:31: error: possibly undefined macro: AC_DISABLE_STATIC
configure.ac:32: error: possibly undefined macro: AC_PROG_LIBTOOL
configure.ac:40: error: possibly undefined macro: AM_CONDITIONAL
pi@raspberrypi:~/temp/bluez$ 

我注意到这两个源代码是相同的,只是期望有些文件不会在另一侧退出。例如bluez-5.50.tar.xz有一个configure文件,但git repo没有。

所以问题是如何使用git repo中的bluez源代码? 是针对发布源代码包bluez-5.50.tar.xz所做的一些处理步骤吗?

0 个答案:

没有答案