Sign in Join

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

Mailing lists / lazarus / 2011-05

Lazarus manager - Linux

53 messages · 7 people · –

Reply by email Subscribe to this list Your subscription

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

silvioprog

Hi.

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

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

Thanks for any response.

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 * ===============================================

Reply by email

Graeme Geldenhuys
to Mattias Gaertner
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/

Reply by email

silvioprog
to Mattias Gaertner: On Mon, 23 May 2011 15:47:59 -0300 I wonder how you found this page. The Wiki says that…

2011/5/23 Mattias Gaertner :

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 * ===============================================

Reply by email

Mattias Gaertner
to silvioprog

?
?

silvioprog hat am 24. Mai 2011 um 13:07 geschrieben:

Show quoted text 5 lines
2011/5/23 Mattias Gaertner : > 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.
?
?

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

Reply by email

Kjow
to Mattias Gaertner

2011/5/24 Mattias Gaertner :

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

Reply by email

Alexsander Rosa
to Kjow

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

Show quoted text 26 lines
2011/5/24 Mattias Gaertner : > 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 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Atenciosamente, Alexsander da Rosa http://rednaxel.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110524/63260f27/attachment.html>

Reply by email

silvioprog
to Mattias Gaertner: ? ? silvioprog hat am 24. Mai 2011 um 13:07 geschrieben: Yes, the page is still there,…

2011/5/24 Mattias Gaertner :
[...]

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 * ===============================================

Reply by email

silvioprog
to Kjow: 2011/5/24 Mattias Gaertner : The page is not outdated, and they works perfectly with…

2011/5/24 Kjow :
[...]

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 * ===============================================

Reply by email

silvioprog
to Alexsander Rosa: My suggestion for the release version is: http://sourceforge.net/projects/lazarus/files/…

2011/5/24 Alexsander Rosa :

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

Reply by email

silvioprog
to 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 * ===============================================

Reply by email

Kjow
to silvioprog: 2011/5/24 Kjow : [...] How do you configure the script to install FPC-2.5.1? Silvio Cl?cio

2011/5/24 silvioprog :

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

Reply by email

Kjow
to silvioprog: I don't need OpenGL, and neither of cross-compile, so, what lines I remove from the…

2011/5/24 silvioprog :

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

Reply by email

silvioprog
to Kjow

2011/5/24 Kjow :

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 * ===============================================

Reply by email

Mattias Gaertner
to Kjow: 2011/5/24 Mattias Gaertner : The page is not outdated, and they works perfectly with…
Show quoted text 7 lines
2011/5/24 Mattias Gaertner : > 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 :)

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

Reply by email

Mattias Gaertner
to silvioprog: 2011/5/24 Mattias Gaertner : [...] This information is to install the Lazarus via…
Show quoted text 7 lines
2011/5/24 Mattias Gaertner : [...] > 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

Reply by email

silvioprog
to Kjow: 2011/5/24 silvioprog : Cross compiling is deeply integrated to the script, it needs too…

2011/5/24 Kjow :

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 * ===============================================

Reply by email

silvioprog
to Mattias Gaertner: On Tue, 24 May 2011 15:09:43 -0300 Huh? The page is about installing via svn.…

2011/5/24 Mattias Gaertner :

Show quoted text 8 lines
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 * ===============================================

Reply by email

Alexsander Rosa
to silvioprog

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

Show quoted text 6 lines
Install lazarus and fpc via svn in ubuntu is very complex. :S -- Silvio Cl?cio
Atenciosamente, Alexsander da Rosa http://rednaxel.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110524/51e4eef4/attachment.html>

Reply by email

Kjow
to silvioprog: 2011/5/24 Kjow : So, without sucess again. See my script here:…

2011/5/24 silvioprog :

Show quoted text 6 lines
2011/5/24 Kjow : 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)

Reply by email

Mattias Gaertner
to silvioprog: 2011/5/24 Mattias Gaertner : In session "...A file with all sources, or two (FPC and…
Show quoted text 14 lines
2011/5/24 Mattias Gaertner : > 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

Reply by email

Marco van de Voort
to Kjow
Kjow wrote 5 lines
2011/5/25 Marco van de Voort : > 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

Reply by email

Kjow
to Marco van de Voort

2011/5/26 Marco van de Voort :

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

Reply by email

silvioprog
to silvioprog: 2011/5/23 Mattias Gaertner : Oh :o , but it's there, see: http://imagebin.org/154790.…

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 * ===============================================

Reply by email

Mattias Gaertner
to silvioprog
Show quoted text 5 lines
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

Reply by email

silvioprog
to silvioprog: I think about trying the following steps: 1. Installing Free Pascal from repository; 2.…

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 * ===============================================

Reply by email

silvioprog
to Mattias Gaertner

2011/5/31 Mattias Gaertner :

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

Where? In Make?

See if it's correct:

http://pastebin.com/k3J0AYWc

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

Yes:

(...)
sudo apt-get install -y subversion fpc fp-utils fpc-source fp-units-misc (...)
sudo apt-get remove -y fpc fp-utils fpc-source fp-units-misc fp-* (...)

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 * ===============================================

Reply by email

silvioprog
to Mattias Gaertner

2011/5/31 Mattias Gaertner :

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

Reply by email

silvioprog
to 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.html>Thx 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 * =============================================== -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110602/0fd558cf/attachment.html>

Reply by email

silvioprog
to silvioprog

2011/6/2 silvioprog

Show quoted text 10 lines

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 * =============================================== -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110602/af719466/attachment.html>

Reply by email

silvioprog
to silvioprog

2011/6/2 silvioprog :

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

Reply by email

silvioprog
to Mattias Gaertner

2011/6/2 Mattias Gaertner :

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 * ===============================================

Reply by email

silvioprog
to silvioprog

2011/6/2 silvioprog :
[...]

And I chaged my update script too, see: http://pastebin.com/JMLqFVD6

Sorry, the correct link is:

http://pastebin.com/4Qs5C7J8

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

Reply by email

Mattias Gaertner
to Mattias Gaertner
Show quoted text 19 lines
On Thu, 2 Jun 2011 16:21:18 -0300 silvioprog wrote: > 2011/6/2 Mattias Gaertner : > > 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

Reply by email

silvioprog
to Mattias Gaertner

2011/6/2 Mattias Gaertner :
[...]

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

Reply by email

Mattias Gaertner
to silvioprog
Show quoted text 13 lines
2011/6/2 Mattias Gaertner : [...] >> 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.

Reply by email

silvioprog
to Mattias Gaertner

2011/6/2 Mattias Gaertner :
[...]

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

Reply by email

Mattias Gaertner
to silvioprog
Show quoted text 17 lines
2011/6/2 Mattias Gaertner : [...] > 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

Reply by email

Marco van de Voort
to Mattias Gaertner
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)

Reply by email

Mattias Gaertner
to Marco van de Voort
Show quoted text 19 lines
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

Reply by email

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

To know where to install the units. I have already crushed my 2.4.4 units (default compiler) with 2.5.1 svn units because I forgot to specify the compiler.

Ludo

Reply by email

Mattias Gaertner
to Ludo Brands
Show quoted text 6 lines
> Has something changed? A make install should just install > files. Since when does it need a compiler for that? > To know where to install the units. I have already crushed my 2.4.4 units (default compiler) with 2.5.1 svn units because I forgot to specify the compiler.

This never happened to me. But I used the INSTALL_PREFIX instead of PREFIX. Maybe this makes a difference?

Mattias

Reply by email

Marco van de Voort
to Mattias Gaertner: On Fri, 3 Jun 2011 17:58:03 +0200 Has something changed? A make install should just…
Mattias Gaertner wrote 7 lines
> 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.

Reply by email

silvioprog
to silvioprog: 2011/6/2 Mattias Gaertner : [...] OK. This is my ultimate script (to update):…

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 * ===============================================

Reply by email