[asterisk-bugs] [Asterisk 0017268]: [patch] [Regression] non-root make install PREFIX=/tmp fails

Asterisk Bug Tracker noreply at bugs.digium.com
Mon May 3 12:42:36 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17268 
====================================================================== 
Reported By:                pabelanger
Assigned To:                pabelanger
====================================================================== 
Project:                    Asterisk
Issue ID:                   17268
Category:                   Core/BuildSystem
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
JIRA:                       SWP-1399 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 260292 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-04-30 08:54 CDT
Last Modified:              2010-05-03 12:42 CDT
====================================================================== 
Summary:                    [patch] [Regression] non-root make install
PREFIX=/tmp fails
Description: 
1. svn co http://svn.digium.com/svn/asterisk/trunk
2. cd trunk
3 ./configure --prefix=/tmp && make install

build_tools/mkpkgconfig: 33: cannot create /usr/lib/pkgconfig/asterisk.pc:
Permission denied
make: *** [datafiles] Error 2

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

---------------------------------------------------------------------- 
 (0121298) svnbot (reporter) - 2010-05-03 12:42
 https://issues.asterisk.org/view.php?id=17268#c121298 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 260743

_U  branches/1.6.2/
U   branches/1.6.2/Makefile

------------------------------------------------------------------------
r260743 | pabelanger | 2010-05-03 12:42:36 -0500 (Mon, 03 May 2010) | 21
lines

Merged revisions 260661-260662 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r260661 | pabelanger | 2010-05-03 12:41:30 -0400 (Mon, 03 May 2010) | 10
lines
  
  non-root make install PREFIX=/tmp fails.
  Prepend libdir when executing mkpkgconfig allowing non-root installs to
work.
  
  (closes issue https://issues.asterisk.org/view.php?id=17268)
  Reported by: pabelanger
  Patches:
        issue17268.patch uploaded by pabelanger (license 224)
  Tested by: pabelanger
........
  r260662 | pabelanger | 2010-05-03 12:54:41 -0400 (Mon, 03 May 2010) | 3
lines
  
  Should have removed /usr/lib/ part. Thanks Qwell.
........


------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=260743 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-05-03 12:42 svnbot         Checkin                                      
2010-05-03 12:42 svnbot         Note Added: 0121298                          
======================================================================




More information about the asterisk-bugs mailing list