« Return to Thread: Bug Report: "make install" on Ubuntu should run "ldconfig" as final step

Re: Bug Report: "make install" on Ubuntu should run "ldconfig" as final step

by Jeremy Tregunna-2 :: Rate this Message:

Reply to Author | View in Thread


On 7-Jun-09, at 8:41 PM, Guy Hulbert wrote:

> On Sun, 2009-07-06 at 19:58 -0400, Jeremy Tregunna wrote:
>>
>>
>>
>> On 7-Jun-09, at 7:04 PM, Guy Hulbert wrote:
>>
>>> On Sun, 2009-07-06 at 18:51 -0400, Jeremy Tregunna wrote:
>>>> That's a bad idea Steve, as it depends on "sudo" being installed,
>> AND
>>>> the user actually having privileges to run it.
>>>
>>> iirc, "it" *already* depends on "sudo" ... I was going to "fix" it
>> but
>>> still have no round tuits ...
>>
>> Actually, io does not depend on sudo. It recommends using it to
>> install, as most users build io as an unprivileged user.
>
> Try: git clone <io-url>
> cd <top-dir>
> find -type f -exec grep 'sudo' '{}' \;

grep -ri "sudo" * shows:

addons/SGML/build.io:                   cmd := "cd addons/SGML/
source/" .. libSgmlDirectory .. ";" .. configure .. " make && echo  
\"sudo make install\" && sudo make install"

> I don't believe you will find the output empty (it's in one of the
> add-ons but a plain 'make' hits it.  I think I mentioned this on the
> list and Steve said it was an external library which is a dependency
> (but is not required on every platform -- i.e. if it's already
> intstalled).

Output isn't empty, but if you look, there's an "echo" before it,  
meaning, that it gets printed to the screen, rather than executed.

Regards,

Jeremy Tregunna
jeremy.tregunna@...



 « Return to Thread: Bug Report: "make install" on Ubuntu should run "ldconfig" as final step