Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2014-01

[ANN] Lazarus Manager v0.8

22 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Kjow

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:

i386-win32
x86_64-win64
arm-android
arm-linux

(of course arm cpu only with trunk)

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

Kind regards,
Kjow
www.kjow.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140110/c8d5a7a6/attachment.html>

Reply by email

Martin Frb
to Kjow
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)

Reply by email

Kjow
to Martin Frb

Il 10/gen/2014 02:22 "Martin Frb" ha scritto:

Show quoted text 14 lines
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140110/aa2e36ff/attachment.html>

Reply by email

Reinier Olislagers
to Martin Frb: nice. For your info, if you like to add: To be able to have more than one Lazarus (needs…
Martin Frb wrote 7 lines
On 10/01/2014 00:17, Kjow wrote: 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

Doesn't seem to work for me on Laz trunk with lazbuild:. I have this lazarus.cfg (ASCII encoded):
--primary-config-path=c:\development\lazarussettings

but running lazbuild gives
D:\Cop\t>c:\Development\lazarus\lazbuild.exe simple.lpr using config file c:\Development\lazarus\lazarus.cfg primary config path: C:\Users\Reinier\AppData\Local\lazarus ... which is the wrong primary config path

Running
c:\Development\lazarus\lazarus.exe does give the correct primary config path..

Do you want me to file a bug report?

Reply by email

Reinier Olislagers
to Kjow: I'm glad to announce the release of Lazarus Manager 0.8 Some users asked me about old…
Kjow wrote 10 lines
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 ;)

Reply by email

Reinier Olislagers
to Reinier Olislagers: Doesn't seem to work for me on Laz trunk with lazbuild:. I have this lazarus.cfg (ASCII…
Reinier Olislagers wrote 5 lines
but running lazbuild gives D:\Cop\t>c:\Development\lazarus\lazbuild.exe simple.lpr using config file c:\Development\lazarus\lazarus.cfg primary config path: C:\Users\Reinier\AppData\Local\lazarus ... which is the wrong primary config path

Took the liberty of creating
http://bugs.freepascal.org/view.php?id=25510
and assigning it to Martin...

Reply by email

Hans-Peter Diettrich
to Kjow: I'm glad to announce the release of Lazarus Manager 0.8 Some users asked me about old…
Show quoted text 7 lines
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

Reply by email

Kjow
to Reinier Olislagers: Thanks a lot! <snip> Very, very interesting - would have hoped to have something like…

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

Show quoted text 6 lines
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140110/4422fc21/attachment-0001.html>

Reply by email

Kjow
to Hans-Peter Diettrich: On Win8-64 ---------- First problem: the edit box for the root directory shows strange…

wow, a lot of stuff!

2014/1/10 Hans-Peter Diettrich

Show quoted text 6 lines
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.

Show quoted text 8 lines
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).

Show quoted text 7 lines
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]: ****************
...

Show quoted text 5 lines
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.

Show quoted text 5 lines
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).

Show quoted text 6 lines
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140110/ee9826c1/attachment.html>

Reply by email

Hans-Peter Diettrich
to Reinier Olislagers: Please feel free to post bug reports on the forum & I'll have a look. Thanks.
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

Reply by email

Hans-Peter Diettrich
to Kjow: wow, a lot of stuff! 2014/1/10 Hans-Peter Diettrich This is a bug... in path can't be…
Show quoted text 14 lines
wow, a lot of stuff! 2014/1/10 Hans-Peter Diettrich < <mailto:>> 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.

Show quoted text 5 lines
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 ;-)

Show quoted text 11 lines
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?

Show quoted text 10 lines
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)
Show quoted text 8 lines
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 management, unusable for testing.

DoDi

Reply by email

Kjow
to Hans-Peter Diettrich

2014/1/10 Hans-Peter Diettrich

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.

Show quoted text 5 lines
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$!

Show quoted text 6 lines
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. :)

Show quoted text 6 lines
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.freepascal.org/pipermail/lazarus/attachments/20140110/67f7b7d9/attachment-0001.html>

Reply by email

waldo kitty
to Kjow
Kjow wrote 7 lines
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 AM <DIR> .
06/22/2012 08:35 AM <DIR> ..
10/10/2009 12:33 PM 1,308 autolist.txt 05/15/2012 11:54 AM 14,728 ConnectVPN.exe 05/15/2012 11:54 AM 1,610,120 crshhndl.dll 05/15/2012 11:54 AM 45,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 AM 70,536 libsasl32.dll 05/15/2012 11:54 AM 3,059,080 libsvn_tsvn32.dll 05/15/2012 11:54 AM 15,752 saslANONYMOUS.dll 05/15/2012 11:54 AM 18,824 saslCRAMMD5.dll 05/15/2012 11:54 AM 54,152 saslDIGESTMD5.dll 05/15/2012 11:54 AM 24,968 saslGSSAPI.dll 05/15/2012 11:54 AM 16,264 saslLOGIN.dll 05/15/2012 11:54 AM 528,776 saslNTLM.dll 05/15/2012 11:54 AM 16,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 AM 40,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 PM 39,002 TortoiseSVN_error.wav 03/11/2007 12:18 PM 49,242 TortoiseSVN_Notification.wav 03/11/2007 12:18 PM 14,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 PM 49 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.

Reply by email

Reinier Olislagers
to Hans-Peter Diettrich: I don't remember the exact details. According to the docs, I deleted ppcx64.exe, and now…
Hans-Peter Diettrich wrote 6 lines
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.

Reply by email

Reinier Olislagers
to Kjow: wow, a lot of stuff! 2014/1/10 Hans-Peter Diettrich This is a bug... in path can't be…
Kjow wrote 8 lines
2014/1/10 Hans-Peter Diettrich < <mailto:>> 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;

Reply by email

Reinier Olislagers
to waldo kitty: AFAIK, TortiseSVN has never had a "svn.exe"... i've always had to use their executable's…
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"

Reply by email

Hans-Peter Diettrich
to Kjow: 2014/1/10 Hans-Peter Diettrich Just a bug of "epuration" system I made. :) I think I have…
2014/1/10 Hans-Peter Diettrich < <mailto:>> 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.

Show quoted text 6 lines
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.

Show quoted text 7 lines
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...

Show quoted text 7 lines
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.

Show quoted text 11 lines
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

Reply by email

Hans-Peter Diettrich
to waldo kitty: AFAIK, TortiseSVN has never had a "svn.exe"... i've always had to use their executable's…
Show quoted text 6 lines
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

Reply by email

Hans-Peter Diettrich
to Reinier Olislagers: http://stackoverflow.com/questions/2967176/where-is-svn-exe-in-my-machine UPDATE: Recent…
Show quoted text 9 lines
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

Reply by email

waldo kitty
to Reinier Olislagers: http://stackoverflow.com/questions/2967176/where-is-svn-exe-in-my-machine UPDATE: Recent…
Reinier Olislagers wrote 14 lines
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.

Reply by email

Hans-Peter Diettrich
to Kjow: I'm glad to announce the release of Lazarus Manager 0.8 Some users asked me about old…
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

Reply by email