Re: [Lazarus] Lazarus Manager

2011-07-31 Thread Joshua Lim

Hi Kjow,

I downloaded the latest script, ran again, went fine until after reboot. 
I ran the script again, and it crashed at different points. Please 
advise, thanks.


A lazarus\examples\canvas_test\rectanglestest.pas
A lazarus\examples\canvas_test\shapedwindowtest.lfm
A lazarus\examples\canvas_test\ellipseunit.lfm
A lazarus\examples\canvas_test\drawtest.lfm
A lazarus\examples\canvas_test\shapedwindowtest.pas
A lazarus\examples\std_actions
A lazarus\examples\std_actions\unit1.lrs
A lazarus\examples\std_actions\unit1.pas
A lazarus\examples\std_actions\project1.lpr
A lazarus\examples\std_actions\manifest.rc
A lazarus\examples\std_actions\project1.lpi
A lazarus\examples\std_actions\readme.txt
A lazarus\examples\std_actions\unit1.lfm
U lazarus
è?3?°?±? 31842?£
Proceed? [Y/N]: N
Nothing else to do. Exit.
Press any key to continue . . .

I installed FPC to C:\Develop\fpc\2.4.4\, here's my settings:


set OLDDIR=%CD%
set PATHDEST=C:\Develop
set PATH=%PATHDEST%\fpc\binutils\;%PATH%
set OLDPATH=%PATH%
set SVN=Slik-Subversion-1.6.12-win32.msi
set FPCINSTVER=2.4.4
set FPCVER=2.5.1
set 
FPCURL=http://downloads.sourceforge.net/project/freepascal/Win32/%FPCINSTVER%

set FPCNAME=fpc-%FPCINSTVER%.i386-win32.exe
..
REM svn co http://svn.freepascal.org/svn/fpc/tags/release_2_4_2 fpc
svn co http://svn.freepascal.org/svn/fpc/trunk fpc



Kjow wrote:

2010/10/16 Joshua Lim joshua__...@hotmail.com:
  

Hi Kjow, there are some free choice for download from the Internet, but I
think they are not fully compatible with windows choice.  I didn't try more
as it is risky to run files downloaded from the internet. ;)
Finally, I copied the choice from my Windows 2003 server, and that one
worked.

Rgds,
Joshua



Hi Joshua,
So, now the script is fully working?

Regards,
Kjow


  



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


Re: [Lazarus] Lazarus Manager

2011-07-31 Thread Hans-Peter Diettrich

Joshua Lim schrieb:


set OLDDIR=%CD%
set PATHDEST=C:\Develop
set PATH=%PATHDEST%\fpc\binutils\;%PATH%


I have only the really required folders in the path, when building FPC 
or Lazarus.




REM svn co http://svn.freepascal.org/svn/fpc/tags/release_2_4_2 fpc
svn co http://svn.freepascal.org/svn/fpc/trunk fpc


Can you tell me where svn.exe resides? I'm using TortoiseSVN, and 
couldn't find a commanline version of svn on my machine :-(


DoDi


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


Re: [Lazarus] Lazarus Manager

2011-07-31 Thread Flávio Etrusco
On Sun, Jul 31, 2011 at 10:02 PM, Hans-Peter Diettrich
drdiettri...@aol.com wrote:
 Joshua Lim schrieb:

 set OLDDIR=%CD%
 set PATHDEST=C:\Develop
 set PATH=%PATHDEST%\fpc\binutils\;%PATH%

 I have only the really required folders in the path, when building FPC or
 Lazarus.


 REM svn co http://svn.freepascal.org/svn/fpc/tags/release_2_4_2 fpc
 svn co http://svn.freepascal.org/svn/fpc/trunk fpc

 Can you tell me where svn.exe resides? I'm using TortoiseSVN, and couldn't
 find a commanline version of svn on my machine :-(

 DoDi

TortoiseSVN links svn as library,

-Flávio

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


Re: [Lazarus] Lazarus manager - Linux

2011-06-07 Thread silvioprog
Hi.

Finally, all the scripts are ready, tested and approved!

Install:
http://silvioprog.com.br/download/install_fpc_lazarus_svn_version.tar.gz

Update:
http://silvioprog.com.br/download/update_fpc_lazarus_svn_version.tar.gz

Remove:
http://silvioprog.com.br/download/remove_fpc_lazarus_svn_version.tar.gz

Customize (for 800x600):
http://silvioprog.com.br/download/custom_lazarus_svn_version_800x600.tar.gz

Customize (for 1024x768):
http://silvioprog.com.br/download/custom_lazarus_svn_version_1024x768.tar.gz

Good luck! :)

Thx to all.

-- 
Silvio Clécio
===
Blog - silvioprog.com.br
Twitter - twitter.com/silvioprog
LazSolutions - code.google.com/p/lazsolutions
Lazarus-BR - groups.google.com.br/group/lazarus-br?hl=pt-BR
===
   * Conheça nosso canal IRC sobre Lazarus: #lazarus-br *
===

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


Re: [Lazarus] Lazarus manager - Linux

2011-06-04 Thread Marco van de Voort
On Fri, Jun 03, 2011 at 07:38:17PM +0200, Mattias Gaertner wrote:
  sudo make install PREFIX=/usr PP=~/fpc/compiler/ppc386
  
  This because otherwise you install with the version of the globally
  installed compiler instead of the just built one, potentially overwriting a
  stable (2.4.4) with an unstable (2.4.5)
 
 Has something changed? A make install should just install files.

Since the parameter -i emerged. A long, long time ago :-)

: Since
 when does it need a compiler for that?

The compiler is used to retrieve cpu, operating system and version. 

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


Re: [Lazarus] Lazarus manager - Linux

2011-06-03 Thread Marco van de Voort
On Thu, Jun 02, 2011 at 10:41:11PM +0200, Mattias Gaertner wrote:
  
  Now is OK! :)
 
 Yes, if it does what you expect.

I would make the 

sudo make install PREFIX=/usr

line

something like 

sudo make install PREFIX=/usr PP=~/fpc/compiler/ppc386

This because otherwise you install with the version of the globally
installed compiler instead of the just built one, potentially overwriting a
stable (2.4.4) with an unstable (2.4.5)

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


Re: [Lazarus] Lazarus manager - Linux

2011-06-03 Thread Mattias Gaertner
On Fri, 3 Jun 2011 17:58:03 +0200
Marco van de Voort mar...@stack.nl wrote:

 On Thu, Jun 02, 2011 at 10:41:11PM +0200, Mattias Gaertner wrote:
   
   Now is OK! :)
  
  Yes, if it does what you expect.
 
 I would make the 
 
 sudo make install PREFIX=/usr
 
 line
 
 something like 
 
 sudo make install PREFIX=/usr PP=~/fpc/compiler/ppc386
 
 This because otherwise you install with the version of the globally
 installed compiler instead of the just built one, potentially overwriting a
 stable (2.4.4) with an unstable (2.4.5)

Has something changed? A make install should just install files. Since
when does it need a compiler for that?

Mattias

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


Re: [Lazarus] Lazarus manager - Linux

2011-06-02 Thread silvioprog
Hi friends,

Problem solved! Link to solution:

http://lists.lazarus.freepascal.org/pipermail/lazarus/2011-June/063612.html

http://lists.lazarus.freepascal.org/pipermail/lazarus/2011-June/063612.htmlThx
guys! :)

-- 
Silvio Clécio
===
Blog - silvioprog.com.br
Twitter - twitter.com/silvioprog
LazSolutions - code.google.com/p/lazsolutions
Lazarus-BR - groups.google.com.br/group/lazarus-br?hl=pt-BR
===
   * Conheça nosso canal IRC sobre Lazarus: #lazarus-br *
===
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus manager - Linux

2011-06-02 Thread silvioprog
2011/6/2 silvioprog silviop...@gmail.com

 Hi friends,

 Problem solved! Link to solution:

 http://lists.lazarus.freepascal.org/pipermail/lazarus/2011-June/063612.html


 http://lists.lazarus.freepascal.org/pipermail/lazarus/2011-June/063612.htmlThx
 guys! :)


Hi friends,

Now I need of a script to update my SVN, so, I made this:

http://pastebin.com/UVSHE5K8

This script is correct?

Thx.

-- 
Silvio Clécio
===
Blog - silvioprog.com.br
Twitter - twitter.com/silvioprog
LazSolutions - code.google.com/p/lazsolutions
Lazarus-BR - groups.google.com.br/group/lazarus-br?hl=pt-BR
===
   * Conheça nosso canal IRC sobre Lazarus: #lazarus-br *
===
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus manager - Linux

2011-06-02 Thread silvioprog
2011/6/2 silvioprog silviop...@gmail.com:
 Hi friends,

 Now I need of a script to update my SVN, so, I made this:

 http://pastebin.com/UVSHE5K8

Sorry... this is correct (with ./ in lazbuild):

http://pastebin.com/CvEmgFXf

 This script is correct?

 Thx.

-- 
Silvio Clécio
===
Blog - silvioprog.com.br
Twitter - twitter.com/silvioprog
LazSolutions - code.google.com/p/lazsolutions
Lazarus-BR - groups.google.com.br/group/lazarus-br?hl=pt-BR
===
   * Conheça nosso canal IRC sobre Lazarus: #lazarus-br *
===
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus manager - Linux

2011-06-02 Thread Mattias Gaertner
On Thu, 2 Jun 2011 15:04:24 -0300
silvioprog silviop...@gmail.com wrote:

 2011/6/2 silvioprog silviop...@gmail.com:
  Hi friends,
 
  Now I need of a script to update my SVN, so, I made this:
 
  http://pastebin.com/UVSHE5K8
 
 Sorry... this is correct (with ./ in lazbuild):
 
 http://pastebin.com/CvEmgFXf
 
  This script is correct?

You compile a new fpc, but don't install it. Intended?


Mattias

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


Re: [Lazarus] Lazarus manager - Linux

2011-06-02 Thread silvioprog
2011/6/2 Mattias Gaertner nc-gaert...@netcologne.de:
 You compile a new fpc, but don't install it. Intended?

Yes. I changed my install script to:

http://pastebin.com/N0smK2x0

This script is correct now? :/

And I chaged my update script too, see:

http://pastebin.com/JMLqFVD6

It's OK? ...:/

Thanks Mattias.

 Mattias

-- 
Silvio Clécio
===
Blog - silvioprog.com.br
Twitter - twitter.com/silvioprog
LazSolutions - code.google.com/p/lazsolutions
Lazarus-BR - groups.google.com.br/group/lazarus-br?hl=pt-BR
===
   * Conheça nosso canal IRC sobre Lazarus: #lazarus-br *
===
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus manager - Linux

2011-06-02 Thread silvioprog
2011/6/2 silvioprog silviop...@gmail.com:
[...]
 And I chaged my update script too, see:
 http://pastebin.com/JMLqFVD6

Sorry, the correct link is:

http://pastebin.com/4Qs5C7J8

 It's OK? ...:/

 Thanks Mattias.

 Mattias

-- 
Silvio Clécio
===
Blog - silvioprog.com.br
Twitter - twitter.com/silvioprog
LazSolutions - code.google.com/p/lazsolutions
Lazarus-BR - groups.google.com.br/group/lazarus-br?hl=pt-BR
===
   * Conheça nosso canal IRC sobre Lazarus: #lazarus-br *
===
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus manager - Linux

2011-06-02 Thread Mattias Gaertner
On Thu, 2 Jun 2011 16:21:18 -0300
silvioprog silviop...@gmail.com wrote:

 2011/6/2 Mattias Gaertner nc-gaert...@netcologne.de:
  You compile a new fpc, but don't install it. Intended?
 
 Yes. I changed my install script to:
 
 http://pastebin.com/N0smK2x0
 
 This script is correct now? :/
 
 And I chaged my update script too, see:
 
 http://pastebin.com/JMLqFVD6
 
 It's OK? ...:/

The PP=... is not needed.

Mattias

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


Re: [Lazarus] Lazarus manager - Linux

2011-06-02 Thread Mattias Gaertner
On Thu, 2 Jun 2011 21:44:48 +0200
Mattias Gaertner nc-gaert...@netcologne.de wrote:

 On Thu, 2 Jun 2011 16:21:18 -0300
 silvioprog silviop...@gmail.com wrote:
 
  2011/6/2 Mattias Gaertner nc-gaert...@netcologne.de:
   You compile a new fpc, but don't install it. Intended?
  
  Yes. I changed my install script to:
  
  http://pastebin.com/N0smK2x0
  
  This script is correct now? :/
  
  And I chaged my update script too, see:
  
  http://pastebin.com/JMLqFVD6
  
  It's OK? ...:/
 
 The PP=... is not needed.

And the second t in Updatting is not needed as well.

Mattias

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


Re: [Lazarus] Lazarus manager - Linux

2011-06-02 Thread silvioprog
2011/6/2 Mattias Gaertner nc-gaert...@netcologne.de:
[...]
 The PP=... is not needed.

 And the second t in Updatting is not needed as well.

 Mattias

OK, that's my final script:

http://pastebin.com/1Cskhf4Y

It's OK?

Thx. :)

-- 
Silvio Clécio
===
Blog - silvioprog.com.br
Twitter - twitter.com/silvioprog
LazSolutions - code.google.com/p/lazsolutions
Lazarus-BR - groups.google.com.br/group/lazarus-br?hl=pt-BR
===
   * Conheça nosso canal IRC sobre Lazarus: #lazarus-br *
===
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus manager - Linux

2011-06-02 Thread Mattias Gaertner
On Thu, 2 Jun 2011 16:52:17 -0300
silvioprog silviop...@gmail.com wrote:

 2011/6/2 Mattias Gaertner nc-gaert...@netcologne.de:
 [...]
  The PP=... is not needed.
 
  And the second t in Updatting is not needed as well.
 
  Mattias
 
 OK, that's my final script:
 
 http://pastebin.com/1Cskhf4Y
 
 It's OK?

No. Only in 99% it is enough to do a lazbuild --build-ide=.
After updating Lazarus svn you should do a 'make clean all'. This is
the only guaranteed way that handles all changes - like fixes to
lazbuild and renaming of packages.

make clean all
./lazbuild --build-ide=


Mattias

P.S. your script does not support multiple installations.

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


Re: [Lazarus] Lazarus manager - Linux

2011-06-02 Thread silvioprog
2011/6/2 Mattias Gaertner nc-gaert...@netcologne.de:
[...]
 No. Only in 99% it is enough to do a lazbuild --build-ide=.
 After updating Lazarus svn you should do a 'make clean all'. This is
 the only guaranteed way that handles all changes - like fixes to
 lazbuild and renaming of packages.

 make clean all
 ./lazbuild --build-ide=

 Mattias

 P.S. your script does not support multiple installations.

OK. This is my ultimate script (to update):

http://pastebin.com/qjqPJDqr

Now is OK! :)

Thanks again. ;)

-- 
Silvio Clécio
===
Blog - silvioprog.com.br
Twitter - twitter.com/silvioprog
LazSolutions - code.google.com/p/lazsolutions
Lazarus-BR - groups.google.com.br/group/lazarus-br?hl=pt-BR
===
   * Conheça nosso canal IRC sobre Lazarus: #lazarus-br *
===

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


Re: [Lazarus] Lazarus manager - Linux

2011-06-02 Thread Mattias Gaertner
On Thu, 2 Jun 2011 17:21:32 -0300
silvioprog silviop...@gmail.com wrote:

 2011/6/2 Mattias Gaertner nc-gaert...@netcologne.de:
 [...]
  No. Only in 99% it is enough to do a lazbuild --build-ide=.
  After updating Lazarus svn you should do a 'make clean all'. This is
  the only guaranteed way that handles all changes - like fixes to
  lazbuild and renaming of packages.
 
  make clean all
  ./lazbuild --build-ide=
 
  Mattias
 
  P.S. your script does not support multiple installations.
 
 OK. This is my ultimate script (to update):
 
 http://pastebin.com/qjqPJDqr

Note:
The build-all and recursive is not needed, because you did a make
clean before.
They may be needed for third party packages, that are not configured
properly (for example if some units were not added to the lpk).

 
 Now is OK! :)

Yes, if it does what you expect.


Mattias

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


Re: [Lazarus] Lazarus manager - Linux

2011-05-31 Thread silvioprog
Hi,

So friends, this is my alpha script:


http://pastebin.com/CrVWkDPm

So, the line 70 (#sudo make install PREFIX=/usr
PP=/usr/lib/fpc/2.5.1/ppc386) isn't necessary, correct?

Thx.

-- 
Silvio Clécio
===
Blog - silvioprog.com.br
Twitter - twitter.com/silvioprog
LazSolutions - code.google.com/p/lazsolutions
Lazarus-BR - groups.google.com.br/group/lazarus-br?hl=pt-BR
===
   * Conheça nosso canal IRC sobre Lazarus: #lazarus-br *
===
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus manager - Linux

2011-05-31 Thread Mattias Gaertner
On Tue, 31 May 2011 13:20:08 -0300
silvioprog silviop...@gmail.com wrote:

 Hi,
 
 So friends, this is my alpha script:
 
 
 http://pastebin.com/CrVWkDPm
 
 So, the line 70 (#sudo make install PREFIX=/usr
 PP=/usr/lib/fpc/2.5.1/ppc386) isn't necessary, correct?

Yes.
You should add a 
set -e
to stop on errors.

And you can combine apt-get to
apt-get install -y fpc subversion

Mattias

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


Re: [Lazarus] Lazarus manager - Linux

2011-05-31 Thread Mattias Gaertner
On Tue, 31 May 2011 13:54:01 -0300
silvioprog silviop...@gmail.com wrote:

 2011/5/31 Mattias Gaertner nc-gaert...@netcologne.de:
  Yes.
  You should add a
  set -e
  to stop on errors.
 
 Where? In Make?

No, at the beginning of your script.

#!/bin/sh
# Script by silvioprog - http://silvioprog.com.br
set -e


Mattias

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


Re: [Lazarus] Lazarus manager - Linux

2011-05-31 Thread silvioprog
2011/5/31 Mattias Gaertner nc-gaert...@netcologne.de:
 No, at the beginning of your script.

 #!/bin/sh
 # Script by silvioprog - http://silvioprog.com.br
 set -e

Perfect!

I'll test the script again in other VMs (Ubuntu 10.04, 10.10,
11.04...). When I finish I will share the script in SVN of Lazarus-BR:
http://code.google.com/p/lazarus-br/.

Thx again.

 Mattias

-- 
Silvio Clécio
===
Blog - silvioprog.com.br
Twitter - twitter.com/silvioprog
LazSolutions - code.google.com/p/lazsolutions
Lazarus-BR - groups.google.com.br/group/lazarus-br?hl=pt-BR
===
   * Conheça nosso canal IRC sobre Lazarus: #lazarus-br *
===
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus manager - Linux

2011-05-27 Thread Graeme Geldenhuys
On 26/05/2011 21:25, Kjow wrote:
 
 Which way to follow to stay everytime updated?


Use the following repository URL instead.

  http://svn.freepascal.org/svn/fpc/branches/fixes_2_4

A 'svn up' will keep you updated for all FPC 2.4.x releases and latest
fixes.



Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/


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


Re: [Lazarus] Lazarus manager - Linux

2011-05-27 Thread silvioprog
I think about trying the following steps:

1. Installing Free Pascal from repository;
2. Download the sources from the Free Pascal 2.5.1 (via SVN);
3. Compile and install FPC-2.5.1;
4. Uninstall old Free Pascal;
5. Download and install the Lazarus from SVN;

Am I right? :/

Thx.

-- 
Silvio Clécio
===
Blog - silvioprog.com.br
Twitter - twitter.com/silvioprog
LazSolutions - code.google.com/p/lazsolutions
Lazarus-BR - groups.google.com.br/group/lazarus-br?hl=pt-BR
===
   * Conheça nosso canal IRC sobre Lazarus: #lazarus-br *
===
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus manager - Linux

2011-05-27 Thread Mattias Gaertner
On Fri, 27 May 2011 09:42:07 -0300
silvioprog silviop...@gmail.com wrote:

 I think about trying the following steps:
 
 1. Installing Free Pascal from repository;
 2. Download the sources from the Free Pascal 2.5.1 (via SVN);
 3. Compile and install FPC-2.5.1;

If you use make install INSTALL_PREFIX=/usr you have to fix the
symlink:
ln -sf /usr/lib/fpc/2.5.1/ppc386 /usr/bin/ppc386


 4. Uninstall old Free Pascal;
 5. Download and install the Lazarus from SVN;
 
 Am I right? :/

Yes.
You may have to install the development packages of gtk2
before building the gtk2 version of the IDE.

Mattias

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


Re: [Lazarus] Lazarus manager - Linux

2011-05-26 Thread Marco van de Voort
On Wed, May 25, 2011 at 11:13:14PM +0200, Kjow wrote:
 2011/5/25 Marco van de Voort mar...@stack.nl:
  2.4.2 is old. ( :-) )
 
 I can't catch the irony :)
 Current stable svn is 2.4.2

The _FPC_ stable branch is currently the 2.4.x series.

The version of the stable branch is 2.4.5, the last release of the stable
branch is 2.4.4

 This morning update:
 Lazarus 0.9.30 r30895M FPC 2.4.2 i386-win32-win32/win64

That's still packing the old compiler, yes :-)

2.4.2 and 2.4.4 are mostly compatible btw, there are only very few compiler
fixes to 2.4.4. Most is libraries.

But I'm just teasing, I'm sure in due time lazarus/stable will migrate to
2.4.4

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


Re: [Lazarus] Lazarus manager - Linux

2011-05-26 Thread Kjow
2011/5/26 Marco van de Voort mar...@stack.nl:
 The _FPC_ stable branch is currently the 2.4.x series.

 The version of the stable branch is 2.4.5, the last release of the stable
 branch is 2.4.4

 This morning update:
 Lazarus 0.9.30 r30895M FPC 2.4.2 i386-win32-win32/win64

 That's still packing the old compiler, yes :-)

 2.4.2 and 2.4.4 are mostly compatible btw, there are only very few compiler
 fixes to 2.4.4. Most is libraries.

 But I'm just teasing, I'm sure in due time lazarus/stable will migrate to
 2.4.4

so if i download the first time from:
svn co http://svn.freepascal.org/svn/fpc/tags/release_2_4_2 fpc

and then I update with a simple: svn up is not enough?

Which way to follow to stay everytime updated?

Thanks :)

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


Re: [Lazarus] Lazarus manager - Linux

2011-05-25 Thread Marco van de Voort
On Tue, May 24, 2011 at 03:30:25PM +0200, Kjow wrote:
 fpc/lazarus revisions.
 silvioprog has problem with 2.5.1 trunk, not 2.4.2 that is installed
 with these scripts.

2.4.2 is old. ( :-) )

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


Re: [Lazarus] Lazarus manager - Linux

2011-05-25 Thread Kjow
2011/5/25 Marco van de Voort mar...@stack.nl:
 2.4.2 is old. ( :-) )

I can't catch the irony :)
Current stable svn is 2.4.2

This morning update:
Lazarus 0.9.30 r30895M FPC 2.4.2 i386-win32-win32/win64

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


Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread Graeme Geldenhuys
On 23/05/2011 21:55, Mattias Gaertner wrote:
 
 I wonder how you found this page. The Wiki says that no page links to
 this page.


Well, at least it appears under the Lazarus category


  http://wiki.lazarus.freepascal.org/Category:Lazarus


But yes, I have never seen that page either. The joys of a wiki - it's
only as good as its internal links.  :-)


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/


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


Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread silvioprog
2011/5/23 Mattias Gaertner nc-gaert...@netcologne.de:
 I wonder how you found this page. The Wiki says that no page links to
 this page.

Oh :o , but it's there, see: http://imagebin.org/154790.

 The recommended way is to use the svn versions.

 See here:
 http://wiki.lazarus.freepascal.org/Getting_Lazarus

I've tried following this tutorial, but unsuccessfully. :(

Thx.

 Mattias

-- 
Silvio Clécio
===
Blog - silvioprog.com.br
Twitter - twitter.com/silvioprog
LazSolutions - code.google.com/p/lazsolutions
Lazarus-BR - groups.google.com.br/group/lazarus-br?hl=pt-BR
===
   * Conheça nosso canal IRC sobre Lazarus: #lazarus-br *
===
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread Mattias Gaertner
 
 

 silvioprog silviop...@gmail.com hat am 24. Mai 2011 um 13:07 geschrieben:

  2011/5/23 Mattias Gaertner nc-gaert...@netcologne.de:
   I wonder how you found this page. The Wiki says that no page links to
   this page.
 
  Oh :o , but it's there, see: http://imagebin.org/154790. 
Yes, the page is still there, but it is outdated, not maintained, abandoned.
That's why nothing links to it. Is there still anything useful in it? Maybe it's
time to remove it.
 
 

 
   The recommended way is to use the svn versions.
  
   See here:
   http://wiki.lazarus.freepascal.org/Getting_Lazarus
 
  I've tried following this tutorial, but unsuccessfully. :(
 Why? What fails?
 Maybe the page can be improved.


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


Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread Kjow
2011/5/24 Mattias Gaertner nc-gaert...@netcologne.de:
 Yes, the page is still there, but it is outdated, not maintained, abandoned.
 That's why nothing links to it. Is there still anything useful in it? Maybe
 it's time to remove it.

The page is not outdated, and they works perfectly with stable
fpc/lazarus revisions.
silvioprog has problem with 2.5.1 trunk, not 2.4.2 that is installed
with these scripts.

Just two days ago I used the linux scripts on Ubuntu 11.04 x86 and it
worked like a charm.
Same thing on Windows 7 Home Premium (but I had to add FPC path before
first reboot).

Regards,
Kjow

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


Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread Alexsander Rosa
My suggestion for the release version is:
http://sourceforge.net/projects/lazarus/files/

It detects your OS and suggests a direct download:
lazarus-0.9.30-i386.deb.tar under Linux
lazarus-0.9.30-fpc-2.4.2-win32.exe under WinXP

2011/5/24 Kjow antispamm...@gmail.com

 2011/5/24 Mattias Gaertner nc-gaert...@netcologne.de:
  Yes, the page is still there, but it is outdated, not maintained,
 abandoned.
  That's why nothing links to it. Is there still anything useful in it?
 Maybe
  it's time to remove it.

 The page is not outdated, and they works perfectly with stable
 fpc/lazarus revisions.
 silvioprog has problem with 2.5.1 trunk, not 2.4.2 that is installed
 with these scripts.

 Just two days ago I used the linux scripts on Ubuntu 11.04 x86 and it
 worked like a charm.
 Same thing on Windows 7 Home Premium (but I had to add FPC path before
 first reboot).

 Regards,
 Kjow

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




-- 
Atenciosamente,
Alexsander da Rosa
http://rednaxel.com
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread Kjow
2011/5/24 Alexsander Rosa alexsander.r...@gmail.com:
 My suggestion for the release version is:
 http://sourceforge.net/projects/lazarus/files/

 It detects your OS and suggests a direct download:
 lazarus-0.9.30-i386.deb.tar under Linux
 lazarus-0.9.30-fpc-2.4.2-win32.exe under WinXP

With these scripts I have everyday latest svn revisions, automatically
(just start PCs or running manually script) compiled for my pc.

Kjow

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


Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread silvioprog
2011/5/24 Mattias Gaertner nc-gaert...@netcologne.de:
[...]
 Why? What fails?
 Maybe the page can be improved.

This information is to install the Lazarus via repository, and I need
via to install via SVN.

 Mattias

-- 
Silvio Clécio
===
Blog - silvioprog.com.br
Twitter - twitter.com/silvioprog
LazSolutions - code.google.com/p/lazsolutions
Lazarus-BR - groups.google.com.br/group/lazarus-br?hl=pt-BR
===
   * Conheça nosso canal IRC sobre Lazarus: #lazarus-br *
===
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread silvioprog
2011/5/24 Kjow antispamm...@gmail.com:
[...]
 Just two days ago I used the linux scripts on Ubuntu 11.04 x86 and it
 worked like a charm.

How do you configure the script to install FPC-2.5.1?

 Regards,
 Kjow

-- 
Silvio Clécio
===
Blog - silvioprog.com.br
Twitter - twitter.com/silvioprog
LazSolutions - code.google.com/p/lazsolutions
Lazarus-BR - groups.google.com.br/group/lazarus-br?hl=pt-BR
===
   * Conheça nosso canal IRC sobre Lazarus: #lazarus-br *
===
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread silvioprog
2011/5/24 Alexsander Rosa alexsander.r...@gmail.com:
 My suggestion for the release version is:
 http://sourceforge.net/projects/lazarus/files/

 It detects your OS and suggests a direct download:
 lazarus-0.9.30-i386.deb.tar under Linux
 lazarus-0.9.30-fpc-2.4.2-win32.exe under WinXP

I need:

FPC-2.5.1
Laz-0.9.31

-- 
Silvio Clécio
===
Blog - silvioprog.com.br
Twitter - twitter.com/silvioprog
LazSolutions - code.google.com/p/lazsolutions
Lazarus-BR - groups.google.com.br/group/lazarus-br?hl=pt-BR
===
   * Conheça nosso canal IRC sobre Lazarus: #lazarus-br *
===
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread silvioprog
I don't need OpenGL, and neither of cross-compile, so, what lines I
remove from the script?

My script (fail in sudo alien -i -c
/home/$NAME/fpc_tools/fpc_setup/fpc-$FPCVER-1.i686.rpm):

http://pastebin.com/57jeNpLm

Thx.

ps. Sorry for my translation.

-- 
Silvio Clécio
===
Blog - silvioprog.com.br
Twitter - twitter.com/silvioprog
LazSolutions - code.google.com/p/lazsolutions
Lazarus-BR - groups.google.com.br/group/lazarus-br?hl=pt-BR
===
   * Conheça nosso canal IRC sobre Lazarus: #lazarus-br *
===
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread Kjow
2011/5/24 silvioprog silviop...@gmail.com:
 How do you configure the script to install FPC-2.5.1?

 Regards,
 Kjow

I tried with 2.5.1 + 0.9.31 long time ago, so I don't really know if
there are problems actually, but if you open the script with an editor
you can find all you need. E.g.:

From row #16:
/---/
#swap -- swap # of the two rows below to choose between FPC 2.4.2 and
2.5.1 and go to line 53 --
FPCVER=2.4.2
#FPCVER=2.5.1
/---/

should became:

/---/
#swap -- swap # of the two rows below to choose between FPC 2.4.2 and
2.5.1 and go to line 53 --
#FPCVER=2.4.2
FPCVER=2.5.1
/---/

Then goto row #53 and then:

From:

/---/
#swap -- swap REM of the two rows below to choose between FPC 2.4.2
and 2.5.1 and go to line 71 --
svn co http://svn.freepascal.org/svn/fpc/tags/release_2_4_2 fpc
#svn co http://svn.freepascal.org/svn/fpc/trunk fpc
/---/

To:

/---/
#swap -- swap REM of the two rows below to choose between FPC 2.4.2
and 2.5.1 and go to line 71 --
#svn co http://svn.freepascal.org/svn/fpc/tags/release_2_4_2 fpc
svn co http://svn.freepascal.org/svn/fpc/trunk fpc
/---/

Then goto row 71, etc...


Regards,
Kjow

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


Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread Kjow
2011/5/24 silvioprog silviop...@gmail.com:
 I don't need OpenGL, and neither of cross-compile, so, what lines I
 remove from the script?

 My script (fail in sudo alien -i -c
 /home/$NAME/fpc_tools/fpc_setup/fpc-$FPCVER-1.i686.rpm):

 http://pastebin.com/57jeNpLm

 Thx.

 ps. Sorry for my translation.

Cross compiling is deeply integrated to the script, it needs too
modifies. To do not download GLScene just comment it.

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


Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread silvioprog
2011/5/24 Kjow antispamm...@gmail.com:
 Cross compiling is deeply integrated to the script, it needs too
 modifies. To do not download GLScene just comment it.

I'll make the modification in the script and post here...

-- 
Silvio Clécio
===
Blog - silvioprog.com.br
Twitter - twitter.com/silvioprog
LazSolutions - code.google.com/p/lazsolutions
Lazarus-BR - groups.google.com.br/group/lazarus-br?hl=pt-BR
===
   * Conheça nosso canal IRC sobre Lazarus: #lazarus-br *
===
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread Mattias Gaertner
On Tue, 24 May 2011 15:30:25 +0200
Kjow antispamm...@gmail.com wrote:

 2011/5/24 Mattias Gaertner nc-gaert...@netcologne.de:
  Yes, the page is still there, but it is outdated, not maintained, abandoned.
  That's why nothing links to it. Is there still anything useful in it? Maybe
  it's time to remove it.
 
 The page is not outdated, and they works perfectly with stable
 fpc/lazarus revisions.

I'm glad to hear that :)


 silvioprog has problem with 2.5.1 trunk, not 2.4.2 that is installed
 with these scripts.
 
 Just two days ago I used the linux scripts on Ubuntu 11.04 x86 and it
 worked like a charm.
 Same thing on Windows 7 Home Premium (but I had to add FPC path before
 first reboot).


Mattias

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


Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread Mattias Gaertner
On Tue, 24 May 2011 15:09:43 -0300
silvioprog silviop...@gmail.com wrote:

 2011/5/24 Mattias Gaertner nc-gaert...@netcologne.de:
 [...]
  Why? What fails?
  Maybe the page can be improved.
 
 This information is to install the Lazarus via repository, and I need
 via to install via SVN.

Huh?
The page is about installing via svn.
http://wiki.lazarus.freepascal.org/Getting_Lazarus

Maybe you confused it with the page about installing from repository:
http://wiki.lazarus.freepascal.org/Installing_Lazarus

Mattias

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


Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread silvioprog
2011/5/24 Kjow antispamm...@gmail.com:
 Cross compiling is deeply integrated to the script, it needs too
 modifies. To do not download GLScene just comment it.

So, without sucess again. See my script here: http://pastebin.com/gD5pKF2g

I removed binutils.

Link in line 56 not exists. :(

-- 
Silvio Clécio
===
Blog - silvioprog.com.br
Twitter - twitter.com/silvioprog
LazSolutions - code.google.com/p/lazsolutions
Lazarus-BR - groups.google.com.br/group/lazarus-br?hl=pt-BR
===
   * Conheça nosso canal IRC sobre Lazarus: #lazarus-br *
===
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread silvioprog
2011/5/24 Mattias Gaertner nc-gaert...@netcologne.de:
 Huh?
 The page is about installing via svn.
 http://wiki.lazarus.freepascal.org/Getting_Lazarus

 Maybe you confused it with the page about installing from repository:
 http://wiki.lazarus.freepascal.org/Installing_Lazarus

 Mattias

In session ...A file with all sources, or two (FPC and Lazarus) {
http://wiki.lazarus.freepascal.org/Installing_Lazarus#Installing_Free_Pascal_under_Linux.2FBSD_manually
} the link ftp://ftp.freepascal.org/fpc/dist/Linux/separate/sources.tar;
not works.

Install lazarus and fpc via svn in ubuntu is very complex. :S

-- 
Silvio Clécio
===
Blog - silvioprog.com.br
Twitter - twitter.com/silvioprog
LazSolutions - code.google.com/p/lazsolutions
Lazarus-BR - groups.google.com.br/group/lazarus-br?hl=pt-BR
===
   * Conheça nosso canal IRC sobre Lazarus: #lazarus-br *
===

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


Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread Alexsander Rosa
1. apt-get install subversion

2. svn co http://svn.freepascal.org/svn/fpc/trunk fpc
Follow instructions from:
http://wiki.lazarus.freepascal.org/Getting_Lazarus#Building_and_installing_Free_Pascal_in_UNIXe

3. svn co http://svn.freepascal.org/svn/lazarus/trunk lazarus
Compile with make clean all

Source: http://wiki.lazarus.freepascal.org/Getting_Lazarus

2011/5/24 silvioprog silviop...@gmail.com


 Install lazarus and fpc via svn in ubuntu is very complex. :S

 --
 Silvio Clécio



-- 
Atenciosamente,
Alexsander da Rosa
http://rednaxel.com
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread Kjow
2011/5/24 silvioprog silviop...@gmail.com:
 2011/5/24 Kjow antispamm...@gmail.com:
 So, without sucess again. See my script here: http://pastebin.com/gD5pKF2g

 I removed binutils.

 Link in line 56 not exists. :(

If you don't see at lines 16,17,18 like this:

#swap -- swap # of the two rows below to choose between FPC 2.4.2 and
2.5.1 and go to line 53 --
FPCVER=2.4.2
#FPCVER=2.5.1

You have an old/bad version.
Try to redownload it...

But I repeat, I don't know if the script is fully working with fpc
2.5.1 and laz 0.9.31.
For your knowledge, you can try to install all with original script
(so fpc 2.4.2+laz 0.9.31 and binutils). If it works, delete all
installed things and try to install all step by step with 2.5.1
settings (you can do a simple copy and paste on terminal)

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


Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread Mattias Gaertner
On Tue, 24 May 2011 16:46:37 -0300
silvioprog silviop...@gmail.com wrote:

 2011/5/24 Mattias Gaertner nc-gaert...@netcologne.de:
  Huh?
  The page is about installing via svn.
  http://wiki.lazarus.freepascal.org/Getting_Lazarus
 
  Maybe you confused it with the page about installing from repository:
  http://wiki.lazarus.freepascal.org/Installing_Lazarus
 
  Mattias
 
 In session ...A file with all sources, or two (FPC and Lazarus) {
 http://wiki.lazarus.freepascal.org/Installing_Lazarus#Installing_Free_Pascal_under_Linux.2FBSD_manually
 } the link ftp://ftp.freepascal.org/fpc/dist/Linux/separate/sources.tar;
 not works.

Hmm, this page is a big mess.
Ok, you are right, the Getting Lazarus page contains the hints for
installing binaries as well.
The Installing Lazarus should be renamed/splitted. It's confusing,
but maybe parts can be used.

 Install lazarus and fpc via svn in ubuntu is very complex. :S

Actually it's easy:
First install the standard ubuntu package of Lazarus. This will install
all dependencies.
Then follow the instructions on the Getting Lazarus page: download the
fpc, compile it and install it. Download lazarus svn, compile it, but
do not install it. Start the new lazarus.


Mattias

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


Re: [Lazarus] Lazarus manager - Linux

2011-05-23 Thread Mattias Gaertner
On Mon, 23 May 2011 15:47:59 -0300
silvioprog silviop...@gmail.com wrote:

 Hi.
 
 The scrips avaliable in
 http://wiki.lazarus.freepascal.org/Lazarus_Manager; are not
 compatible with FPC-2.5.1 on Linux.

I wonder how you found this page. The Wiki says that no page links to
this page.

 
 What is the best step to install the FPC-2.5.1 and Lazarus-0.9.31 on
 Ubuntu (11.04)?

The recommended way is to use the svn versions.

See here:
http://wiki.lazarus.freepascal.org/Getting_Lazarus


Mattias

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


Re: [Lazarus] Lazarus Manager

2010-10-16 Thread Kjow
2010/10/16 Joshua Lim joshua__...@hotmail.com:
 Hi Kjow, there are some free choice for download from the Internet, but I
 think they are not fully compatible with windows choice.  I didn't try more
 as it is risky to run files downloaded from the internet. ;)
 Finally, I copied the choice from my Windows 2003 server, and that one
 worked.

 Rgds,
 Joshua

Hi Joshua,
So, now the script is fully working?

Regards,
Kjow

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


Re: [Lazarus] Lazarus Manager

2010-10-16 Thread Joshua Lim

Hi Kjow,

No, it's not working, even though the installation ran right till the 
end.  But after that, I discovered that \Develop\Lazarus\ folder did not 
exist.


Rgds,
Joshua


Kjow wrote:

2010/10/16 Joshua Lim joshua__...@hotmail.com:
  

Hi Kjow, there are some free choice for download from the Internet, but I
think they are not fully compatible with windows choice.  I didn't try more
as it is risky to run files downloaded from the internet. ;)
Finally, I copied the choice from my Windows 2003 server, and that one
worked.

Rgds,
Joshua



Hi Joshua,
So, now the script is fully working?

Regards,
Kjow


  



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


Re: [Lazarus] Lazarus Manager

2010-10-15 Thread Kjow
2010/10/13 Frank Church vfcli...@gmail.com:
 I have tried it on Windows 2008 and it worked - the only issue I had was
 having to reboot it in order to set the path as requested, I think that can
 be done without rebooting.

 You've probably got some extra homework with the batch file.

 Any way post Windows Vista the capability of the batch scripting has
 improved.

Thank you for the feedback :)
When I try to set a path on the batch, the path I added will remain
configured until the batch is in execution.
So, seeing it is needed only for the first time, I didn't spend other
time on it... maybe for the next revision, if I'll find a way to do
this... :)

Kjow

PS the first reboot is needed to make working FPC paths (I mean after
fpc installation)

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


Re: [Lazarus] Lazarus Manager

2010-10-15 Thread Kjow
2010/10/14 Joshua Lim joshua__...@hotmail.com:
 Hi Kjow, the attachment got filtered, so i'll post the top part here:

 set OLDDIR=%CD%
 set PATHDEST=D:\Develop
 set PATH=%PATH%;%PATHDEST%\fpc\binutils\
 set OLDPATH=%PATH%
 set SVN=Slik-Subversion-1.6.12-win32.msi
 set FPCURL=http://downloads.sourceforge.net/project/freepascal/Win32/2.4.0
 set FPCNAME=fpc-2.4.0.i386-win32.exe

 Joshua Lim wrote:

 Hi Kjow,

 Thanks for your kind work.  As someone with no experience with SVN (i
 tried turtle SVN on another Laz wiki page w/o success), your batch script
 appears to be my only solution.

 So yesterday, I've tried the windows batch script on my XP PC, there were
 a couple of hiccups like CHOICE not found, but in the end, the script ran
 till the end.  Briefly, the script installed FPC2.4.0, Slik SVN, restarted
 windows, I ran the batch again, it downloaded lots of files (which took more
 than an hour, so I left the PC running and went to bed).  The next day, I
 saw the following screen.  However,  D:\Develop\Lazarus\ folder did not
 exist so the installation failed to complete.

 The last screen of the batch was:-

 BEFORE start first time Lazarus, remember to add to the System PATH:
 D:\Develop\fpc\2.4.0\
 D:\Develop\fpc\binutils\

 To start Lazarus run:
 D:\Develop\Lazarus\startlazarus.exe

 Nothing else to do. Exit.
 Press any key to continue . . .

 I tried again, press D, and the folders at the end of the installation:

 D:\Develop\fpc\binutils\files here.
 D:\Develop\fpc\2.4.0_org\files here
 D:\Develop\tools\svn_sources\empty here...
 D:\Develop\tools\tools\empty here...

 I also used the following:
 REM svn co http://svn.freepascal.org/svn/fpc/tags/release_2_4_0 fpc
 svn co http://svn.freepascal.org/svn/fpc/trunk fpc

 There's an FI.done file with OK written.

 Just a note for other XP users, XP didn't have choice.exe, so I had to
 copy that from my Windows 2003 Server windows folder.  Before that, I spent
 about half an hour Googling for choice.exe, apparently many of those on the
 Internet are of different version and don't work.

 I've attached the script zipped for your further reference.  I'll be
 deleting all the folders, try again and report the status.

 Rgds,
 Joshua

Thank you too!
There something strange in paths... in my script I setted
C:\Develop, not D:\Develop, do you have edited it?
Teorically, there aren't differences, I tried to make it more
indipendent as possible, but I tested it only with C:\

Other thing:
When is requested to install FPC, I write as console output that FPC
must be installed on: %PATHDEST%\fpc\2.4.0 do you do this?

About CHOICE, I just read that something changed with Vista/7 from
XP... there could be a problem if it's not possible to use the Vista/7
version in XP... I use the scripts on Win7.

However, I'm starting to develop the application... it may take some
time (ever less time), but I'm realizing that also I need it.

Kjow

PS FI.done tells the script that First Installation is Done and it
must execute uptading routines only. Before the first reset, in the
installation process, the script will create a FS.done file that
indicates that First Step is Done and it must execute the
after-first-reboot routines.

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


Re: [Lazarus] Lazarus Manager

2010-10-15 Thread shoKwave

 Hi,

I just looked over your scripts and have some remarks/questions.


Linux-script:

echo Please, enter your account user:
read NAME
There is a variable called $USER. Why not use this?

sudo apt-get install -y cvs
What is this package for? I don't have this installed on my ubuntu and 
you don't use it in your script.


sudo apt-get install -y alien
...
cd /home/$NAME/fpc_tools/fpc_setup
wget -c 
http://mirror.mirimar.net/freepascal/dist/2.4.0/i386-linux/rpm/fpc-2.4.0-1.i386.rpm

..
sudo alien -i -c /home/$NAME/fpc_tools/fpc_setup/fpc-2.4.0-1.i386.rpm
I don't see a reason for installing an application, downloading a 
package and converting them, just to get one binary. Binaries for 
bootstrap can be downloaded from 
ftp://ftp.freepascal.org/pub/fpc/dist/2.4.0/bootstrap/. Or is there 
another reason?


svn co http://svn.freepascal.org/svn/fpc/trunk fpc
cd /home/$NAME/fpc_tools/fpc/
svn up
..
cd /home/$NAME/
svn co http://svn.freepascal.org/svn/lazarus/trunk lazarus
cd /home/$NAME/lazarus/
svn up
Why doing an update after a checkout?


Windows-script:

wget -c %FPCURL%/%FPCNAME% 
--directory-prefix=%PATHDEST%\tools\fpc_setup

...
echo Copy binutils
echo.
C:
copy %PATHDEST%\fpc\2.4.0_org\bin\i386-win32\ar.exe 
%PATHDEST%\fpc\binutils\
copy %PATHDEST%\fpc\2.4.0_org\bin\i386-win32\as.exe 
%PATHDEST%\fpc\binutils\

...
Binaries for bootstrap can be downloaded from 
ftp://ftp.freepascal.org/pub/fpc/dist/2.4.0/bootstrap/ and binutils can 
be downloaded from 
http://svn.freepascal.org/svn/fpcbuild/binaries/i386-win32/.


set PATHDEST=C:\Develop
...
C:
It would be more flexible to use 2 variables e.g. PATHDEST=\Develop 
and DRIVEDEST=C:.


set OLDPATH=%PATH%
...
set PATH=%OLDPATH%;%PATHDEST%\fpc\2.4.0_org\bin\i386-win32\
The PATH can be set with set 
PATH=%PATH%;%PATHDEST%\fpc\2.4.0_org\bin\i386-win32\. There is no need 
for an additional variable.



This were just some things I don't understand why you did it this way. 
Also I'm very low on bandwidth, so I'm looking what's needed to download.


Hope it helps you.

regards
Ingo


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


Re: [Lazarus] Lazarus Manager

2010-10-15 Thread Joshua Lim

Kjow wrote:

There something strange in paths... in my script I setted
C:\Develop, not D:\Develop, do you have edited it?
  

Yes, i'm using D:\ for non installation files.

Teorically, there aren't differences, I tried to make it more
indipendent as possible, but I tested it only with C:\
  

I believe there's no difference.

Other thing:
When is requested to install FPC, I write as console output that FPC
must be installed on: %PATHDEST%\fpc\2.4.0 do you do this?
  

Yes, i end up with:

D:\Develop\fpc\binutils\files here.

D:\Develop\fpc\2.4.0_org\files here
D:\Develop\tools\svn_sources\empty here...
D:\Develop\tools\tools\empty here.



About CHOICE, I just read that something changed with Vista/7 from
XP... there could be a problem if it's not possible to use the Vista/7
version in XP... I use the scripts on Win7.

However, I'm starting to develop the application... it may take some
time (ever less time), but I'm realizing that also I need it.
  
Thanks, I look forward to trying that, you could probably also add an 
install log for easier troubleshooting. 





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


Re: [Lazarus] Lazarus Manager

2010-10-15 Thread Kjow
2010/10/15 shoKwave shokw...@gmx.net:
  Hi,

 I just looked over your scripts and have some remarks/questions.

Thank you very much for these remarks, I didn't know some of these
things (like $USER or binaries for bootstrap).
Other things are junk inherited by old versions (like cvs that was
needed by glscene until a couple of month ago)

About binutils, I want to do in Windows something like in Linux, so I
want compile from sources for cross-compiling.
Ok, in the Windows script I simply reused binutils that I installed
with first FPC.

So, I'll edit the scripts according to your remarks :)

Thank you!
Kjow

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


Re: [Lazarus] Lazarus Manager

2010-10-15 Thread Kjow
2010/10/15 Joshua Lim joshua__...@hotmail.com:
 Thanks, I look forward to trying that, you could probably also add an
 install log for easier troubleshooting.

Let me know if it works when/if you find a choise  xp.

I think I will make the latest changes/improves to the scripts to make
they more stable and then I'll develop only the application

Regards,
Kjow

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


Re: [Lazarus] Lazarus Manager

2010-10-15 Thread Joshua Lim
Hi Kjow, there are some free choice for download from the Internet, 
but I think they are not fully compatible with windows choice.  I didn't 
try more as it is risky to run files downloaded from the internet. ;) 

Finally, I copied the choice from my Windows 2003 server, and that one 
worked.


Rgds,
Joshua


Kjow wrote:

2010/10/15 Joshua Lim joshua__...@hotmail.com:
  

Thanks, I look forward to trying that, you could probably also add an
install log for easier troubleshooting.



Let me know if it works when/if you find a choise  xp.

I think I will make the latest changes/improves to the scripts to make
they more stable and then I'll develop only the application

Regards,
Kjow


  



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


Re: [Lazarus] Lazarus Manager

2010-10-14 Thread Joshua Lim

Hi Kjow, the attachment got filtered, so i'll post the top part here:

set OLDDIR=%CD%
set PATHDEST=D:\Develop
set PATH=%PATH%;%PATHDEST%\fpc\binutils\
set OLDPATH=%PATH%
set SVN=Slik-Subversion-1.6.12-win32.msi
set FPCURL=http://downloads.sourceforge.net/project/freepascal/Win32/2.4.0
set FPCNAME=fpc-2.4.0.i386-win32.exe

Joshua Lim wrote:

Hi Kjow,

Thanks for your kind work.  As someone with no experience with SVN (i 
tried turtle SVN on another Laz wiki page w/o success), your batch 
script appears to be my only solution.


So yesterday, I've tried the windows batch script on my XP PC, there 
were a couple of hiccups like CHOICE not found, but in the end, the 
script ran till the end.  Briefly, the script installed FPC2.4.0, Slik 
SVN, restarted windows, I ran the batch again, it downloaded lots of 
files (which took more than an hour, so I left the PC running and went 
to bed).  The next day, I saw the following screen.  However,  
D:\Develop\Lazarus\ folder did not exist so the installation failed to 
complete.


The last screen of the batch was:-

BEFORE start first time Lazarus, remember to add to the System PATH:
D:\Develop\fpc\2.4.0\
D:\Develop\fpc\binutils\

To start Lazarus run:
D:\Develop\Lazarus\startlazarus.exe

Nothing else to do. Exit.
Press any key to continue . . .

I tried again, press D, and the folders at the end of the installation:

D:\Develop\fpc\binutils\files here.
D:\Develop\fpc\2.4.0_org\files here
D:\Develop\tools\svn_sources\empty here...
D:\Develop\tools\tools\empty here...

I also used the following:
REM svn co http://svn.freepascal.org/svn/fpc/tags/release_2_4_0 fpc
svn co http://svn.freepascal.org/svn/fpc/trunk fpc

There's an FI.done file with OK written.

Just a note for other XP users, XP didn't have choice.exe, so I had to 
copy that from my Windows 2003 Server windows folder.  Before that, I 
spent about half an hour Googling for choice.exe, apparently many of 
those on the Internet are of different version and don't work.


I've attached the script zipped for your further reference.  I'll be 
deleting all the folders, try again and report the status.


Rgds,
Joshua 



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



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


Re: [Lazarus] Lazarus Manager

2010-10-13 Thread Kjow
2010/10/4 Kjow antispamm...@gmail.com:
 Here ( http://wiki.lazarus.freepascal.org/Lazarus_Manager ) I started
 a project to manage Lazarus/FPC installation from svn sources.

I updated the Linux scripts:
http://wiki.lazarus.freepascal.org/Lazarus_Manager
http://wiki.lazarus.freepascal.org/Setup_Cross_Compile_For_ARM
http://forum.lazarus.freepascal.org/index.php/topic,8084.0.html

Kjow

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


Re: [Lazarus] Lazarus Manager

2010-10-13 Thread Frank Church
On 5 October 2010 17:02, Kjow antispamm...@gmail.com wrote:

 2010/10/4 Kjow antispamm...@gmail.com:
  Here ( http://wiki.lazarus.freepascal.org/Lazarus_Manager ) I started

 Anyone tried it?
 I see that there are 6 download at now.


I have tried it on Windows 2008 and it worked - the only issue I had was
having to reboot it in order to set the path as requested, I think that can
be done without rebooting.

You've probably got some extra homework with the batch file.

Any way post Windows Vista the capability of the batch scripting has
improved.


 Kjow

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




-- 
Frank Church

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


Re: [Lazarus] Lazarus Manager

2010-10-05 Thread shoKwave

Am 04.10.2010 18:08, schrieb Kjow:

Hi all,

This eMail is a Spin-Off of mailing Build scripts for Freepascal
and Lazarus compilation from source

Here ( http://wiki.lazarus.freepascal.org/Lazarus_Manager ) I started
a project to manage Lazarus/FPC installation from svn sources.

In the next weeks/month I will port these script to a multiplatform
binary-program.

Please, take it as an hobby... I know that it can be improved a lot
and there are mistake for sure, but I hope that this project will grow
up well :)

Regards,
Kjow

PS A future goal will be implementation of cross-compiling from
win/linux/i386/x64/arm to win/linux/i386/x64/arm, with the right
support is not so hard.

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

   

Hi,

you can have a look at http://svn.lazarusforum.de/svn/lazupdater/trunk .

I started this project some months ago to handle my updates. It can also 
do a checkout of FPC and Lazarus, but doesn't install needed 
dependencies(svn, make, binutils...).
It's not finished yet and there is a lot of space for improvements I 
think. Also documentation and lot of testing has to be done.


Maybe this helps you to reach your goal.

Ingo

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


Re: [Lazarus] Lazarus Manager

2010-10-05 Thread Kjow
2010/10/5 shoKwave shokw...@gmx.net:
 Hi,

 you can have a look at http://svn.lazarusforum.de/svn/lazupdater/trunk .

 I started this project some months ago to handle my updates. It can also do
 a checkout of FPC and Lazarus, but doesn't install needed dependencies(svn,
 make, binutils...).
 It's not finished yet and there is a lot of space for improvements I think.
 Also documentation and lot of testing has to be done.

 Maybe this helps you to reach your goal.

 Ingo

Thanks,  I think it could be usefull to me :)

Kjow

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


Re: [Lazarus] Lazarus Manager

2010-10-05 Thread Kjow
2010/10/4 Kjow antispamm...@gmail.com:
 Here ( http://wiki.lazarus.freepascal.org/Lazarus_Manager ) I started

Anyone tried it?
I see that there are 6 download at now.

Kjow

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


Re: [Lazarus] Lazarus Manager

2010-10-04 Thread Vincent Snijders
2010/10/4 Kjow antispamm...@gmail.com:

 PS A future goal will be implementation of cross-compiling from
 win/linux/i386/x64/arm to win/linux/i386/x64/arm, with the right
 support is not so hard.

I have heard good stories about CodeTyphon:
http://www.pilotlogic.com/sitejoom/index.php?option=com_contentview=articleid=96Itemid=148

Maybe you can take a look at it for inspiration.

Vincent

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


Re: [Lazarus] Lazarus Manager

2010-10-04 Thread Kjow
2010/10/4 Vincent Snijders vincent.snijd...@gmail.com:
 I have heard good stories about CodeTyphon:
 http://www.pilotlogic.com/sitejoom/index.php?option=com_contentview=articleid=96Itemid=148

 Maybe you can take a look at it for inspiration.

 Vincent

Thanks!
A lot of month ago I installed CodeTyphon, but it was not very great
as promised. All cross-compiling from Windows didn't work, only from
win to wince-arm worked... maybe now it is better that some time ago.

I already made the setup for arm-linux from linux and I think I
understood how it works generally. In linux I compile binutils from
sources, so I'll try to make binutils for arm-linux and arm-wince from
windows...

When I'll find time, of course :(

Kjow

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