我正在尝试使用以下命令在我的 centos 7 系统中安装 dahdi这链接但有一些错误
[root@localhost ~]# cd /usr/src/dahdi-linux-complete*
[root@localhost dahdi-linux-complete-2.11.0+2.11.0]# make && make install && make config
make -C linux all
make[1]: Entering directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux'
make -C drivers/dahdi/firmware firmware-loaders
make[2]: Entering directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/firmware'
make[2]: Leaving directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/firmware'
make -C /lib/modules/3.10.0-327.3.1.el7.x86_64/build SUBDIRS=/usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi DAHDI_INCLUDE=/usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[2]: Entering directory `/usr/src/kernels/3.10.0-327.3.1.el7.x86_64'
VERSION /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/xpp/xpp_version.h
Building modules, stage 2.
MODPOST 35 modules
WARNING: could not find /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/vpmadt032_loader/.vpmadt032_x86_64.o.cmd for /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/vpmadt032_loader/vpmadt032_x86_64.o
make[2]: Leaving directory `/usr/src/kernels/3.10.0-327.3.1.el7.x86_64'
make[1]: Leaving directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux'
(cd tools && [ -f config.status ] || ./configure --with-dahdi=../linux)
make -C tools all
make[1]: Entering directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools'
make all-recursive
make[2]: Entering directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools'
Making all in xpp
make[3]: Entering directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp'
Making all in perl_modules
make[4]: Entering directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp/perl_modules'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp/perl_modules'
make[4]: Entering directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp'
make[4]: Leaving directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp'
make[3]: Leaving directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp'
Making all in doc
make[3]: Entering directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools/doc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools/doc'
Making all in hotplug
make[3]: Entering directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools/hotplug'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools/hotplug'
make[3]: Entering directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools'
make -f ./Makefile.legacy top_srcdir=. srcdir=. all
make[4]: Entering directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools'
make[3]: Leaving directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools'
make[2]: Leaving directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools'
make[1]: Leaving directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools'
make -C linux all
make[1]: Entering directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux'
make -C drivers/dahdi/firmware firmware-loaders
make[2]: Entering directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/firmware'
make[2]: Leaving directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/firmware'
make -C /lib/modules/3.10.0-327.3.1.el7.x86_64/build SUBDIRS=/usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi DAHDI_INCLUDE=/usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[2]: Entering directory `/usr/src/kernels/3.10.0-327.3.1.el7.x86_64'
VERSION /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/xpp/xpp_version.h
Building modules, stage 2.
MODPOST 35 modules
WARNING: could not find /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/vpmadt032_loader/.vpmadt032_x86_64.o.cmd for /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/vpmadt032_loader/vpmadt032_x86_64.o
make[2]: Leaving directory `/usr/src/kernels/3.10.0-327.3.1.el7.x86_64'
make[1]: Leaving directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux'
(cd tools && [ -f config.status ] || ./configure --with-dahdi=../linux)
make -C tools all
make[1]: Entering directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools'
make all-recursive
make[2]: Entering directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools'
Making all in xpp
make[3]: Entering directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp'
Making all in perl_modules
make[4]: Entering directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp/perl_modules'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp/perl_modules'
make[4]: Entering directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp'
make[4]: Leaving directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp'
make[3]: Leaving directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp'
Making all in doc
make[3]: Entering directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools/doc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools/doc'
Making all in hotplug
make[3]: Entering directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools/hotplug'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools/hotplug'
make[3]: Entering directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools'
make -f ./Makefile.legacy top_srcdir=. srcdir=. all
make[4]: Entering directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools'
make[3]: Leaving directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools'
make[2]: Leaving directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools'
make[1]: Leaving directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools'
make -C linux install
make[1]: Entering directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux'
make -C drivers/dahdi/firmware firmware-loaders
make[2]: Entering directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/firmware'
make[2]: Leaving directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/firmware'
make -C /lib/modules/3.10.0-327.3.1.el7.x86_64/build SUBDIRS=/usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi DAHDI_INCLUDE=/usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[2]: Entering directory `/usr/src/kernels/3.10.0-327.3.1.el7.x86_64'
VERSION /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/xpp/xpp_version.h
Building modules, stage 2.
MODPOST 35 modules
WARNING: could not find /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/vpmadt032_loader/.vpmadt032_x86_64.o.cmd for /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/vpmadt032_loader/vpmadt032_x86_64.o
make[2]: Leaving directory `/usr/src/kernels/3.10.0-327.3.1.el7.x86_64'
build_tools/uninstall-modules dahdi 3.10.0-327.3.1.el7.x86_64
make -C /lib/modules/3.10.0-327.3.1.el7.x86_64/build SUBDIRS=/usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi DAHDI_INCLUDE=/usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes INSTALL_MOD_PATH= INSTALL_MOD_DIR=dahdi modules_install
make[2]: Entering directory `/usr/src/kernels/3.10.0-327.3.1.el7.x86_64'
INSTALL /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/dahdi.ko
Can't read private key
INSTALL /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/dahdi_dynamic.ko
Can't read private key
INSTALL /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/dahdi_dynamic_eth.ko
Can't read private key
INSTALL /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/dahdi_dynamic_ethmf.ko
Can't read private key
INSTALL /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/dahdi_dynamic_loc.ko
Can't read private key
INSTALL /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/dahdi_echocan_jpah.ko
Can't read private key
INSTALL /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/dahdi_echocan_kb1.ko
Can't read private key
INSTALL /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/dahdi_echocan_mg2.ko
Can't read private key
INSTALL /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/dahdi_echocan_sec.ko
Can't read private key
INSTALL /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/dahdi_echocan_sec2.ko
Can't read private key
INSTALL /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/dahdi_transcode.ko
Can't read private key
INSTALL /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/dahdi_vpmadt032_loader.ko
Can't read private key
INSTALL /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/oct612x/oct612x.ko
Can't read private key
INSTALL /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/pciradio.ko
Can't read private key
INSTALL /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/tor2.ko
Can't read private key
INSTALL /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/voicebus/dahdi_voicebus.ko
Can't read private key
INSTALL /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/wcaxx.ko
Can't read private key
INSTALL /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/wcb4xxp/wcb4xxp.ko
Can't read private key
INSTALL /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/wcfxo.ko
Can't read private key
INSTALL /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/wct1xxp.ko
Can't read private key
INSTALL /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/wct4xxp/wct4xxp.ko
Can't read private key
INSTALL /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/wctc4xxp/wctc4xxp.ko
Can't read private key
INSTALL /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/wctdm.ko
Can't read private key
INSTALL /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/wctdm24xxp/wctdm24xxp.ko
Can't read private key
INSTALL /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/wcte11xp.ko
Can't read private key
INSTALL /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/wcte12xp/wcte12xp.ko
Can't read private key
INSTALL /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/wcte13xp.ko
Can't read private key
INSTALL /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/wcte43x.ko
Can't read private key
INSTALL /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/xpp/xpd_bri.ko
Can't read private key
INSTALL /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/xpp/xpd_echo.ko
Can't read private key
INSTALL /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/xpp/xpd_fxo.ko
Can't read private key
INSTALL /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/xpp/xpd_fxs.ko
Can't read private key
INSTALL /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/xpp/xpd_pri.ko
Can't read private key
INSTALL /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/xpp/xpp.ko
Can't read private key
INSTALL /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/xpp/xpp_usb.ko
Can't read private key
DEPMOD 3.10.0-327.3.1.el7.x86_64
make[2]: Leaving directory `/usr/src/kernels/3.10.0-327.3.1.el7.x86_64'
[ `id -u` = 0 ] && /sbin/depmod -a 3.10.0-327.3.1.el7.x86_64 || :
for hdr in kernel.h user.h fasthdlc.h wctdm_user.h dahdi_config.h; do \
install -D -m 644 include/dahdi/$hdr /usr/include/dahdi/$hdr; \
done
make -C drivers/dahdi/firmware hotplug-install DESTDIR= HOTPLUG_FIRMWARE=yes
make[2]: Entering directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/firmware'
Firmware dahdi-fw-oct6114-032.bin is already installed with required version 1.05.01
Firmware dahdi-fw-oct6114-064.bin is already installed with required version 1.05.01
Firmware dahdi-fw-oct6114-128.bin is already installed with required version 1.05.01
Firmware dahdi-fw-oct6114-256.bin is already installed with required version 1.05.01
Firmware dahdi-fw-tc400m.bin is already installed with required version MR6.12
Firmware dahdi-fw-hx8.bin is already installed with required version 2.06
Firmware dahdi-fw-vpmoct032.bin is already installed with required version 1.12.0
Firmware dahdi-fw-te820.bin is already installed with required version 1.76
Firmware dahdi-fw-te133.bin is already installed with required version 7a001e
Firmware dahdi-fw-te134.bin is already installed with required version 780017
Firmware dahdi-fw-te435.bin is already installed with required version 13001e
Firmware dahdi-fw-te436.bin is already installed with required version 10017
Firmware dahdi-fw-a8a.bin is already installed with required version 1d0017
Firmware dahdi-fw-a8b.bin is already installed with required version 1f001e
Firmware dahdi-fw-a4a.bin is already installed with required version a0017
Firmware dahdi-fw-a4b.bin is already installed with required version d001e
make[2]: Leaving directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/firmware'
make -C drivers/dahdi/xpp/firmwares install
make[2]: Entering directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/xpp/firmwares'
mkdir -p /usr/share/dahdi
install ../init_card_1_30 ../init_card_2_30 ../init_card_3_30 ../init_card_4_30 ../init_card_5_30 /usr/share/dahdi/
install -m 644 ../XppConfig.pm USB_FW.hex USB_FW.201.hex USB_RECOV.hex FPGA_FXS.hex FPGA_1141.hex FPGA_1151.hex FPGA_1161.hex FPGA_1161.201.hex FPGA_1161.202.hex PIC_TYPE_1.hex PIC_TYPE_2.hex PIC_TYPE_3.hex PIC_TYPE_4.hex /usr/share/dahdi/
for id in 202 203; do \
if [ ! -r /usr/share/dahdi/USB_FW.$id.hex ]; then \
ln -s USB_FW.201.hex /usr/share/dahdi/USB_FW.$id.hex;\
fi; \
done
if [ ! -r /usr/share/dahdi/FPGA_1161.203.hex ]; then \
ln -s FPGA_1161.201.hex /usr/share/dahdi/FPGA_1161.203.hex;\
fi
make[2]: Leaving directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/xpp/firmwares'
###################################################
###
### DAHDI installed successfully.
### If you have not done so before, install the package
### dahdi-tools.
###
###################################################
make[1]: Leaving directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux'
make -C tools install
make[1]: Entering directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools'
Making install in xpp
make[2]: Entering directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp'
Making install in perl_modules
make[3]: Entering directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp/perl_modules'
make[4]: Entering directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp/perl_modules'
make[4]: Nothing to be done for `install-exec-am'.
/usr/bin/mkdir -p '/usr/local/share/perl5'
/usr/bin/mkdir -p '/usr/local/share/perl5/Dahdi/Hardware'
/usr/bin/install -c -m 644 Dahdi/Hardware/USB.pm Dahdi/Hardware/PCI.pm '/usr/local/share/perl5/Dahdi/Hardware'
/usr/bin/mkdir -p '/usr/local/share/perl5/Dahdi/Config/Gen'
/usr/bin/install -c -m 644 Dahdi/Config/Gen/Xpporder.pm Dahdi/Config/Gen/Spantypes.pm Dahdi/Config/Gen/Modules.pm Dahdi/Config/Gen/Users.pm Dahdi/Config/Gen/Freepbxdb.pm Dahdi/Config/Gen/Unicall.pm Dahdi/Config/Gen/Chandahdi.pm Dahdi/Config/Gen/Assignedspans.pm Dahdi/Config/Gen/System.pm '/usr/local/share/perl5/Dahdi/Config/Gen'
/usr/bin/mkdir -p '/usr/local/share/perl5/Dahdi/Xpp'
/usr/bin/install -c -m 644 Dahdi/Xpp/Line.pm Dahdi/Xpp/Xbus.pm Dahdi/Xpp/Xpd.pm Dahdi/Xpp/Mpp.pm '/usr/local/share/perl5/Dahdi/Xpp'
/usr/bin/install -c -m 644 Dahdi.pm '/usr/local/share/perl5/.'
/usr/bin/mkdir -p '/usr/local/share/perl5/Dahdi/Config'
/usr/bin/install -c -m 644 Dahdi/Config/Params.pm Dahdi/Config/Gen.pm '/usr/local/share/perl5/Dahdi/Config'
/usr/bin/mkdir -p '/usr/local/share/perl5/Dahdi'
/usr/bin/install -c -m 644 Dahdi/Hardware.pm Dahdi/Span.pm Dahdi/Utils.pm Dahdi/Chans.pm Dahdi/Xpp.pm '/usr/local/share/perl5/Dahdi'
make[4]: Leaving directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp/perl_modules'
make[3]: Leaving directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp/perl_modules'
make[3]: Entering directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp'
make[4]: Entering directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp'
/usr/bin/mkdir -p '/usr/sbin'
/usr/bin/install -c dahdi_registration xpp_sync lsdahdi xpp_blink dahdi_genconf dahdi_hardware twinstar '/usr/sbin'
/usr/bin/mkdir -p '/usr/share/dahdi'
/usr/bin/install -c xpp_fxloader astribank_hook waitfor_xpds '/usr/share/dahdi'
/usr/bin/mkdir -p '/usr/share/man/man8'
/usr/bin/install -c -m 644 ./dahdi_registration.8 ./xpp_sync.8 ./lsdahdi.8 ./xpp_blink.8 ./dahdi_genconf.8 ./dahdi_hardware.8 ./twinstar.8 '/usr/share/man/man8'
/usr/bin/install: cannot stat ‘./dahdi_registration.8’: No such file or directory
/usr/bin/install: cannot stat ‘./xpp_sync.8’: No such file or directory
/usr/bin/install: cannot stat ‘./lsdahdi.8’: No such file or directory
/usr/bin/install: cannot stat ‘./xpp_blink.8’: No such file or directory
/usr/bin/install: cannot stat ‘./dahdi_genconf.8’: No such file or directory
/usr/bin/install: cannot stat ‘./dahdi_hardware.8’: No such file or directory
/usr/bin/install: cannot stat ‘./twinstar.8’: No such file or directory
make[4]: *** [install-man8] Error 1
make[4]: Leaving directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools'
make: *** [install] Error 2
[root@localhost dahdi-linux-complete-2.11.0+2.11.0]#
我在 centos 6 上安装了 dahdi,但从未遇到过此问题。我不知道是什么导致了此问题。
/usr/bin/install: cannot stat ‘./dahdi_registration.8’: No such file or directory
/usr/bin/install: cannot stat ‘./xpp_sync.8’: No such file or directory
/usr/bin/install: cannot stat ‘./lsdahdi.8’: No such file or directory
/usr/bin/install: cannot stat ‘./xpp_blink.8’: No such file or directory
/usr/bin/install: cannot stat ‘./dahdi_genconf.8’: No such file or directory
/usr/bin/install: cannot stat ‘./dahdi_hardware.8’: No such file or directory
/usr/bin/install: cannot stat ‘./twinstar.8’: No such file or directory
我不明白为什么模块丢失了。
我努力了相似的但没有成功。如果有人能指出我正确的方向,那将会很有帮助。
在尝试@talezin解决方案时,它给了我
make[2]: Leaving directory `/usr/src/kernels/3.10.0-327.4.4.el7.x86_64.debug'
make[1]: Leaving directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux'
(cd tools && [ -f config.status ] || ./configure --with-dahdi=../linux)
make -C tools all
make[1]: Entering directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools'
make all-recursive
make[2]: Entering directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools'
Making all in xpp
make[3]: Entering directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp'
Makefile:1299: *** missing separator. Stop.
make[3]: Leaving directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools'
make: *** [all] Error 2
删除分隔符问题后,这里是完整的堆栈跟踪http://pastie.org/10683051。它给了我
Can't read private key
INSTALL /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/xpp/
还有很多 。
答案1
Makefile 中存在错误,并且未生成 Perl 脚本的一些手册页。那些以结尾的文件.8
是 man 文件。
由于file
打印 Perl 脚本不同描述的命令版本,此错误似乎发生在 CentOS 7 上:
[[email protected] xpp]# file xpp_blink
xpp_blink: a /usr/bin/perl -w script text executable
[[email protected] xpp]# file --version
file-5.04
[[email protected] xpp]# file xpp_blink
xpp_blink: Perl script, ASCII text executable
[[email protected] xpp]# file -version
file-5.11
因此,无法正确检测 Perl 脚本,也不会生成其手册页。
要解决此问题,您可以安装以前的 badhi-linux 版本:http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-2.10.2+2.10.2.tar.gz
您还可以编辑 Makefile 并手动修复它。运行第一个后make
,编辑生成的工具/xpp/Makefile并更改以下行(添加grep -i
):
--- tools/xpp/Makefile.orig 2016-01-16 18:13:31.645000000 +0000
+++ tools/xpp/Makefile 2016-01-16 18:13:56.927000000 +0000
@@ -1296,7 +1296,7 @@
all-local: $(perl_checks)
%.8: %
- @if file "$^" | cut -d: -f2 | grep -q perl; then \
+ @if file "$^" | cut -d: -f2 | grep -i -q perl; then \
if pod2man --section 8 $^ > $@; then \
echo " GEN $@"; \
else \
然后你就可以再跑make all install config
了。
安装 /usr/src/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/dahdi.ko
无法读取私钥
作为托马斯表示这是一个警告,可以忽略。这意味着它无法签署该外部内核模块,因为您不是内核/发行版维护者,并且您没有签署它所需的密钥。
答案2
有关错误的错误cannot stat
似乎仅与手册页有关。
/usr/bin/install: cannot stat ‘./dahdi_registration.8’: No such file or directory
/usr/bin/install: cannot stat ‘./xpp_sync.8’: No such file or directory
/usr/bin/install: cannot stat ‘./lsdahdi.8’: No such file or directory
/usr/bin/install: cannot stat ‘./xpp_blink.8’: No such file or directory
/usr/bin/install: cannot stat ‘./dahdi_genconf.8’: No such file or directory
/usr/bin/install: cannot stat ‘./dahdi_hardware.8’: No such file or directory
/usr/bin/install: cannot stat ‘./twinstar.8’: No such file or directory
解决方法是省略tools/xpp/Makefile
.
[root@localhost dahdi-linux-complete-2.11.0+2.11.0]# diff tools/xpp/Makefile tools/xpp/Makefile.orig
1220c1220
< install-data-am: install-dist_dahditoolsSCRIPTS \
---
> install-data-am: install-dist_dahditoolsSCRIPTS install-man \
1284c1284
< install-info install-info-am \
---
> install-info install-info-am install-man install-man8 \
对于与 相关的消息Can't read private key
,我认为无论如何都应该构建和安装模块,这仅意味着您没有私钥来对其进行签名。在构建这个包后,我快速做了一次modprobe dahdi
,得到了相同的消息,并且lsmod
显示模块已加载。