[Lazarus] ToDoListLaz
Hans-Peter Diettrich
DrDiettrich1 at aol.com
Fri Feb 4 06:53:55 CET 2011
Mattias Gaertner schrieb:
>> I have no idea what might be wrong with my installation or
>> configuration. Does there already exist a distribution for Windows,
>> including FPC, so that I can test 0.30 in a clean environment (VM)?
>
> Have you tried the daily snapshot?
I tried it now, after 1 hour downloading, and I'm really impressed, the
installation proceeded without major problems :-)
Nontheless I encounterd some problems, that make the installation
unusable. The Windows installer could be improved a bit:
1) The desktop icon could reflect the installation folder name, so that
it can be distinguished from other Lazarus icons.
2) The working directory is not set for the destop icon, so that a
--debug-log goes to the desktop. This directory also should be set to
the installation directory.
3) The configuration is not initialized, so that the default (old)
installation is used. The IDE internals reveal:
>>
Global IDE options:
Primary config directory=C:\Users\dodi\AppData\Local\lazarus
Secondary config directory=D:\lazarus931
LazarusDirectory=D:\lazarus\
CompilerFilename=D:\FPC\2.4.2\bin\i386-win32\fpc.exe
Real CompilerFilename=D:\FPC\2.4.2\bin\i386-win32\fpc.exe
<<
This clearly is *not* a useful setup for multiple installations, since
the old compiler and other settings are used.
This is what happens when the snapshot Lazarus is used from the desktop
icon (with --debug-log added):
>>
TLazPackageGraph.RegistrationError Package: "FCL 1.0"#0DUnit Name:
"RegisterFCL"#0D#0DUnit not found: "RegisterFCL"
TLazPackageGraph.RegistrationError Package: "LCLBase 1.0"#0DUnit Name:
"RegisterLCL"#0D#0DUnit not found: "RegisterLCL"
TLazPackageGraph.OpenInstalledDependency ToDoListLaz 0.0 0
FindMissingClass ActionGrid:TStringGrid IsInherited=False
FindMissingClass ContextTree:TTreeView IsInherited=False
FindMissingClass Splitter1:TSplitter IsInherited=False
FindMissingClass ToolBar1:TToolBar IsInherited=False
FindMissingClass BtnImport:TToolButton IsInherited=False
FindMissingClass OtherActionPanel:TPanel IsInherited=False
FindMissingClass OtherActionLabel:TLabel IsInherited=False
FindMissingClass OtherActToggleBox:TToggleBox IsInherited=False
FindMissingClass SaveDialog1:TSaveDialog IsInherited=False
FindMissingClass OpenDialog1:TOpenDialog IsInherited=False
TMainIDE.DoLoadLFM loading nested class TOpenDialog needed by
D:\lazarus\ide\frames\editor_mouseaction_options_advanced.pasTMainIDE.DoLoadLFM
DoLoadComponentDependencyHidden NestedClassName=TOpenDialog failed for
D:\lazarus\ide\frames\editor_mouseaction_options_advanced.pasOpenResource
DoLoadLFM failedTMainIDE.DoOpenEditorFile failed OpenResource:
D:\lazarus\ide\frames\editor_mouseaction_options_advanced.pasLAZARUS END
- cleaning up ...
<<
I'd suggest that the installer checks for a previous installation (this
is already done), and when one is found asks whether to install the
snapshot as the default Lazarus (overwriting the old config etc.), or as
yet another installation (creating and using a new config in the
installation directory).
Since snapshots do not always work, it would be a good idea to make them
*always* use a private configuration in the installation directory.
Should I supply an according bug report (or feature request)?
Now the question is:
*What must a user do to make the snapshot work?*
Please give according step-by-step instructions, so that I can update
the wiki accordingly after verification, and the installer can be
modified accordingly. The goal should be an installation that
*definitely* uses the just installed LCL and FPC, ready for testing and
reporting eventual bugs.
TIA
DoDi
More information about the Lazarus
mailing list