[Lazarus] Update Lazarus from svn, what happens on rebuild?

Bo Berglund bo.berglund at gmail.com
Mon Dec 23 00:51:39 CET 2019


On Sun, 22 Dec 2019 23:39:29 +0100, Bo Berglund via lazarus
<lazarus at lists.lazarus-ide.org> wrote:
>Thanks Luca & John!
>Then I wonder about the "starter" command in the first proposal from
>John, what does it do?
>
>Should I use:
>
>make clean lazbuild useride starter --pcp=/home/pi/.lazarus_2.0.6
>or
>make clean lazbuild starter --pcp=/home/pi/.lazarus_2.0.6
>or
>make clean lazbuild --pcp=/home/pi/.lazarus_2.0.6
>
>AFAIK starter is the go-between when Lazarus rebuilds itself, right?
>So is it removed and has to be rebuilt if one executes
> make clean?

Me again...

Interestingly on the Lazarus wiki I found this:
https://wiki.freepascal.org/IDE_Window:_Configure_Build_Lazarus#If_something_went_wrong


At the bottom it reads:

<quote>
After rebuilding the IDE, it crashes or is unusable and you don't have
a backup:

Dont' panic!

You can easily compile a basic IDE on the command line.

cd /path/to/lazarus
make clean all

This will compile an IDE without special packages. Your old installed
packages are not installed, but are marked for installations. That
means when you build the IDE with the IDE, it will create an IDE with
all your packages. If you installed a buggy package, then you can
simply open the package and uninstall it.
</quote>


So this is really what I saw and which triggered this thread, I get a
base version of Lazarus without my added packages. But I did not
realize that if I then used the command *within* Lazarus to rebuild
the IDE I would have gotten the missing packages installed....

This is available in menu:
Tools/Build Lazarus with profile: Normal IDE


I am learning things all the time...


-- 
Bo Berglund
Developer in Sweden



More information about the lazarus mailing list