lazarus.pp(1,1) Fatal: Cannot find lazcontroldsgn used by Lazarus. Check if package LazControlDsgn creates lazcontroldsgn.ppu, check nothing deletes this file and check that no two packages have access to the unit source..
What is best way to resolve this issue?Just install package components/lazcontrols/design/lazcontroldsgn.
Hi All,
PROBLEM SOLVED!!
And thanks goes to Martin_fr from another thread http://forum.lazarus.freepascal.org/index.php?topic=32779.0
You need to install the package lazcontroldsgn.lpk from /lazarus/components/lazcontrols/design.
You need to install the package lazcontroldsgn.lpk from /lazarus/components/lazcontrols/design. -This doesn't work at all.
Lazarus.pp(1,1) Fatal: Cannot find lazcontroldsgn used by Lazarus. Check if package LazControlDsgn creates lazcontroldsgn.ppu, check nothing deletes this file and check that no two packages have access to the unit source..
Lazarus is installed in a write protected directory, thus a new rebuilt binary is placed in the local config directory. Startlazarus uses it when it is available.
Maybe I should start Lazarus from terminal as super user (after su command)No! Run "startlazarus" as I wrote. It will start the correct binary.
su
lazarus
and then install package lazcontroldsgn.lpk from /lazarus/components/lazcontrols/design then rebuild Lazarus.Non of that is needed. I don't know why a simple thing turned into so complex issue in your computer.
Perhaps LazControlDsgn directory then will be installed in /usr/lib/lazarus/1.8.0/components/lazcontroldsgn/lib/i386-linux/gtk2 and then the line -Fu/usr/lib/LazControlDsgn/lib/i386-linux/gtk2 could be added automatically to idemake.cfg file. see here http://forum.lazarus.freepascal.org/index.php/topic,39894.0.html ?
Some people may experience the problems because they start "lazarus" binary directly instead of using "startlazarus".I used startlazarus and I still got the error and still couldn't install packages.
Lazarus is installed in a write protected directory, thus a new rebuilt binary is placed in the local config directory. Startlazarus uses it when it is available.
I hope this will be fixed soon because I've been advertising at my blog and somewhere else that this cool looking lazarus can be installed with just one line "sudo apt install lazarus".Yes I hope so, too, but this is a wrong forum to complain about it. With "sudo apt install ..." the packages come from the distribution's repository. Their packages are faulty. Complain in their forum please.
I just installed the Lazarus 1.8.2 w/fpc 3.0.4 and I can't install packages either.Did you use packages provided by Lazarus project or by your distribution (Ubuntu or whatever)?
Here's some output that I hope helps the devs fix this issue: ...If the packages are from your distribution's repository, how are Lazarus developers supposed to fix them?
<AutoUpdate Value="Manually"/>
# Mark package as manually compilable and install them
for package in `find -name '*.lpk'` ; \
do \
${MKDIR} `dirname "${LIB_DIR}/$${package}"` ; \
sed -e 's@\(\W*\)<CompilerOptions>.*@\1<AutoUpdate Value="Manually"/>\n&@' "$${package}" > "${LIB_DIR}/$${package}" ; \
done