[Lazarus] Newb alert: problem rebuilding Lazarus snapshot 0.9.31.35140-20120206 Linux
Reinier Olislagers
reinierolislagers at gmail.com
Mon Feb 6 10:39:15 CET 2012
On 6-2-2012 10:05, Mark Morgan Lloyd wrote:
> Mattias Gaertner wrote:
>
>>> Worked.
>>> However ran startlazarus, got complaints about instantfpc missing etc.
>>
>> It probably means you have some 0.9.30.
>> Check your /etc/lazarus directory.
>
> Possibly also something incompatible in ~/.lazarus, although it's
> normally more of a problem when moving from a newer to an older version.
>
Thanks you 2,
I know rebooting is not needed as much in Linux, but sometimes old
habits die hard ;)
/etc/lazarus/environmentoptions.xml showed
LazarusDirectory Value="/usr/lib/lazarus/0.9.31/"
which seems ok. Is it? (The directory shows the Lazarus tree, including
components, lcl, lazarus, startlazarus...)
>When updating from 0.9.30 to 0.9.31 you have to do a "make clean all".
Mmm, I installed & updated using Debian packages (Debian-supplied and
those from the snapshot server)... would I still have to do make clean
all...?
Some more over the top cleaning:
aptitude purge lazarus lazarus-0.9.31 lazarus-doc lazarus-doc-0.9.31
lazarus-ide lazarus-ide-0.9.31 lazarus-ide-gtk2 lazarus-ide-gtk2-0.9.31
lazarus-ide-qt-0.9.30.2 lazarus-src lazarus-src-0.9.31
rm -rf /etc/lazarus
rm -rf /usr/lib/lazarus
rm -rf /root/.lazarus
rm -rf /home/pascaldev/.lazarus
ls -al /etc/alternatives | grep "0.9.30" => shows nothing (there's only
links to 0.9.31)...
cd /root
dpkg -i *.deb
Starting startlazarus gives same errors about instantfpc; compiling my
project gives same error "Can't find unit AvgLvlTree used by LCLProc"
I think I should go back to my first snapshot of the VM (with just fpc
2.6 installed) and start over....
Thanks,
Reinier
More information about the Lazarus
mailing list