[Lazarus] FreePascal Source not found in Ubuntu

Frank Church vfclists at gmail.com
Fri Sep 24 11:24:45 CEST 2010


2010/9/24 Mattias Gärtner <nc-gaertnma at netcologne.de>

> Zitat von Frank Church <vfclists at gmail.com>:
>
>
>  On 24 September 2010 08:40, Torsten Bonde Christiansen <tc at epidata.dk
>> >wrote:
>>
>>   On 2010-09-24 09:31, Frank Church wrote:
>>>
>>>  I installed the Ubuntu package from the Wiki using the getlaz script,
>>>> whenever I open Lazarus I get the error message
>>>>
>>>> The Free Pascal source directory was not found
>>>>
>>>> Some code functions will not work etc,etc
>>>>
>>>> When I check the Environment | Options | Files the FPC source directory
>>>> is
>>>> empty.
>>>> Is there something to be typed in there or do they have to be installed
>>>> separately?
>>>>
>>>>  Depending on what version of Ubuntu you use, the easiest way to install
>>>>
>>> the source (assuming you installed fpc through synapctic or similar) is
>>> to
>>> type the following in a terminal:
>>>
>>> sudo apt-get install fpc-source
>>>
>>> I think the default install location is /usr/share/src, but i'm not sure
>>> of
>>> that.
>>>
>>>
>>>  Thanks.
>>
>> Is the fpc-source necessary for Lazarus to work properly? I would expect
>> the
>> documentation to mention it if it is.
>>
>
> All documentation I know mentions that you need the fpc sources. Where is
> this missing?
>
>
>
>  After installing the source directory is  /usr/share/fpcsrc/$(FPCVER)/
>>
>> The version as of now is 2.2.4-3
>>
>
> Yes, 0.9.28 uses 2.2.4.
>
> For 0.9.29 I would recommend 2.4.0+
>
>
If I need to add new components do I have to run Lazarus as sudo or as root?

Can I add components under my own /home/username directory, or do they have
to go under the main installation?



> Mattias
>
>
>
>
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>



-- 
Frank Church

=======================
http://devblog.brahmancreations.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20100924/c8371511/attachment-0004.html>


More information about the Lazarus mailing list