When rebuilding, check that staticpackages.inc is updated => put some comment in there, it should disappear. Otherwise you probably got the wrong PCP.
I put in a comment and it disappeared.
you can also check that the IDE is build with your package => but a syntax error into your unit.
I put in a syntax error and the Rebuild Lazarus routine picked it up seconds after starting.
I'm just wondering how important to the success of the rebuild is the automatic restarting of Lazarus... I'm guessing that because the component gets installed in
3.99 which fails to restart properly, but not in
4.0rc1 which also fails to restart, that the answer is "not very"!
UPDATE: Interesting! I've just use FcpUpDeluxe to install
FCP 3.22 and
Lazarus 3.2 in an
entirely separate folder to the others, and this one automatically restarts after a
Lazarus Rebuild, and it installs the test component
As an experiment, I backed up the
4.0rc1 startlazarus executable and the
startlazarus.app bundle which links to it, and then copied in the corresponding files from
3.2! When I ran
startlazarus.app it flashed up the start screen from
Lazarus 3.2 but then proceeded to open up
Lazarus 4.0rc1. Curiouser and curiouser
However, this did not solve the automatic restarting of the Lazarus rebuild in
4.0rc1, and the component remains resolutely uninstalled.
I'm going to draw a line over my attempts get this to work, although if @Martin_fr or any of the other Lazarus devs want me to try any thing else, just ask