Summary: | ASTERISK-03909: make install crash for nonroot user | ||
Reporter: | manero (manero) | Labels: | |
Date Opened: | 2005-04-11 04:47:47 | Date Closed: | 2011-06-07 14:11:57 |
Priority: | Trivial | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | setting PREFIX_INSTALL, compiling and installing Asterisk as nonroot is prevented due to attempt to write into directory /usr/lib/pkgconfig in mkpkgconfig. Script mkpkgconfig checks only if directory exists but not if it has enough rights to write there. | ||
Comments: | By: Clod Patry (junky) 2005-04-11 05:34:52 What about if you chown user.user /usr/lib/pkgconfig ? By: manero (manero) 2005-04-11 05:53:02 This is more general question. if you are installing into user defined directory like PREFIX_INSTALL=/opt/asterisk then you should not write nowhere else and not even /usr/lib. By: Brian West (bkw918) 2005-04-11 11:43:30 why not make DESTDIR=/opt/asterisk install /b By: Brian West (bkw918) 2005-04-11 11:44:09 Also logic would tell me that you must install that one file as root. NEXT!!! /b By: Brian West (bkw918) 2005-04-11 11:47:21 Please reopen a single bug report with all your problems in it.. /b |