Comment 2 for bug 303709

Revision history for this message
Chris J Cheney (c.j.cheney) wrote : Re: [Bug 303709] Re: Installation does not set Freepascal source directory

> When I look at [1] I see that fpc-source (mind the name) is in the
> recommends section of lazarus. As far as I can tell in (k|x|)ubuntu most
> package manners pull in recommends automatically. What package manager do
> you use, it looks like the behavior you experience is different from the
> actual behavior? And can you give the output of "apt-cache show lazarus"

> And please be clearer in which of the (two) bugs you like to report in
> this report. Each separated bug should go in one report. You can reopen
> bug 126003 again if you really think it is still/again open, but I tend to
> think the problem lies elsewhere. Looking at the title of this report you
> want to report here what is in your "BTW", ie some option in lazarus
> should be pre-filled?

Package managers: Adept on Kubuntu and Synaptic on Xubuntu.

By Googling and trying various suggestions (read flailing around), I
fixed the problem on Kubuntu (before putting in the bug report). However,
my Xubuntu installation of Lazarus is "clean".

The symptom is that Lazarus, when it starts up, displays a message box
saying

"The Free Pascal source directory was not found. Some code functions will
not work. It is recommended that you install it and set the path
Environment -> Environment Options -> Files [Ignore]"

After further research I can confirm that the relevant directory is
installed (in Xubuntu, and probably also was in Kubuntu) and it is just
the Environment Option setting that is missing (as you suggest above).
The text of the message box misled me.

> [1] https://launchpad.net/ubuntu/intrepid/amd64/lazarus/0.9.24-0-9

ia86 not amd64. Sorry for not making that clear.

Xubuntu apt-cache show lazarus

Package: lazarus
Priority: optional
Section: universe/devel
Installed-Size: 68
Maintainer: Ubuntu MOTU Developers <email address hidden>
Original-Maintainer: Carlos Laviola <email address hidden>
Architecture: all
Version: 0.9.24-0-9
Depends: lazarus-ide, lazarus-src, lazarus-doc
Pre-Depends: dpkg (>= 1.10.24)
Recommends: fpc, fpc-source
Suggests: fp-utils, fp-docs
Filename: pool/universe/l/lazarus/lazarus_0.9.24-0-9_all.deb
Size: 14196
MD5sum: 52ef80d7b568ed230036573e378e7a31
SHA1: 258b9038d19191c7884215c0665c133076ad390e
SHA256: 2285791c7086ef8f1687334eae829a920b2b8c99f8c04f31b56fd49f80731cd6
Description: Rapid Application Development (RAD) tool for Free Pascal
 Lazarus are the class libraries for Free Pascal that emulate Delphi.
 Free Pascal is a GPL'd compiler that runs on Linux, Win32, OS/2, 68K
 and other OS's. Free Pascal is designed to be able to understand and
 compile programs written with the Delphi syntax, which is object-
oriented.
 Lazarus is the part of the missing puzzle that will allow you to develop
 Delphi-like programs in all of the above platforms.
 .
 Unlike Java's "write once, run anywhere" motto, Lazarus and Free Pascal
 strive for "write once, compile anywhere". Since the exact same compiler
 is available on all of the above platforms you don't need to do any
recoding
 to produce identical products for different platforms.
 .
 In short, Lazarus is a free RAD tool for Free Pascal using its Lazarus
 Component Library (LCL).
 .
 This IDE will eventually reach Delphi's full functionality.
Homepage: http://www.lazarus.freepascal.org
Bugs: mailto:<email address hidden>
Origin: Ubuntu

Thanks for your attention to this. I appreciate the effort that you guys
put in to improve the world for the rest of us.

Chris