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

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Jul 17 13:11:20 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 13:11 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

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

---------------------------------------------------------------------- 
 kpfleming - 07-17-08 13:11  
---------------------------------------------------------------------- 
I don't know why this is only failing when you run through 'sudo', but in
any case, what is supposed to happen is that PWD is set by the top-level
(first) invocation of 'make', then passed down to any child 'make'
processes. However, that seems to be working for everyone else even though
the Makefile does not contain any explicit instruction to make that
happen.

Please try adding the line:

export PWD

in the Makefile... anywhere is fine, as long it is outside any conditional
blocks, but putting right after the block that sets PWD would make sense. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-17-08 13:11  kpfleming      Note Added: 0090404                          
======================================================================




More information about the asterisk-bugs mailing list