Closed GoogleCodeExporter closed 9 years ago
This patch will break the install for users who build and install from source.
Can you suggest a better way to determine if user has permission to execute
ldconfig?
Original comment by richard...@gmail.com
on 29 Dec 2010 at 1:04
OK, I can't remember many cases users had to run "ldconfig" just after "make
install" as root. But looking from packager's perspective: the "ldconfig" part
is run by package manager after an installation step.
We can test for write permissions on "/etc/ld.so.cache", as it is the default
file touched by "ldconfig", but other systems have their own set of files in
different locations. Let's just instruct make to ignore possible error on that
line [1]. AFAIK, it is portable enough feature to stick with it.
[1] http://www.gnu.org/software/make/manual/make.html#Errors
Original comment by fake.mik...@gmail.com
on 29 Dec 2010 at 9:44
Attachments:
Thanks for the info; I pushed the change.
Original comment by richard...@gmail.com
on 29 Dec 2010 at 2:40
Original issue reported on code.google.com by
fake.mik...@gmail.com
on 19 Dec 2010 at 3:02Attachments: