[Lazarus] Newb alert: problem rebuilding Lazarus snapshot 0.9.31.35140-20120206 Linux

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Feb 6 11:19:44 CET 2012


Reinier Olislagers <reinierolislagers at gmail.com> hat am 6. Februar 2012 um
10:39 geschrieben:

> 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...?


No. I didn't know that debian has packages for 0.9.31 - that's a
development version.



>
> 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;


What error?



> compiling my project gives same error "Can't find unit AvgLvlTree used by
LCLProc"


Compile with compiler options -vut to find out why.



> I think I should go back to my first snapshot of the VM (with just fpc
> 2.6 installed) and start over....



Mattias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120206/90d006d9/attachment-0003.html>


More information about the Lazarus mailing list