<div dir="ltr">G'day Mattias and Fellow Lazarus Fans,<br><br>*SMILE*<br><br><div class="gmail_quote">2008/8/11 Mattias Gärtner <span dir="ltr"><<a href="mailto:nc-gaertnma@netcologne.de" target="_blank">nc-gaertnma@netcologne.de</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Zitat von Peter Williams <<a href="mailto:pewtas@gmail.com" target="_blank">pewtas@gmail.com</a>>:<br>
<div><br>
> G'day All,<br>
><br>
> Okay... Good news is that I've managed to install FPC, FPC Source, and<br>
> Lazarus -- from today's snapshot.<br>
><br>
> Bad news is -- the same project which Mattias assures me won't Build.<br>
> I get the following fatal error:<br>
><br>
> HelpMultiTabbed.lpr(8,7) Fatal: Can't find unit Interfaces used by<br>
> HelpMultiTabbed<br>
><br>
> I'm thinking that I need to change/add path(s) in the Project /<br>
> Compiler Options menu... but what goes into which path(s) boxes?!?<br>
<br>
</div>Don't change the project compiler options search paths. In 9 of 10 cases this is<br>
the wrong solution.<br>
</blockquote><div><br>ok. I suspected as much.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
unit interfaces belongs to the LCL. So either your environment options are not<br>
correct (e.g. it still points to your old lazarus directory, or you are still<br>
using an old compiler) or you are trying to compile with the wrong widgetset<br>
(choose 'default' in compiler options) or you have installed some fpc/lazarus<br>
packages that don't fit together.<br>
Since you have already tried different things on your kubuntu it might be<br>
possible that you have some left overs from prior installations. In this case<br>
we can only guess, what went wrong without a complete -vut output (-vu -vt are<br>
fp compiler flags to show every tried file).<br>
Please do a compiler test: Project / compiler options / test.<br>
<br>
Probably the best strategy for you at this point is to do this:<br>
Uninstall the lazarus package (keep fpc and fpc-src)</blockquote><div><br>I did this by using the Adept Manager and using the 'mark for uninstallation' option (or 'removal' - not quite sure of the terminology it used) on the lazarus software. It worked well. :-)))<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Download lazarus from svn and build it.<br>
Open a terminal/command prompt, (do *no* sudo and do *not* become root) change<br>
to the directory you wish the Lazarus folder to be created in, download it and<br>
build it:</blockquote><div><br>I followed your instructions (below):<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
mkdir /home/user/pascal<br>
cd /home/user/pascal<br>
svn co <a href="http://svn.freepascal.org/svn/lazarus/trunk" target="_blank">http://svn.freepascal.org/svn/lazarus/trunk</a> lazarus</blockquote><div><br>At this point, the terminal reported that SVN was not installed. However, it was very clever and helpful (!!!) and it told me the 'apt-get' command to install SVN. I entered the command to install SVN and it installed without any problems. ;-)))<br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
cd lazarus<br>
make LCL_PLATFORM=gtk2<br>
</blockquote><div><br>This also worked well !!! *SMILE*<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
If you have trouble with svn, see<br>
<a href="http://wiki.lazarus.freepascal.org/Getting_Lazarus#Using_SVN" target="_blank">http://wiki.lazarus.freepascal.org/Getting_Lazarus#Using_SVN</a><br>
<br>
If you have trouble linking, you may have to install the gtk2 development<br>
package:<br>
sudo apt-get install libgtk2.0-dev<br>
</blockquote><div><br>I didn't need to do this. It must have already been installed.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Start lazarus with<br>
/home/user/pascal/lazarus/lazarus<br>
<br>
You can put an icon on your desktop to this path if you want.<br>
</blockquote><div><br>The only (small) problem that I have now is that the command for lazarus, in both the Menu / Applications / Development submenu, and the shortcut on my desktop HAVE LOST THE ICON. I get a crappy looking icon of a white paper document *instead* of the usual leopard icon. It's probably something simple -- but like most computer problems, it's a matter of knowing what to change and where to look.<br>
<br>btw --- I used Lazarus (yes, I'm using 0.9.25 beta) and Built and RAN my "Help Multitabbed Dialog" app -- it works fine now. So I quickly archived the folder -- just in case... so that I have a working copy of it archived!!! *SMILE*<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Mattias<br>
<br>
_______________________________________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lazarus.freepascal.org" target="_blank">Lazarus@lazarus.freepascal.org</a><br>
<a href="http://www.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://www.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br>
</blockquote></div><br>Best Regards and Wishing One & All Happy Debugging,<br>PEW<br clear="all"><br>-- <br>Fond Regards,<br>Peter Eric (aka 'pew') WILLIAMS <br>from Hobart, Tasmania, Australia -- phone (03) 6236-9675<br>
<br>My free website is: <a href="http://pewtas.googlepages.com" target="_blank">http://pewtas.googlepages.com</a> (or) <a href="http://tinyurl.com/yuyejs" target="_blank">http://tinyurl.com/yuyejs</a><br><br>(please visit my free website and let me know what you think about it.)<br>
</div>