hello,
change directory to cd /usr/local/src
mkdir asterisk
ls
cd asterisk
wget downloads.asterisk.org/pub/telep … ent.tar.gz
tar -zxvf d*
reboot
cd /usr/local/src/asterisk
cd d*
make clean
make
make all
make install
make config
chkconfig dahdi on
I would guess CentOS 7 has implemented driver signing, in which case you will have to see if there is an option to turn it off, and modify the make file accordingly, or add the build steps necessary to do the signing.
Note it is possible that the modules have been installed, but unsigned, and you will be OK unless you try a UEFI secure boot. Even then, it possible that the problem will only arise for drivers that loaded early.
Actually, the eventual failure of make install is because it cannot find the man pages in the build tree, not because of the driver signing issue.
Dahdi installed. The problem is with dahdi_tools. You seem to be missing the man pages. Are they in the source tree. I’d expect them to be in the doc sub-directory.
man pages are installed:
[root@localhost tools]# yum info man-pages
Loaded plugins: fastestmirror, langpacks, priorities
Loading mirror speeds from cached hostfile
updates: mirror.edatel.net.co
Installed Packages
Name : man-pages
Arch : noarch
Version : 3.53
Release : 5.el7
Size : 4.6 M
Repo : installed
From repo : anaconda
Summary : Man (manual) pages from the Linux Documentation Project
URL : kernel.org/doc/man-pages/
License : GPL+ and GPLv2+ and BSD and MIT and Copyright only and IEEE
Description : A large collection of man pages (documentation) from the Linux
: Documentation Project (LDP).
updates: mirror.edatel.net.co
Installed Packages
Name : man-pages
Arch : noarch
Version : 3.53
Release : 5.el7
Size : 4.6 M
Repo : installed
From repo : anaconda
Summary : Man (manual) pages from the Linux Documentation Project
URL : kernel.org/doc/man-pages/
License : GPL+ and GPLv2+ and BSD and MIT and Copyright only and IEEE
Description : A large collection of man pages (documentation) from the Linux
: Documentation Project (LDP).
[root@localhost tools]# ./configure
checking for a BSD-compatible install… /usr/bin/install -c
checking whether build environment is sane… yes
checking for a thread-safe mkdir -p… /usr/bin/mkdir -p
checking for gawk… gawk
checking whether make sets $(MAKE)… yes
checking whether make supports nested variables… yes
checking whether make supports nested variables… (cached) yes
checking for style of include used by make… GNU
checking for gcc… gcc
checking whether the C compiler works… yes
checking for C compiler default output file name… a.out
checking for suffix of executables…
checking whether we are cross compiling… no
checking for suffix of object files… o
checking whether we are using the GNU C compiler… yes
checking whether gcc accepts -g… yes
checking for gcc option to accept ISO C89… none needed
checking whether gcc understands -c and -o together… yes
checking dependency style of gcc… gcc3
checking how to run the C preprocessor… gcc -E
checking for grep that handles long lines and -e… /usr/bin/grep
checking for egrep… /usr/bin/grep -E
checking for ANSI C header files… yes
checking for sys/types.h… yes
checking for sys/stat.h… yes
checking for stdlib.h… yes
checking for string.h… yes
checking for memory.h… yes
checking for strings.h… yes
checking for inttypes.h… yes
checking for stdint.h… yes
checking for unistd.h… yes
checking minix/config.h usability… no
checking minix/config.h presence… no
checking for minix/config.h… no
checking whether it is safe to define EXTENSIONS… yes
checking sys/soundcard.h usability… yes
checking sys/soundcard.h presence… yes
checking for sys/soundcard.h… yes
checking linux/soundcard.h usability… yes
checking linux/soundcard.h presence… yes
checking for linux/soundcard.h… yes
checking for ld… ld
checking for g++… g++
checking whether we are using the GNU C++ compiler… yes
checking whether g++ accepts -g… yes
checking dependency style of g++… gcc3
checking for gcc… (cached) gcc
checking whether we are using the GNU C compiler… (cached) yes
checking whether gcc accepts -g… (cached) yes
checking for gcc option to accept ISO C89… (cached) none needed
checking whether gcc understands -c and -o together… (cached) yes
checking dependency style of gcc… (cached) gcc3
checking how to run the C preprocessor… gcc -E
checking whether ln -s works… yes
checking whether make sets $(MAKE)… (cached) yes
checking for gawk… (cached) gawk
checking build system type… x86_64-unknown-linux-gnu
checking host system type… x86_64-unknown-linux-gnu
checking how to print strings… printf
checking for a sed that does not truncate output… /usr/bin/sed
checking for fgrep… /usr/bin/grep -F
checking for ld used by gcc… ld
checking if the linker (ld) is GNU ld… yes
checking for BSD- or MS-compatible name lister (nm)… /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface… BSD nm
checking the maximum length of command line arguments… 1572864
checking whether the shell understands some XSI constructs… yes
checking whether the shell understands “+=”… yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format… func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format… func_convert_file_noop
checking for ld option to reload object files… -r
checking for objdump… objdump
checking how to recognize dependent libraries… pass_all
checking for dlltool… no
checking how to associate runtime and link libraries… printf %s\n
checking for ar… ar
checking for archiver @FILE support… @
checking for strip… strip
checking for ranlib… ranlib
checking command to parse /usr/bin/nm -B output from gcc object… ok
checking for sysroot… no
checking for mt… no
checking if : is a manifest tool… no
checking for dlfcn.h… yes
checking for objdir… .libs
checking if gcc supports -fno-rtti -fno-exceptions… no
checking for gcc option to produce PIC… -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works… yes
checking if gcc static flag -static works… no
checking if gcc supports -c -o file.o… yes
checking if gcc supports -c -o file.o… (cached) yes
checking whether the gcc linker (ld -m elf_x86_64) supports shared libraries… yes
checking whether -lc should be explicitly linked in… no
checking dynamic linker characteristics… GNU/Linux ld.so
checking how to hardcode library paths into programs… immediate
checking whether stripping libraries is possible… yes
checking if libtool supports shared libraries… yes
checking whether to build shared libraries… yes
checking whether to build static libraries… yes
checking how to run the C++ preprocessor… g++ -E
checking for ld used by g++… ld -m elf_x86_64
checking if the linker (ld -m elf_x86_64) is GNU ld… yes
checking whether the g++ linker (ld -m elf_x86_64) supports shared libraries… yes
checking for g++ option to produce PIC… -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works… yes
checking if g++ static flag -static works… no
checking if g++ supports -c -o file.o… yes
checking if g++ supports -c -o file.o… (cached) yes
checking whether the g++ linker (ld -m elf_x86_64) supports shared libraries… yes
checking dynamic linker characteristics… (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs… immediate
checking for GNU make… make
sed: can’t read conftest.c: No such file or directory
checking for grep… (cached) /usr/bin/grep
checking for sh… /bin/sh
checking for ln… /usr/bin/ln
checking for wget… /usr/bin/wget
checking for perl… /usr/bin/perl
checking for perl libdir… /usr/local/share/perl5
checking for -Wdeclaration-after-statement support… yes
checking for DAHDI_CODE in dahdi/user.h… yes
checking for DAHDI_CONFIG_NTTE in dahdi/user.h… yes
checking for newtBell in -lnewt… yes
checking newt.h usability… yes
checking newt.h presence… yes
checking for newt.h… yes
checking for usb_init in -lusb… no
checking for pcap_compile in -lpcap… no
checking whether DAHDI_TXMIRROR is declared… no
checking for semtimedop… yes
checking for pkg-config… /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0… yes
checking for LIBUSBX… no
checking for LIBUSB… no
checking for GENERIC_HDLC_VERSION version 4 in linux/hdlc.h… no
checking for GENERIC_HDLC_VERSION version 4 in linux/hdlc/ioctl.h… yes
checking that generated files are newer than configure… done
configure: creating ./config.status
config.status: creating makeopts
config.status: creating version.c
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating hotplug/Makefile
config.status: creating ppp/Makefile
config.status: creating xpp/Makefile
config.status: creating xpp/xtalk/Makefile
config.status: creating xpp/oct612x/Makefile
config.status: creating xpp/perl_modules/Makefile
config.status: creating autoconfig.h
config.status: autoconfig.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
configure: *** dahdi-tools build successfully configured ***
Actually some man files were indeed missing. That’s what these errors were about:
/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
This is what I did to workaround this error (assuming your install dir is /usr/src/dahdi-*):
Hello
I’ve come across the same issue, and per your comment, read Makefile(s) in dahdi, /tools, /tools/xpp, and did not really see anything explaining this. Was this a generic comment or else, could you clarify which Makefile and section you were referring to ?
It is what I’d have to do to work out why the files weren’t there when install was run on them. It was looking as though no-one else, on the forum, had tried to do what you were doing.
Thanks - I had understood your comment as ‘RTFM’, M being Makefile this time - and was expecting something obvious in them to explain why it was failing
I’m not sure this will be helpful to you, but here’s what I did t solve the issue.
I found the makefile was calling [b]make install[/b] on the respective makefiles in the [b]linux[/b] and [b]tools[/b] directory (using make -C). Somehow, it seems make wasn’t able to change dir.
So, I manually cd’d to those directories and ran the [b]make install[/b]. This solved the problem for me. Also make sure you run it as root.