<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
</head>
<body>
<p style="margin: 0pt;">
<span>
<span></span>
</span>
</p>
<p style="margin: 0px; "></p>
<div style="margin: 5px 0px;">
<br/>
Reinier Olislagers <reinierolislagers@gmail.com> hat am 6. Februar 2012 um 10:39 geschrieben:
<br/>
<br/>
> On 6-2-2012 10:05, Mark Morgan Lloyd wrote:
<br/>
> > Mattias Gaertner wrote:
<br/>
> >
<br/>
> >>> Worked.
<br/>
> >>> However ran startlazarus, got complaints about instantfpc missing etc.
<br/>
> >>
<br/>
> >> It probably means you have some 0.9.30.
<br/>
> >> Check your /etc/lazarus directory.
<br/>
> >
<br/>
> > Possibly also something incompatible in ~/.lazarus, although it's
<br/>
> > normally more of a problem when moving from a newer to an older version.
<br/>
> >
<br/>
>
<br/>
> Thanks you 2,
<br/>
>
<br/>
> I know rebooting is not needed as much in Linux, but sometimes old
<br/>
> habits die hard ;)
<br/>
>
<br/>
> /etc/lazarus/environmentoptions.xml showed
<br/>
> LazarusDirectory Value="/usr/lib/lazarus/0.9.31/"
<br/>
> which seems ok. Is it? (The directory shows the Lazarus tree, including
<br/>
> components, lcl, lazarus, startlazarus...)
<br/>
>
<br/>
> >When updating from 0.9.30 to 0.9.31 you have to do a "make clean all".
<br/>
> Mmm, I installed & updated using Debian packages (Debian-supplied and
<br/>
> those from the snapshot server)... would I still have to do make clean
<br/>
> all...?
</div>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">No. I didn't know that debian has packages for 0.9.31 - that's a development version. </p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"> </p>
<div style="margin: 5px 0px;">
>
<br/>
> Some more over the top cleaning:
<br/>
> aptitude purge lazarus lazarus-0.9.31 lazarus-doc lazarus-doc-0.9.31
<br/>
> lazarus-ide lazarus-ide-0.9.31 lazarus-ide-gtk2 lazarus-ide-gtk2-0.9.31
<br/>
> lazarus-ide-qt-0.9.30.2 lazarus-src lazarus-src-0.9.31
</div>
<div style="margin: 5px 0px;">
>
<br/>
> rm -rf /etc/lazarus
<br/>
> rm -rf /usr/lib/lazarus
<br/>
> rm -rf /root/.lazarus
<br/>
> rm -rf /home/pascaldev/.lazarus
<br/>
> ls -al /etc/alternatives | grep "0.9.30" => shows nothing (there's only
<br/>
> links to 0.9.31)...
<br/>
> cd /root
<br/>
> dpkg -i *.deb
<br/>
>
<br/>
> Starting startlazarus gives same errors about instantfpc;
</div>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">What error? </p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"> </p>
<div style="margin: 5px 0px;">> compiling my project gives same error "Can't find unit AvgLvlTree used by LCLProc"</div>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">Compile with compiler options -vut to find out why. </p>
<p style="margin: 0px;"> </p>
<div style="margin: 5px 0px;">
<br/>
> I think I should go back to my first snapshot of the VM (with just fpc
<br/>
> 2.6 installed) and start over....
</div>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">Mattias</p>
<p style="margin: 0px;"> </p>
</body>
</html>