[Lazarus] Creating config files in primary config path for bootstrap installer

Reinier Olislagers reinierolislagers at gmail.com
Sat Feb 4 12:21:52 CET 2012


On 4-2-2012 12:10, Vincent Snijders wrote:
> Op 4 februari 2012 12:03 heeft Reinier Olislagers
> <reinierolislagers at gmail.com> het volgende geschreven:
>> While the approach you mention on the page surely will work (letting the
>> IDE copy/create missing config files), I'm looking for a totally
>> unattended way to get Lazarus installed and set up, including some tools.
>> This means I prefer not to start the IDE to generate the config...
> 
> Why do you want to start the IDE to generate the config?

Actually, I don't; it seems to me it's one of the ways to generate the
config.

Running my installer: after compiling lazarus.exe, it runs lazbuild with
--primary-config-path to compile e.g. lazdatadesktop

Not surprisingly, lazbuild errored out; it couldn't find a valid compiler.
Turns out no config files exist in the primary config path (I only see
compilertest.pas), and apparently lazbuild doesn't generate them.

So, I surmised I need to generate configs. Running the IDE seems to be
one way.

Is there a better/easier way?

Thanks,
Reinier




More information about the Lazarus mailing list