[asterisk-bugs] [Zaptel 0012750]: Can't install zaptel trough sudo

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Jul 17 12:08:26 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12750 
====================================================================== 
Reported By:                atis
Assigned To:                kpfleming
====================================================================== 
Project:                    Zaptel
Issue ID:                   12750
Category:                   General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Zaptel Version:             1.4.10 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             05-29-2008 06:57 CDT
Last Modified:              07-17-2008 12:08 CDT
====================================================================== 
Summary:                    Can't install zaptel trough sudo
Description: 
Seems that $(PWD) is not set correctly.
Tried on Fedora and Gentoo.

as workaround, it's possible to create symling to existing kernel sources
from /kernel

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

---------------------------------------------------------------------- 
 atis - 07-17-08 12:08  
---------------------------------------------------------------------- 
tzafrir, i don't completely understand your findings, perhaps you already
figured this out, but here's what i have found:

PWD1 is within if block, and PWD2 is after, so seems that PWD is not set
within included Makefile. I wonder why it's entering the same direcory,
perhaps that's the problem.

[atis at asterisk-dev-mc zaptel-svn-1.4.11]$ sudo make install
Makefile:19: PWD1 is /usr/dist/asterisk/zaptel-svn-1.4.11
Makefile:21: PWD2 is /usr/dist/asterisk/zaptel-svn-1.4.11
make[1]: Entering directory `/usr/dist/asterisk/zaptel-svn-1.4.11'
Makefile:21: PWD2 is
make -C /lib/modules/2.6.24.7-92.fc8/build ARCH=x86_64 SUBDIRS=/kernel
HOTPLUG_FIRMWARE=yes KBUILD_OBJ_M="zaptel.o ztd-eth.o ztd-loc.o ztdummy.o
ztdynamic.o zttranscode.o " modules
make[2]: Entering directory `/usr/src/kernels/2.6.24.7-92.fc8-x86_64'
scripts/Makefile.build:41: /kernel/Makefile: No such file or directory
make[3]: *** No rule to make target `/kernel/Makefile'.  Stop.
make[2]: *** [_module_/kernel] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.24.7-92.fc8-x86_64'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/dist/asterisk/zaptel-svn-1.4.11'
make: *** [all] Error 2 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-17-08 12:08  atis           Note Added: 0090398                          
======================================================================




More information about the asterisk-bugs mailing list