[Lazarus] [ANN] Lazarus Manager v0.8

Kjow antispammoni at gmail.com
Fri Jan 10 23:04:43 CET 2014


2014/1/10 Hans-Peter Diettrich <DrDiettrich1 at aol.com>

> No special characters, I only tried to insert 'LazMgr\' in front of the
> suggested directory. It may be a timing problem, the 'a' or 'z' caused the
> jump to the end of the text.
>

Just a bug of "epuration" system I made. :)
I think I have in mind how to solve.


> So it seems to me that TortoiseSVN doesn't install the standard svn.exe.
> Dunno how they make "svn" known to their bash shell.
>

Well, if Lazarus Manager can't use svn nothing will work.

There aren't restriction on which svn client to use, it just need a fully
working svn command line (command prompt). If no svn client if found (it
check the existence of "svn" command on "system path" (I use this code:
"FindDefaultExecutablePath('svn'): Boolean;") it will download and ask to
install the client that has his url on first tab.


> I use Win8 (NOT 8.1!) only if necessary or simple, otherwise XP (VM) is
> more tansparent and usable for me. Had to disable automatic updates on Win8
> a long time ago, because it broke several apps; this may be the reason why
> I couldn't (and don't want any more) to upgrade to 8.1. Never change a
> working Windows ;-)


I need Win8.1 because I need to test my game with latest version... so much
so that Windows 8.1 corrupt my shaders (GLSL) and I need to do a big
debug... yes, damn M$!


>
> Lazarus Manager can't manage lzma (or tar), I show a pop-up when required
>> (and I add an advice on log) that this step should be done manually.
>>
>
> *Manually* here means using some tool - which one?


e.g. if installation root is C:\Develop\

Go to: C:\Develop\Tools\Downloads you will find
"binutils-2.23.2-1-mingw32-bin.tar.lzma"
Right click on this file. then:

7-zip -> Open

Double click on binutils-2.23.2-1-mingw32-bin.tar -> mingw32 -> bin

Select all file and extract them on C:\Develop\fpc\Binutils

I don't remember for what, but zlib1.dll is needed also into
C:\Develop\fpc\Binutils

Without "binutils" nothing will work.


> Would it be simpler to disable "single click installation" in case of
> trouble, and proceed step by step? (should be documented as well)


Actually only "automatized" procedure is fully working (with the
pre-requisites like svn working and binutils extracted).

"Generate Directory Structure" AND "Start Necessaries Download" are just
the first step. Other "manual" steps are not implemented yet.


> When I found the target directories missing, I tried to repeat
> "FirstInstall" (no improvment). How do I a clean restart?


Lazarus Manager is not working for you, because it doesn't recognize svn
and you don't have extracted binutils.

Anyway, to restart, just delete the root installation directory you choose
for Lazarus Manager (e.g. C:\Develop ).
If you have manipulated config.ini (it should not be done), you can
overwrite with the original one in the zip of LazarusManager you downloaded.

Can the "make" consoles be kept open in case of errors (ErrorLevel?), for
> inspection of eventual error messages? Then close after prompting the
> user...


It closes when process is ended... I need to investigate how to let it
open.



> Please clarify: is the "temporary" path (shown in the log) the full path
> used during the build process? Which other "standard" directories are
> involved?
>

The path reported in the log is the path that Lazarus Manager use during
its processes. I can't set system environment path (
http://www.computerhope.com/issues/pictures/winpath.jpg ) from Lazarus
Manager itself, so I ask to the users to do this themselves.
It is necessary to Lazarus/FPC to work, but you can try without. I don't
know if in Lazarus -> Tools -> IDE Option -> Paths, are enough to make
Lazarus works well.


> How is the \pp directory involved? It was created by another Lazarus
> (older, stable) installation, obviously incompatible with the current/trunk
> projects.
>

This is the "strange" part... teorically there are not interactions with
Lazarus Manager processes... but what you reported has put me on alert.

For the moment, just resolve svn client and binutils "issues" on your
system. Maybe this is enough to make Lazarus Manager to work. :)


> A general note on FPC/Lazarus installation:
> I had several installations on my old (Win7) system, but don't remember
> how I made "make" work there, and which one was the most recent one. Is
> there something simpler than the BuildFAQ, telling how to make things work
> without killing other existing installations?
>

Tecnically, with Lazarus Manager you can install as many times you want
different and indipendent installations. At the moment, I have FIVE "roots"
within any of them two Lazarus and two FPC installations (branch/trunk) and
I have no problems:

C:\Develop\...
C:\Develop2\...
C:\Develop3\...
C:\Develop4\...
C:\Develop5\...

Of course is for test... but I have no problems.

I also just used Lazarus Manager on my Notebook (core i3 + 128Gb ssd) and
in 15/20 min I had two working Lazarus (branch and trunk) with all
cross-compiling feature installed.

Kjow
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20140110/67f7b7d9/attachment-0003.html>


More information about the Lazarus mailing list