[asterisk-users] Problem with building dahdi-linux RPM

bee-beeep bee.beeep at gmail.com
Tue Feb 3 09:50:26 CST 2009


Hello folks.

First of all, sorry for my English :-)

I want to build dahdi-2.0.0 rpm from source (i have to use this version,
because OpenVox A1200p driver works only with it).

I've made some changes in .spec file (added one patch and one source
section) and trying to build rpm:

rpmbuild --define with-udev  -bb SPECS/dahdi-linux.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.86801
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C

<skipped build log>

Processing files: dahdi-linux-kmdl-2.6.18-92.1.22.el5-2.0.0-56.RHL5
Provides: dahdi-linux-kmdl-2.0.0-56.RHL5 dahdi-linux-kmdl-2.6.18-92.1.22.el5
dahdi-linux-kmdl-2.6.18-92.1.22.el5 = 2.0.0-56.RHL5
Requires(interp): /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(VersionedDependencies) <=
3.0.3-1
Requires(post): /bin/sh
Requires(postun): /bin/sh
Requires: /boot/vmlinuz-2.6.18-92.1.22.el5 /sbin/depmod dahdi-linux =
2.0.0-56.RHL5 modutils >= 2.4.14
Obsoletes: kernel-module-dahdi-linux-2.0.0-56.RHL5
kernel-module-dahdi-linux-2.6.18-92.1.22.el5 <= 2.0.0-56.RHL5
Checking for unpackaged file(s): /usr/lib/rpm/check-files
/var/tmp/dahdi-linux-2.0.0-56.RHL5-buildroot
Wrote:
/usr/src/redhat/RPMS/i386/dahdi-linux-kmdl-2.6.18-92.1.22.el5-2.0.0-56.RHL5.i386.rpm

As you can see, it builds me only kmdl rpm - i wonder this is kernel module,
like zaptel-modules. So, if I'm trying to install dahdi-tools rpm,
installation fails with "error: Failed dependencies: dahdi-linux =
2.0.0-57.RHL5".

How can I force rpmbuild to create userspace part of dahdi-linux too, no
only kernel modules?

Best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090203/236635d2/attachment.htm 


More information about the asterisk-users mailing list