[asterisk-bugs] [Zaptel 0010156]: 'udevinfo: command not found' on a devfs-ed Debian Sarge

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Oct 19 17:54:23 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10156 
====================================================================== 
Reported By:                tzafrir
Assigned To:                
====================================================================== 
Project:                    Zaptel
Issue ID:                   10156
Category:                   General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Zaptel Version:             1.4.5.1 
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        No 
Request Review:              
====================================================================== 
Date Submitted:             07-08-2007 11:31 CDT
Last Modified:              10-19-2007 17:54 CDT
====================================================================== 
Summary:                    'udevinfo: command not found' on a devfs-ed Debian
Sarge
Description: 
A 'make install' fails on a Debian Sarge system. This is generally because
the condition DYNFS checks for (udev or devfs) but later on the makefile
assumes that DYNFS and kernel 2.6 implies udev.


/usr/src/zaptel-1.2.18# make install

make -C /lib/modules/2.6.8-2-686/build SUBDIRS=/usr/src/zaptel-1.2.18
HOTPLUG_FIRMWARE=yes modules
make[1]: Entering directory `/usr/src/kernel-headers-2.6.8-2-686'
Compile xpp (version trunk-r3965)

  Building modules, stage 2.
  MODPOST
Warning: could not find versions for .tmp_versions/xpd_fxo.mod
Warning: could not find versions for .tmp_versions/xpd_fxs.mod
Warning: could not find versions for .tmp_versions/xpp.mod
Warning: could not find versions for .tmp_versions/xpp_usb.mod
Warning: could not find versions for .tmp_versions/zaptel.mod
make[1]: Leaving directory `/usr/src/kernel-headers-2.6.8-2-686'
install -d /etc/udev/rules.d
build_tools/genudevrules > /etc/udev/rules.d/zaptel.rules
build_tools/genudevrules: line 1: udevinfo: command not found
make: *** [devices] Error 1

====================================================================== 

---------------------------------------------------------------------- 
 mike240se - 10-19-07 17:54  
---------------------------------------------------------------------- 
I just started having this exact same issue with 1.4.5.1, 1.4.4 was fine. 
I changed the following in the makefile:

ifneq (,$(wildcard $(DESTDIR)/etc/udev/rules.d))

to

ifneq (,$(wildcard $(INSTALL_PREFIX)/etc/udev/rules.d))

and it seems to work, the make install no longer fails.

But when i run a ztcfg -vvv i get ver: 1.4.4, so either thats wrong, or my
fix is wrong, or something else.  But this was fine until now on debian
sarge without udev. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-19-07 17:54  mike240se      Note Added: 0072310                          
======================================================================




More information about the asterisk-bugs mailing list