[Lazarus] What does make install do?

Michael Van Canneyt michael at freepascal.org
Sun Oct 18 11:48:39 CEST 2015



On Sun, 18 Oct 2015, Bo Berglund wrote:

> On Sun, 18 Oct 2015 10:54:32 +0200 (CEST), Michael Van Canneyt
> <michael at freepascal.org> wrote:
>
>>> Then I examined what had happened and I found that the install script
>>> had copied a number of files including lazarus executables to
>>> /usr/local/share/lazarus and the symlinks in /usr/local/bin were
>>> pointing to these executables effectively decoupling the lazarus
>>> installation in the /home/pi tree from use!
>>
>> That is the intention.
>>
>>>
>>> So in essence what could be done to install Lazarus in Raspbian Jessie
>>> is to use the make install command as su but then adjust it by
>>> changing the symlinks back to the true installation directory in the
>>> home tree.
>>
>> Usually that is NOT what you want in a default install.
>>
>
> Well, Juha in an earlier post seem to indicate that one should keep
> Lazarus in ones home dir and use it from there too...

It depends on the intention.

"make install" is intended to install something system-wide. That is it's function.
In this case, you must copy all files.

If you just want a private copy of Lazarus to appear in your menu, this is another intention.
It's probably easier to configure the menu yourself, or easier yet, create an icon on the desktop.

Michael.




More information about the Lazarus mailing list