ubuntu trusty dahdi-dkms does not install due to compile errors and missing files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dahdi-linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When installing asterisk-dahdi, which in turn install dahdi-dkms I get:
...
Setting up dahdi-dkms (1:2.5.
Loading new dahdi-2.
First Installation: checking all kernels...
Building only for 3.13.0-30-generic
Building for architecture x86_64
Building initial module for 3.13.0-30-generic
Error! Bad return status for module build on kernel: 3.13.0-30-generic (x86_64)
Consult /var/lib/
...
This file is attached.
From this point on I tried to solve it manualy.
Searching the intenet I found the attached patch the partialy solved the problem.
I could "make all".
When I tryed "make install" I got:
...
install -m 644 ../XppConfig.pm USB_FW.hex FPGA_FXS.hex FPGA_1141.hex FPGA_1151.hex FPGA_1161.hex PIC_TYPE_1.hex PIC_TYPE_2.hex PIC_TYPE_3.hex PIC_TYPE_4.hex /usr/share/dahdi/
install: cannot stat ‘USB_FW.hex’: No such file or directory
install: cannot stat ‘FPGA_FXS.hex’: No such file or directory
install: cannot stat ‘FPGA_1141.hex’: No such file or directory
install: cannot stat ‘FPGA_1151.hex’: No such file or directory
install: cannot stat ‘FPGA_1161.hex’: No such file or directory
install: cannot stat ‘PIC_TYPE_1.hex’: No such file or directory
install: cannot stat ‘PIC_TYPE_2.hex’: No such file or directory
install: cannot stat ‘PIC_TYPE_3.hex’: No such file or directory
install: cannot stat ‘PIC_TYPE_4.hex’: No such file or directory
make[1]: *** [install] Error 1
...
I then downloaded dahdi-linux-
The "make install" proceeded normally.
Could you guys take a look at this?
One more thing: at the end of installations it says: "If you have not done so before, install the package dahdi-tools".
but:
# apt-get install dahdi-tools
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package dahdi-tools
What is incorret: the script message or apt-get message?
# lsb_release -rd
Description: Ubuntu 14.04 LTS
Release: 14.04
# apt-cache policy dahdi-dkms
dahdi-dkms:
Installed: 1:2.5.0.
Candidate: 1:2.5.0.
Version table:
*** 1:2.5.0.
500 http://
100 /var/lib/
Regards
Ethy
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: dahdi-dkms 1:2.5.0.
ProcVersionSign
Uname: Linux 3.13.0-30-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
Date: Mon Jul 7 12:32:34 2014
InstallationDate: Installed on 2014-07-04 (3 days ago)
InstallationMedia: Ubuntu-Server 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.2)
PackageArchitec
SourcePackage: dahdi-linux
UpgradeStatus: No upgrade log present (probably fresh install)
_MarkForUpload: True
My navigator crashed (again) and when restarted it submmited comment 2 again as comment 3. Sorry for that.