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

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Jul 14 11:17:37 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-14-2008 11:17 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

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

---------------------------------------------------------------------- 
 tzafrir - 07-14-08 11:17  
---------------------------------------------------------------------- 
I'm not sure exactly why PWD is not set in the first place by make. But the
workaround to set it from pwd is not in effect in both the 'all' and
'install' targets:

ifeq ($(MAKELEVEL),0)
PWD:=$(shell pwd)
endif

Compare:

  sudo make all

to:

  sudo make _all

I'm not sure exactly how this effects 'make install' . I tried changing
the dependency of "install" on "all" to "_all" but to no avail. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-14-08 11:17  tzafrir        Note Added: 0090215                          
======================================================================




More information about the asterisk-bugs mailing list