Summary: | ASTERISK-16036: [patch] [Regression] non-root make install PREFIX=/tmp fails | ||
Reporter: | Paul Belanger (pabelanger) | Labels: | |
Date Opened: | 2010-04-30 08:54:25 | Date Closed: | 2010-05-03 12:42:36 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/BuildSystem |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) issue17268.patch | |
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 ****** ADDITIONAL INFORMATION ****** Here is the revision with introduced it. ........ r259748 | qwell | 2010-04-28 14:17:38 -0500 (Wed, 28 Apr 2010) | 7 lines Remove usage of `id` since it isn't useful and was causing breakge. Solaris `id` doesn't support the -u argument. Instead of figuring out how to fix this to work on Solaris, I decided to check why it was necessary and where else it was used. It was only used in one place, and it hasn't been needed for a very long time (I question whether it was ever needed). ........ | ||
Comments: | By: Paul Belanger (pabelanger) 2010-04-30 08:56:27 The fix is to prefix the path to pkgconfig, I was not sure if ${prefix} would be good enough or create a new ${ASTPKGCONFIG} variable. By: Paul Belanger (pabelanger) 2010-05-02 19:30:04 Patch attached. By: Digium Subversion (svnbot) 2010-05-03 11:41:30 Repository: asterisk Revision: 260661 U branches/1.4/Makefile ------------------------------------------------------------------------ r260661 | pabelanger | 2010-05-03 11:41:30 -0500 (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 ASTERISK-16036) Reported by: pabelanger Patches: issue17268.patch uploaded by pabelanger (license 224) Tested by: pabelanger ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=260661 By: Digium Subversion (svnbot) 2010-05-03 12:06:48 Repository: asterisk Revision: 260663 _U trunk/ U trunk/Makefile ------------------------------------------------------------------------ r260663 | pabelanger | 2010-05-03 12:06:48 -0500 (Mon, 03 May 2010) | 20 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 ASTERISK-16036) 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=260663 By: Digium Subversion (svnbot) 2010-05-03 12:29:08 Repository: asterisk Revision: 260721 _U branches/1.6.0/ U branches/1.6.0/Makefile ------------------------------------------------------------------------ r260721 | pabelanger | 2010-05-03 12:29:07 -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 ASTERISK-16036) 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=260721 By: Digium Subversion (svnbot) 2010-05-03 12:37:13 Repository: asterisk Revision: 260741 _U branches/1.6.1/ U branches/1.6.1/Makefile ------------------------------------------------------------------------ r260741 | pabelanger | 2010-05-03 12:37:13 -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 ASTERISK-16036) 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=260741 By: Digium Subversion (svnbot) 2010-05-03 12:42:36 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 ASTERISK-16036) 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 |