次のコマンドを使用して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/Makefilegrep -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
モジュールがロードされたというメッセージが表示されました。