Zitat von Peter Williams <[EMAIL PROTECTED]>:

> G'day All,
>
> Okay... Good news is that I've managed to install FPC, FPC Source, and
> Lazarus -- from today's snapshot.
>
> Bad news is -- the same project which Mattias assures me won't Build.
> I get the following fatal error:
>
> HelpMultiTabbed.lpr(8,7) Fatal: Can't find unit Interfaces used by
> HelpMultiTabbed
>
> I'm thinking that I need to change/add path(s) in the Project /
> Compiler Options menu... but what goes into which path(s) boxes?!?

Don't change the project compiler options search paths. In 9 of 10 cases this is
the wrong solution.

unit interfaces belongs to the LCL. So either your environment options are not
correct (e.g. it still points to your old lazarus directory, or you are still
using an old compiler) or you are trying to compile with the wrong widgetset
(choose 'default' in compiler options) or you have installed some fpc/lazarus
packages that don't fit together.
Since you have already tried different things on your kubuntu it might be
possible that you have some left overs from prior installations. In this case
we can only guess, what went wrong without a complete -vut output (-vu -vt are
fp compiler flags to show every tried file).
Please do a compiler test: Project / compiler options / test.

Probably the best strategy for you at this point is to do this:
Uninstall the lazarus package (keep fpc and fpc-src)
Download lazarus from svn and build it.
Open a terminal/command prompt, (do *no* sudo and do *not* become root) change
to the directory you wish the Lazarus folder to be created in, download it and
build it:

mkdir /home/user/pascal
cd /home/user/pascal
svn co http://svn.freepascal.org/svn/lazarus/trunk lazarus
cd lazarus
make LCL_PLATFORM=gtk2

If you have trouble with svn, see
http://wiki.lazarus.freepascal.org/Getting_Lazarus#Using_SVN

If you have trouble linking, you may have to install the gtk2 development
package:
sudo apt-get install libgtk2.0-dev

Start lazarus with
/home/user/pascal/lazarus/lazarus

You can put an icon on your desktop to this path if you want.

Mattias

_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to