编辑2:我的调制解调器是“HSFModem”类型,所以我得到了http://www.linuxant.com/drivers/hsf/oem/downloads.php然后我下载了 debian 文件。我将其解压,并执行命令 dpkg -i hsfmodem_7.80.02.06oem_i386.deb 安装开始,它显示的内容如下:
root@asaosig-desktop:/home/asa-osig# dpkg -i hsfmodem_7.80.02.06oem_i386.deb
Selecting previously unselected package hsfmodem.
(Reading database ... 289449 files and directories currently installed.)
Unpacking hsfmodem (from hsfmodem_7.80.02.06oem_i386.deb) ...
Setting up hsfmodem (7.80.02.06oem) ...
Conexant HSF softmodem driver, version 7.80.02.06oem
If you need assistance or more information, please go to:
http://www.linuxant.com/
When reporting a problem for the first time, please send
us the file generated by "hsfconfig --dumpdiag".
No pre-built modules for: Ubuntu-12.04.4 linux-3.5.0-52-generic i686-SMP
Trying to automatically build the driver modules...
(this requires a C compiler and proper kernel sources to be installed)
Building modules for kernel 3.5.0-52-generic, using source directory
/lib/modules/3.5.0-52-generic/build. Please wait...
ERROR: Module build failed!
Please examine the log file "/etc/hsfmodem/log/buildlog-20140715093736.txt" to determine why.
这是日志文件中唯一的错误:
In file included from /usr/lib/hsfmodem/modules/mod_engine.c:9:0:
/usr/lib/hsfmodem/modules/GPL/oscompat.h:125:24: fatal error: asm/system.h: No such file or directory
似乎缺少文件 asm/system.h 导致了我的问题。我能找到它并从某处下载吗?
编辑 1:我使用 alien 命令安装了 rpm 包,并且该过程顺利完成,没有出现任何错误。但我的传真仍然无法使用。Efax-gtk 应用程序始终显示“不活动”消息。我正在尝试在我的 linux xubuntu 机器上安装 USB 2.0 传真调制解调器。我按照说明操作,输入:rpm -i dgcmodem-1.13-1.i386.rpm
之后,我收到此错误:
rpm: RPM should not be used directly install RPM packages, use Alien instead!
rpm: However assuming you know what you are doing...
warning: dgcmodem-1.13-1.i386.rpm: Header V3 DSA/SHA1 Signature, key ID 5dfbf7dc: NOKEY
error: Failed dependencies:
pciutils is needed by dgcmodem-1.13-1.i386
gcc is needed by dgcmodem-1.13-1.i386
/bin/sh is needed by dgcmodem-1.13-1.i386
root@asaosig-desktop:/home/asa-osig#
答案1
rpm:不应直接使用RPM安装RPM包,而应使用Alien!
rpm:但是假设您知道自己在做什么......
您正在尝试在 Ubuntu 上安装 RPM 包。使用 rpm。
您应该改用 Alien。(正如您忽略的警告所暗示的那样。)
sudo alien --to-deb -i <your package name.rpm>
sudo apt-get -f install