[Lazarus] How to tell lazarus the location of a used package?

Sven Barth pascaldragon at googlemail.com
Tue Nov 23 17:34:07 CET 2010


Am 23.11.2010 17:19, schrieb Bo Berglund:
> On Mon, 22 Nov 2010 18:39:05 +0000, Martin<lazarus at mfriebe.de>  wrote:
>
>> On 22/11/2010 18:24, Bo Berglund wrote:
>>> On Sun, 21 Nov 2010 23:38:42 +0000, Martin<lazarus at mfriebe.de>   wrote:
>>>
>>>> On 21/11/2010 22:16, Bo Berglund wrote:
>>>>> I have switched to using the SVN version of lazarus.
>>>>> I put it in parallel to the binary distribution lazarus so now I have
>>>>> two of them.
>>>> and that means you want for at least one of them use (command line
>>>> param, use windows shortcut / properties )
>>>> --primary-config-path=C:\path\to\conf
>>>>
>>>> as long as they share the config dir, you may get a lot of oddities...
>>> If I do nothing, will they share or not share the config dir?
>>> And where is this config dir located?
>>>
>>>
>> They will share by default.
>>
>> depends on os and os version
>>
>> vista:
>> C:\Users\<username>\AppData\Local\lazarus
>>
>> linux
>> /home/username/.lazarus
>
> Then I don't understand...
> I have done nothing about the config (since i did not know it
> existed), so my new SVN version of Lazarus (the fixes branch) should
> read the same data as the normal lazarus, right?
> Then the same project opened in both lazarus:es would compile the same
> way, right?
> But the original lazarus does not complain about SdpoSerial, but the
> SVN version does. How come?
> Is there a dependency on which version of FPC is used? The SVN version
> also uses the latest *released* FPC version, while the original
> lazarus uses the FPC delivered in the setup for lazarus on Windows.
>

Did you use the pcp parameter as I've suggested you? If so, then you've 
two different configuration directories (which is the saver way 
regarding continued use of the release version - in my opinion).

Regards,
Sven




More information about the Lazarus mailing list