Re: [Lazarus] [ANN] Lazarus Manager v0.8

2014-01-14 Thread Hans-Peter Diettrich

Kjow schrieb:

I'm glad to announce the release of Lazarus Manager 0.8


Thanks for updating the wiki :-)

Now I upgraded to the latest TortoiseSVN (including svn.exe).

1) Is it really required to export the fpc sources?
(from Tools\Downloads... to fpc\fpc\svn_sources...)

2) I still get no Lazarus.exe etc. in lazarus (fixes_1_2)?
(laztrunk is okay, so far)
What's the difference between building lazarus and laztrunk?
Can an existing ...\Local Settings\lazarus directory (from normal 
distribution) get into the way?


3) Which is the minimal path required for a manual make?

When the path used by Lazarus Manager is:
C:\LazMgr\fpc\Bootstrap;C:\LazMgr\fpc\Binutils;C:\LazMgr\fpc\Utils\bin\i386-win32;C:\Program 
Files\TortoiseSVN\bin\


Can the Bootstrap or Binutils get into the way when I want to build 
lazarus.exe?


[2+3] Using
path=C:\LazMgr\fpc\Utils\bin\i386-win32;C:\LazMgr\fpc\fpc_2.6.x\bin\i386-win32
make clean bigide
a lazarus.exe and lazbuild.exe are created. Doesn't work, though, even 
after make clean all something is wrong with the packages - just the 
basic Standard, Additional etc. tabs are missing from the palette.


Lazarus trunk (1.3) fails to build a project with errors:

PPU Loading C:\LazMgr\laztrunk\lcl\units\i386-win32\win32\interfaces.ppu
PPU Invalid Version 164
Hello.lpr(9,3) Fatal: Can not find Interfaces used by Hello, 
ppu=C:\LazMgr\laztrunk\lcl\units\i386-win32\win32\interfaces.ppu, 
package LCL



Which is the compiler related to Version 164?

Also fails to rebuild the IDE.

What's wrong?

DoDi


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [ANN] Lazarus Manager v0.8

2014-01-11 Thread Hans-Peter Diettrich

Kjow schrieb:
2014/1/10 Hans-Peter Diettrich drdiettri...@aol.com 
mailto:drdiettri...@aol.com



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

[...]
*Manually* here means using some tool - which one? 



7-zip - Open


These two tools should be mentioned in the docs, how to check for 
already installed, or how to install.


No need to explain further details to me, I found the existing 
documentation sufficient so far.



Without binutils nothing will work.


Of course, the manager already checks that and reports problems.



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.


Sorry, I *did* install svn, 7zip, filled the Binutils dir, and got the 
sources checked out. My problems start with the compilation of the sources.


Anyway, to restart, just delete the root installation directory you 
choose for Lazarus Manager (e.g. C:\Develop ).


I've moved the Binutils directory to an safe place now, so that I can 
copy it into the root directory afterwards. Then restarted with a fresh 
copy of Lazarus Manager.


Tried to modify the Binutils path, to use my saved Binutils, but the box 
seems to be read-only. Well...


Started Lazarus Manager, proceed until FirstInstall, copy the binutils 
when propted, checkout starts, make seems to do something, all consoles 
close.


BTW a DebugScripts checkbox would be nice, redirecting (at least make) 
console output into log files (easier than halting before the consoles 
close).



Remaining questions:

Where is the make output (installed files)?
The fpctrunk and fpc_2.6.x directories look fine to me.
laztrunk too, but lazarus contains no Lazarus.exe???

How do I start/configure the various Lazarus versions (trunk/stable)?
Do both Lazarus versions use the same FPC (stable branch) version?
IMO they should, at least when Lazarus has to be rebuilt.
So how do I use fpctrunk with Lazarus?

Lazarus setup doubts about the correct make.exe:

Warnung:Es gibt keine fpc.exe im Verzeichnis von make.exe. Üblicherweise 
wird make zusammen mit dem FPC-Compiler installiert.


Is it okay to use make.exe from fpc\Utils\bin...?
Could this cause the following problem:

The IDE (1.3) then starts fine, but seems to use *fpctrunk* and 
consequently fails to build my HelloWorld project :-(


Since this issue seems to be Lazarus related, I'll ask in another thread.



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.


That's fine, and I'd leave it like that. Using and modifying the OS path 
IMO is not a good idea, because then multiple versions and third party 
adds can get into the way. I already considered to remove the 
directories added by previous Lazarus installations...




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.


Looks like this problem doesn't exist any more. At least the files found 
in pp\bin\... date from 2010.




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:


Great :-)

DoDi


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [ANN] Lazarus Manager v0.8

2014-01-11 Thread Hans-Peter Diettrich

Reinier Olislagers schrieb:

On 11/01/2014 01:09, waldo kitty wrote:

On 1/10/2014 5:04 PM, Kjow wrote:
AFAIK, TortiseSVN has never had a svn.exe... i've always had to use
their executable's filename in my scripts...


http://stackoverflow.com/questions/2967176/where-is-svn-exe-in-my-machine
UPDATE: Recent versions of the TortoiseSVN package can install a
discrete svn.exe in addition to the one linked into the GUI binary. It
is located in the same bin directory where the main program is installed.


Thanks for the info :-)

DoDi


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [ANN] Lazarus Manager v0.8

2014-01-11 Thread Hans-Peter Diettrich

waldo kitty schrieb:

AFAIK, TortiseSVN has never had a svn.exe... i've always had to use 
their executable's filename in my scripts...


eg:
  for FPC - TortoiseProc /command:update /path:%myFPCdir%
  for LAZ - TortoiseProc /command:update /path:%myLAZdir%


Thanks, installing another (non-Tortoise) SVN version fixed the problem.


i don't know anything about 'their' (TortiseSVN) having any sort of 
'bash shell'... AFAIK, there isn't such a beast on winwhatever...


Right, I confused SVN and GIT :-(

DoDi


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [ANN] Lazarus Manager v0.8

2014-01-11 Thread waldo kitty

On 1/10/2014 8:57 PM, Reinier Olislagers wrote:

On 11/01/2014 01:09, waldo kitty wrote:

On 1/10/2014 5:04 PM, Kjow wrote:
AFAIK, TortiseSVN has never had a svn.exe... i've always had to use
their executable's filename in my scripts...


http://stackoverflow.com/questions/2967176/where-is-svn-exe-in-my-machine
UPDATE: Recent versions of the TortoiseSVN package can install a
discrete svn.exe in addition to the one linked into the GUI binary. It
is located in the same bin directory where the main program is installed.

and
During the installation of TortoiseSVN, check the Command Line Client
Tools. This will create the file svn.exe inside the folder C: \
Program Files \ TortoiseSVN \ bin


thanks for that bit of information! it is helpful in more than one case ;)

--
NOTE: No off-list assistance is given without prior approval.
  Please keep mailing list traffic on the list unless
  private contact is specifically requested and granted.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [ANN] Lazarus Manager v0.8

2014-01-10 Thread Kjow
Il 10/gen/2014 02:22 Martin Frb laza...@mfriebe.de ha scritto:

 For your info, if you like to add:
 To be able to have more than one Lazarus (needs 1.2 or up) at the same
 time.

 In the lazarus folder (same where lazarus.exe is) put a file
  lazarus.cfg

 the content just one line (path is NOT allowed to be in quotes / no
 trailing spaces)
 --primary-config-path=C:\laz_dir\conf_inside_main_dir

 Of course the path can point anywhere else as well. But it should not be
 the same as the laz install dir (it can be a new subdir)


Hi, I forgot to write that you can install all, any times you want, in
different directories.

The manager install a shortcut that already have the -pcp  parameter (and
if the checkbox in first tab is flagged it will copied also on desktop).

Interesting the point about lazarus.cfg, it is the same thing, but more
professional... I didn't know that feature,  I will implement it.

An other thing I forgot to write is that there are included also gdb for
x86 and x64 in the specified path... I'm going to update the wiki.

Regards,
Kjow
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [ANN] Lazarus Manager v0.8

2014-01-10 Thread Reinier Olislagers
On 10/01/2014 01:17, Kjow wrote:
 I'm glad to announce the release of Lazarus Manager 0.8
 
 Some users asked me about old scripts (Lazarus Manager v0.3), but due
 some changes in Windows and/or Lazarus/FPC source (I don't know well
 what happened, but they stopped to work) I taken the decision to realize
 a my old goal about this project.
 
 So, there is available to download a program for Windows that will
 install, build and configure Lazarus/FPC (both branch/trunk) to compile
 (and cross-compile) for these targets:

Thanks a lot!

snip
 PS Please, take it as an hobby... I know that it can be improved a lot
 and there are surely mistakes/faults, so please tell me which issues you
 will find and I'll try to fix in my free time :)

Very, very interesting - would have hoped to have something like this as
a front-end to fpcup (I'm currently working on ARM cross compilers and
I'm sure your tool would help getting that done)... so we can merge our
hobbies/strengths - as you may have found out, GUI design is not one of
mine ;)


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [ANN] Lazarus Manager v0.8

2014-01-10 Thread Hans-Peter Diettrich

Kjow schrieb:


More detail and download link here:

http://wiki.lazarus.freepascal.org/Lazarus_Manager

PS Please, take it as an hobby... I know that it can be improved a lot 
and there are surely mistakes/faults, so please tell me which issues you 
will find and I'll try to fix in my free time :)


On Win8-64
--
First problem: the edit box for the root directory shows strange 
behaviour. Inserting characters *into* text can make the cursor jump to 
the end of the text.


I'm missing an button for executing the Pre-Installation. Start 
Necessaries Download doesn't react, the FirstInstall button is far away.


SVN is not found, even if TortoiseSVN\bin is in the path, and I don't 
remember SVM problems with fpcup.

- what exactly should be in the path?
- does it harm when another SVN is installed by the manager?
- Clicking Cancel makes the program unresponsive, Windows kills it.
- The same when clicking OK. The last log entry is
[10:47:25]: Start gdb.exe download.

fpcup had other problems, couldn't make it work either.


Second try in WinXP-32 VM
-
SVN can be started in a console, seems to be installed already.
Downloads seem to succeed.
Error: Binutils directory is empty.
Maybe .lzma and .tar are not supported? -- installed 7zip and zlib.
Now a couple of consoles seem to checkout the repositories.
All done - what now?

Try close a console: Windows cannot cannot close this program

Try Update, more consoles open *and* close (rapidly, empty?)!
These seem to be the make consoles?
Error: Failed to execute: 2.
Huh? config: Drive=2 ?

At least the log continues, starting make's
*and* finally states Update completed :-)

Ending the program - the consoles still are open. Kill them now brutally :-]

But where are the binaries? Looking at the log, the INSTALL_PREFIX 
directories do not exist :-(


Log doesn't mention any missing paths, only:

Temporary EnvironmentVariable (PATH):
C:\LazMgr\fpc\Bootstrap;C:\LazMgr\fpc\Binutils;C:\LazMgr\fpc\Utils\bin\i386-win32;C:\Program 
Files\CollabNet\Subversion Client\



Fix the shortcut file (root changed!).
Error: problems with android NDK...
Of course no such directories exist, I didn't select Android support!?
Ignore -- program starts, with all targets checked! :-(
Uncheck except win32.
QuickBuild -- not yet implemented
Close, remove Android directories from config.ini - oops, bad idea?
Remove all from the shortcut.
Start again, consoles open and close quickly - still no target 
directories created.


fpctrunk source missing compiler directory!

Creating batch file for start with above directories appended.
No difference :-(
Add CD... and make... for testing


C:/LazMgr/fpc/Bootstrap/ppc386.exe -Fui386 -Fusystems 
-Fuc:/pp/units/i386-win32/
rtl -Fii386 -FE. -FUi386/units/i386-win32  -di386 -dGDB -dBROWSERLOG 
-Fux86 pp.pas

PPU Loading C:\pp\units\i386-win32\rtl\system.ppu
PPU Invalid Version 100
Fatal: Can't find unit system used by pp
Fatal: Compilation aborted
make: *** [ppc386.exe] Error 1


Cleaning \pp\units...
Invalid Version disappears, rest same error :-(

What's wrong?

DoDi


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [ANN] Lazarus Manager v0.8

2014-01-10 Thread Reinier Olislagers
On 10/01/2014 13:40, Hans-Peter Diettrich wrote:
 fpcup had other problems, couldn't make it work either.
Please feel free to post bug reports on the forum  I'll have a look.
Thanks.



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [ANN] Lazarus Manager v0.8

2014-01-10 Thread Kjow
I updated Lazarus Manager to v0.8.1:

Changelog:
Fixed: shortcut generation issue. Now config stuff will be generate in
./Lazarus/config - .\lazarus\lazarus.exe --pcp=C:\Develop\lazarus\config



2014/1/10 Reinier Olislagers reinierolislag...@gmail.com

 Very, very interesting - would have hoped to have something like this as
 a front-end to fpcup (I'm currently working on ARM cross compilers and
 I'm sure your tool would help getting that done)... so we can merge our
 hobbies/strengths - as you may have found out, GUI design is not one of
 mine ;)


I was not aware of fpcup, Lazarus Manager is a stand-alone program that
uses just bootstrap, svn and utils/binutils to make all. I used TTHread and
TProcess to call commands like anyone can do in command prompt manually.

Anyway, I'm glad that I am not the only to want this kind of tool and I'll
follow fpcup with interest... maybe a day I'll try to make a shell for
fpcup, but I need to study it :)


Kjow
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [ANN] Lazarus Manager v0.8

2014-01-10 Thread Kjow
wow, a lot of stuff!

2014/1/10 Hans-Peter Diettrich drdiettri...@aol.com

 On Win8-64
 --
 First problem: the edit box for the root directory shows strange
 behaviour. Inserting characters *into* text can make the cursor jump to the
 end of the text.


This is a bug... in path can't be used spaces or special char and it
doesn't reposition the cursor at the right place :)


 I'm missing an button for executing the Pre-Installation. Start
 Necessaries Download doesn't react, the FirstInstall button is far away.


If One Click Installation is selected, they aren't needed (and they are
disabled). I updated the wiki.


 SVN is not found, even if TortoiseSVN\bin is in the path, and I don't
 remember SVM problems with fpcup.
 - what exactly should be in the path?
 - does it harm when another SVN is installed by the manager?
 - Clicking Cancel makes the program unresponsive, Windows kills it.
 - The same when clicking OK. The last log entry is
 [10:47:25]: Start gdb.exe download.


mmhh... it use generic svn command line program, so if you type svn in a
new command prompt window it should work also on Lazarus Manager...

fpcup had other problems, couldn't make it work either.


I don't know how fpcup works, but if both aren't working it should be a
system problem... I don't know... I'll try with an other PC (win8.1 x64).


 Second try in WinXP-32 VM
 -
 SVN can be started in a console, seems to be installed already.
 Downloads seem to succeed.
 Error: Binutils directory is empty.
 Maybe .lzma and .tar are not supported? -- installed 7zip and zlib.


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. Anyway
Lazarus Manager will stay in standby until files aren't copied. This is a
my log:

...
[16:18:21]: 
[16:18:21]: Please, extract
C:\Develop\Tools\Downloads\binutils-2.23.2-1-mingw32-bin.tar.lzma\mingw32\bin\
to:
C:\Develop\fpc\Binutils

Here, you need ar.exe, as.exe, ld.exe, zlib1.dll, etc

[16:18:21]: 
...


 Now a couple of consoles seem to checkout the repositories.
 All done - what now?

 Try close a console: Windows cannot cannot close this program


Well, the procedure should follow a defined path. If there isn't binutils
into the directory everything after the check doesn't work. Of course,
there are controls about not proceeding if binutils aren't found, I don't
know why in your system this doesn't work... strange.


 Try Update, more consoles open *and* close (rapidly, empty?)!
 These seem to be the make consoles?
 Error: Failed to execute: 2.
 Huh? config: Drive=2 ?


Update works only if first installation was ok, so something not defined is
happened (and binutils are absolutely required).



 At least the log continues, starting make's
 *and* finally states Update completed :-)

 Ending the program - the consoles still are open. Kill them now brutally
 :-]

[cut]

 But where are the binaries? Looking at the log, the INSTALL_PREFIX
 directories do not exist :-(


This log is not so smart :-p
It just writes what is processing and when it ends, but it doesn't tell
(yet?) if all is gone right. Anyway, if in Lazarus (branch/trunk) there are
exe files all is gone right :)


 fpctrunk source missing compiler directory

[cut]

 What's wrong?


I don't really know... it seems like there is some interference with other
installation/something else, but Lazarus Manager should not care...


Kjow
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [ANN] Lazarus Manager v0.8

2014-01-10 Thread Hans-Peter Diettrich

Reinier Olislagers schrieb:

On 10/01/2014 13:40, Hans-Peter Diettrich wrote:

fpcup had other problems, couldn't make it work either.

Please feel free to post bug reports on the forum  I'll have a look.


I don't remember the exact details. According to the docs, I deleted 
ppcx64.exe, and now it is *not* recreated automatically.


What should I do to restart in a usable state?

DoDi


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [ANN] Lazarus Manager v0.8

2014-01-10 Thread Hans-Peter Diettrich

Kjow schrieb:

wow, a lot of stuff!

2014/1/10 Hans-Peter Diettrich drdiettri...@aol.com 
mailto:drdiettri...@aol.com


On Win8-64
--
First problem: the edit box for the root directory shows strange
behaviour. Inserting characters *into* text can make the cursor jump
to the end of the text.


This is a bug... in path can't be used spaces or special char and it 
doesn't reposition the cursor at the right place :)


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.




I'm missing an button for executing the Pre-Installation. Start
Necessaries Download doesn't react, the FirstInstall button is
far away.



mmhh... it use generic svn command line program, so if you type svn in 
a new command prompt window it should work also on Lazarus Manager...


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




fpcup had other problems, couldn't make it work either.


I don't know how fpcup works, but if both aren't working it should be a 
system problem... I don't know... I'll try with an other PC (win8.1 x64).


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 ;-)



Second try in WinXP-32 VM
-
SVN can be started in a console, seems to be installed already.
Downloads seem to succeed.
Error: Binutils directory is empty.
Maybe .lzma and .tar are not supported? -- installed 7zip and zlib.


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?



Now a couple of consoles seem to checkout the repositories.
All done - what now?

Try close a console: Windows cannot cannot close this program


Well, the procedure should follow a defined path. If there isn't 
binutils into the directory everything after the check doesn't work. Of 
course, there are controls about not proceeding if binutils aren't 
found, I don't know why in your system this doesn't work... strange.


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




Try Update, more consoles open *and* close (rapidly, empty?)!
These seem to be the make consoles?
Error: Failed to execute: 2.
Huh? config: Drive=2 ?


Update works only if first installation was ok, so something not defined 
is happened (and binutils are absolutely required).


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




This log is not so smart :-p
It just writes what is processing and when it ends, but it doesn't tell 
(yet?) if all is gone right. Anyway, if in Lazarus (branch/trunk) there 
are exe files all is gone right :)


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



I don't really know... it seems like there is some interference with 
other installation/something else, but Lazarus Manager should not care...


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


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



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?


As a normal user I'm happy with a single installation, but when I now 
want to explore the new AnsiStrings, I need multiple independent 
installations of FPC (and Lazarus?).


E.g. on Win7 I had an \fpc directory, containing various FPC 
installations, so that I know where to install and find some specific 
compiler. A single (unversioned) \pp directory is not so useful. In 
detail I don't remember which config files/directories belong to which 
version...


I also considered to have different users for each branch, but AFAIR 
this also didn't allow to isolate the installations sufficiently. Would 
this be easier on Linux? [I doubt that, when \lib and other shared 
directories or links are used] Also my Ubuntu VM recently stopped 
working, after an update, with an irrecoverably broken package 

Re: [Lazarus] [ANN] Lazarus Manager v0.8

2014-01-10 Thread Kjow
2014/1/10 Hans-Peter Diettrich drdiettri...@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
--

Re: [Lazarus] [ANN] Lazarus Manager v0.8

2014-01-10 Thread waldo kitty

On 1/10/2014 5:04 PM, Kjow wrote:

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.


AFAIK, TortiseSVN has never had a svn.exe... i've always had to use their 
executable's filename in my scripts...


eg:
  for FPC - TortoiseProc /command:update /path:%myFPCdir%
  for LAZ - TortoiseProc /command:update /path:%myLAZdir%

then there's that the version i used on w98 and w2k was able to have the 
revision number pulled out and included in lazarus' about screen but when i 
screwed up and let my vista box update to a newer version of TortiseSVN, this 
didn't happen any more... apparently because they changed their .svn data 
storage format and so svn2revision.inc isn't able to gather that data any more :(


i don't know anything about 'their' (TortiseSVN) having any sort of 'bash 
shell'... AFAIK, there isn't such a beast on winwhatever...



in any case, here's the contents of my vista's TortiseSVN installation...


dir C:\Program Files\TortoiseSVN\bin

 Directory of C:\Program Files\TortoiseSVN\bin

06/22/2012  08:35 AMDIR  .
06/22/2012  08:35 AMDIR  ..
10/10/2009  12:33 PM 1,308 autolist.txt
05/15/2012  11:54 AM14,728 ConnectVPN.exe
05/15/2012  11:54 AM 1,610,120 crshhndl.dll
05/15/2012  11:54 AM45,960 intl3_tsvn32.dll
05/15/2012  11:54 AM   210,312 libaprutil_tsvn32.dll
05/15/2012  11:54 AM   134,024 libapr_tsvn32.dll
05/15/2012  11:54 AM70,536 libsasl32.dll
05/15/2012  11:54 AM 3,059,080 libsvn_tsvn32.dll
05/15/2012  11:54 AM15,752 saslANONYMOUS.dll
05/15/2012  11:54 AM18,824 saslCRAMMD5.dll
05/15/2012  11:54 AM54,152 saslDIGESTMD5.dll
05/15/2012  11:54 AM24,968 saslGSSAPI.dll
05/15/2012  11:54 AM16,264 saslLOGIN.dll
05/15/2012  11:54 AM   528,776 saslNTLM.dll
05/15/2012  11:54 AM16,776 saslPLAIN.dll
05/15/2012  11:54 AM   590,728 SciLexer.dll
05/15/2012  11:54 AM 1,521,544 SendRpt.exe
05/15/2012  11:54 AM   111,496 SubWCRev.exe
05/15/2012  11:54 AM   105,864 SubWCRevCOM.exe
05/15/2012  11:54 AM   263,560 TortoiseBlame.exe
05/15/2012  11:54 AM   199,048 TortoiseIDiff.exe
05/15/2012  11:54 AM 1,980,296 TortoiseMerge.exe
05/13/2012  05:26 PM   230,131 TortoiseMerge_en.chm
05/15/2012  11:54 AM   327,048 TortoisePlink.exe
05/15/2012  11:54 AM 6,986,632 TortoiseProc.exe
05/15/2012  11:54 AM40,328 TortoiseStub32.dll
05/15/2012  11:54 AM   428,936 TortoiseSVN32.dll
05/13/2012  05:25 PM 1,698,989 TortoiseSVN_en.chm
03/11/2007  12:18 PM39,002 TortoiseSVN_error.wav
03/11/2007  12:18 PM49,242 TortoiseSVN_Notification.wav
03/11/2007  12:18 PM14,426 TortoiseSVN_Warning.wav
05/15/2012  11:54 AM   123,272 TortoiseUDiff.exe
05/15/2012  11:54 AM   276,872 TSVNCache.exe
01/05/2007  09:30 PM49 Website.url


--
NOTE: No off-list assistance is given without prior approval.
  Please keep mailing list traffic on the list unless
  private contact is specifically requested and granted.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [ANN] Lazarus Manager v0.8

2014-01-10 Thread Reinier Olislagers
On 10/01/2014 20:45, Hans-Peter Diettrich wrote:
 Reinier Olislagers schrieb:
 On 10/01/2014 13:40, Hans-Peter Diettrich wrote:
 I don't remember the exact details. According to the docs, I deleted
 ppcx64.exe, and now it is *not* recreated automatically.
 
 What should I do to restart in a usable state?

Please follow
http://wiki.lazarus.freepascal.org/fpcup#Troubleshooting
especially deleting all files in the binutils dir

Then rerun fpcup.

If it still doesn't work, please follow
http://wiki.lazarus.freepascal.org/fpcup#Support_and_bug_reporting
and post on the forum.

Thanks.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [ANN] Lazarus Manager v0.8

2014-01-10 Thread Reinier Olislagers
On 10/01/2014 19:40, Kjow wrote:
 2014/1/10 Hans-Peter Diettrich drdiettri...@aol.com
 mailto:drdiettri...@aol.com
 SVN is not found, even if TortoiseSVN\bin is in the path, and I
 don't remember SVM problems with fpcup.
 - what exactly should be in the path?
 - does it harm when another SVN is installed by the manager?
 - Clicking Cancel makes the program unresponsive, Windows kills it.
 - The same when clicking OK. The last log entry is

@Kjow: perhaps you can adapt this code from fpcup:
file svnclient.pas
function TSVNClient.FindRepoExecutable: string;
const
  // Application name:
  SVNName = 'svn';
begin
  Result := FRepoExecutable;
  // Look in path
  // Windows: will also look for SVNName.exe
  if not FileExists(FRepoExecutable) then
FRepoExecutable := FindDefaultExecutablePath(SVNName);

{$IFDEF MSWINDOWS}
  // Some popular locations for SlikSVN, Subversion, and TortoiseSVN:
  // Covers both 32 bit and 64 bit Windows.
  if not FileExists(FRepoExecutable) then
FRepoExecutable :=
GetEnvironmentVariable('ProgramFiles\Subversion\bin\svn.exe');
  if not FileExists(FRepoExecutable) then
FRepoExecutable :=
GetEnvironmentVariable('ProgramFiles(x86)\Subversion\bin\svn.exe');
  if not FileExists(FRepoExecutable) then
FRepoExecutable :=
GetEnvironmentVariable('ProgramFiles\SlikSvn\bin\svn.exe');
  if not FileExists(FRepoExecutable) then
FRepoExecutable :=
GetEnvironmentVariable('ProgramFiles(x86)\SlikSvn\bin\svn.exe');
  if not FileExists(FRepoExecutable) then
FRepoExecutable :=
GetEnvironmentVariable('ProgramFiles\TorToiseSVN\bin\svn.exe');
  if not FileExists(FRepoExecutable) then
FRepoExecutable :=
GetEnvironmentVariable('ProgramFiles(x86)\TorToiseSVN\bin\svn.exe');
  //Directory where current executable is:
  if not FileExists(FRepoExecutable) then
FRepoExecutable := (ExtractFilePath(ParamStr(0)) + 'svn');
{$ENDIF MSWINDOWS}

  if not FileExists(FRepoExecutable) then
  begin
//current directory. Note: potential for misuse by malicious program.
{$ifdef mswindows}
if FileExists(SVNName + '.exe') then
  FRepoExecutable := SVNName + '.exe';
{$endif mswindows}
if FileExists('svn') then
  FRepoExecutable := SVNName;
  end;

  if FileExists(FRepoExecutable) then
  begin
if ExecuteCommand(DoubleQuoteIfNeeded(FRepoExecutable) + '
--version', Verbose)  0 then
begin
  // File exists, but is not a valid svn client
  FRepoExecutable := '';
end;
  end
  else
  begin
// File does not exist
// Make sure we don't call an arbitrary executable:
FRepoExecutable := '';
  end;
  Result := FRepoExecutable;
end;


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [ANN] Lazarus Manager v0.8

2014-01-10 Thread Reinier Olislagers
On 11/01/2014 01:09, waldo kitty wrote:
 On 1/10/2014 5:04 PM, Kjow wrote:
 AFAIK, TortiseSVN has never had a svn.exe... i've always had to use
 their executable's filename in my scripts...

http://stackoverflow.com/questions/2967176/where-is-svn-exe-in-my-machine
UPDATE: Recent versions of the TortoiseSVN package can install a
discrete svn.exe in addition to the one linked into the GUI binary. It
is located in the same bin directory where the main program is installed.

and
During the installation of TortoiseSVN, check the Command Line Client
Tools. This will create the file svn.exe inside the folder C: \
Program Files \ TortoiseSVN \ bin



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [ANN] Lazarus Manager v0.8

2014-01-09 Thread Martin Frb

On 10/01/2014 00:17, Kjow wrote:

I'm glad to announce the release of Lazarus Manager 0.8


nice.

For your info, if you like to add:
To be able to have more than one Lazarus (needs 1.2 or up) at the same 
time.


In the lazarus folder (same where lazarus.exe is) put a file
 lazarus.cfg

the content just one line (path is NOT allowed to be in quotes / no 
trailing spaces)

--primary-config-path=C:\laz_dir\conf_inside_main_dir

Of course the path can point anywhere else as well. But it should not be 
the same as the laz install dir (it can be a new subdir)




--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus