Sign in Join

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

Mailing lists / lazarus / 2009-04

How to compile lazarus from its SVN source in WinXP?

12 messages · 9 people · –

Reply by email Subscribe to this list Your subscription

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

Popeye Spinach

I have checked out latest lazarus from SVN using TortoiseSVN. I have also downloaded FPC 2.2.2 installer and fpcbuild2.2.2.

What then now? I coudn't follow the instructions in http://wiki.lazarus.freepascal.org/Getting_Lazarusi. The information for compiling under WinXP seems has outdated. Please somebody here tell me how to do that?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20090406/ca3b7f18/attachment-0001.html

Reply by email

Bogusław Brandys
to Popeye Spinach
Popeye Spinach wrote 10 lines
I have checked out latest lazarus from SVN using TortoiseSVN. I have also downloaded FPC 2.2.2 installer and fpcbuild2.2.2. What then now? I coudn't follow the instructions in http://wiki.lazarus. freepascal.org/Getting_ Lazarusi <http://wiki.lazarus.freepascal.org/Getting_Lazarusi>. The information for compiling under WinXP seems has outdated. Please somebody here tell me how to do that?

Huh ? Install fpc , make sure it can be called from shell. In shell (cmd.exe window) in lazarus sources folder do something like :

make clean
make all (or make bigide)

Make sure you have fpc sources somewhere on disk also.

What is fpcbuild ???

Regards
Boguslaw

Reply by email

Vincent Snijders
to Popeye Spinach: I have checked out latest lazarus from SVN using TortoiseSVN. I have also downloaded FPC…
Popeye Spinach wrote
I have checked out latest lazarus from SVN using TortoiseSVN. I have also downloaded FPC 2.2.2 installer and fpcbuild2.2.2. What then now? I coudn't follow the instructions in http://wiki.lazarus.freepascal.org/Getting_Lazarusi. The information for compiling under WinXP seems has outdated. Please somebody here tell me how to do that?

That page describes getting the source, which you did TortoiseSVN. It also contains a link at the bottom to instructions how to build it.

For you it would be:
http://wiki.lazarus.freepascal.org/Installing_Lazarus#Installing_from_source_2

If you installed fpc 2.2.2 correctly, then open a command prompt, cd lazarus_svn_dir and then do: 'make bigide'.

Vincent

Reply by email

Leslie Kaye
to Popeye Spinach: I have checked out latest lazarus from SVN using TortoiseSVN. I have also downloaded FPC…
Popeye Spinach wrote 9 lines
I have checked out latest lazarus from SVN using TortoiseSVN. I have also downloaded FPC 2.2.2 installer and fpcbuild2.2.2. What then now? I coudn't follow the instructions in http://wiki.lazarus.freepascal.org/Getting_Lazarusi <http://wiki.lazarus.freepascal.org/Getting_Lazarusi>. The information for compiling under WinXP seems has outdated. Please somebody here tell me how to do that?

The idle way is to install a nightly build
http://snapshots.lazarus.shikami.org/lazarus/
then SVN on top of your install directory (C:\lazarus ?) Run lazarus.exe then off the menu use Tools | Configure build Lazarus | Clean up and build all
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20090406/d9d0236e/attachment.html

Reply by email

Antonio Sanguigni
to Popeye Spinach: I have checked out latest lazarus from SVN using TortoiseSVN. I have also downloaded FPC…
Show quoted text 8 lines
What then now? I coudn't follow the instructions in http://wiki.lazarus.freepascal.org/Getting_Lazarusi. The information for compiling under WinXP seems has outdated. Please somebody here tell me how to do that?

Be sure that fpc path is before Borland one, otherwise make call will generate a lots of errors; if you have Delphi installed on the windows box, of course.

Antonio

Antonio Sanguigni alias slapshot ---------------------------------------------------------------------- GioveLUG (Linux User Group) - http://www.giovelug.org Edupup (Educational distro) - http://www.pieroni.biz/edupup -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20090406/00e181ed/attachment.html

Reply by email

Joost van der Sluis
to Bogusław Brandys: Huh ? Install fpc , make sure it can be called from shell. In shell (cmd.exe window) in…

Op maandag 06-04-2009 om 13:37 uur [tijdzone +0200], schreef Bogus?aw Brandys:

Show quoted text 12 lines
Popeye Spinach wrote: > > I have checked out latest lazarus from SVN using TortoiseSVN. I have > also downloaded FPC 2.2.2 installer and fpcbuild2.2.2. > > What then now? I coudn't follow the instructions in http://wiki.lazarus. > freepascal.org/Getting_ Lazarusi > <http://wiki.lazarus.freepascal.org/Getting_Lazarusi>. The information > for compiling under WinXP seems has outdated. Please somebody here tell > me how to do that? What is fpcbuild ???

It's the official source-zip from which fpc-releases are build. They include the source but also the documentation sources and several utilities which aren't written in fpc but are installed by the fpc-installers. Plus things as the release-notes.

Joost.

Reply by email

Martin Friebe
to Leslie Kaye: The idle way is to install a nightly build http://snapshots.lazarus.shikami.org/lazarus/…
Leslie Kaye wrote 16 lines
Popeye Spinach wrote: > I have checked out latest lazarus from SVN using TortoiseSVN. I have > also downloaded FPC 2.2.2 installer and fpcbuild2.2.2. > > What then now? I coudn't follow the instructions > in http://wiki.lazarus.freepascal.org/Getting_Lazarusi > <http://wiki.lazarus.freepascal.org/Getting_Lazarusi>. The > information for compiling under WinXP seems has outdated. > Please somebody here tell me how to do that? > The idle way is to install a nightly build http://snapshots.lazarus.shikami.org/lazarus/ then SVN on top of your install directory (C:\lazarus ?) Run lazarus.exe then off the menu use Tools | Configure build Lazarus | Clean up and build all

A bit cleaner (IMHO) Install a snapshot, with the desired FPC version, copy the fpc to a separate location. (Update the fpc.cfg file in the bin directory, so it has the new path info)
- if you update fpc later, keep your fpc.cfg file

Now check out Lazarus from SVN, copy the existing lazarus.exe, into your checkout.
- Create a windows-shortcut, and edit the properties. Add a --primary-config-path (or -pcp) to the command line (so it doesn't interfere with any other install, it is much easier to create a new config once, than to sort the mess you get if 2 installations try to use the same config)
- Start this lazarus, edit the config to point to your fpc
- compile lazarus from the menu, and restart it

Whatever you do, make sure you have no spaces in the path.

Reply by email

Popeye Spinach
Show quoted text 7 lines
Bogus?aw Brandys wrote on April 6, 2009 6:37:40 PM Huh ? Install fpc , make sure it can be called from shell. In shell (cmd.exe window) in lazarus sources folder do something like : make clean make all (or make bigide)

_______________________________________________

Vincent Snijders wrote on April 6, 2009 6:39:42 PM If you installed fpc 2.2.2 correctly, then open a command prompt, cd lazarus_svn_dir and then do: 'make bigide'.

_______________________________________________

Where can I find explanation about the difference among: "make clean", "make all", "make bigide", and other possible options?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20090406/7b4cbda7/attachment.html

Reply by email

Popeye Spinach
Show quoted text 7 lines
Bogus?aw Brandys wrote on April 6, 2009 6:37:40 PM Huh ? Install fpc , make sure it can be called from shell. In shell (cmd.exe window) in lazarus sources folder do something like : make clean make all (or make bigide)

_______________________________________________

Vincent Snijders wrote on April 6, 2009 6:39:42 PM If you installed fpc 2.2.2 correctly, then open a command prompt, cd lazarus_svn_dir and then do: 'make bigide'.

_______________________________________________

Where can I find explanation about the difference among: "make clean", "make all", "make bigide", and other possible options?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20090407/c19d97dc/attachment.html

Reply by email

Henry Vermaak
to Popeye Spinach

2009/4/7 Popeye Spinach :

Where can I find explanation about the difference among: "make clean", "make all", "make bigide", and other possible options?

you can't really. different software uses similar targets and they're all quite self-explanatory.

"make all" makes everything. "make clean" cleans object files. use your intuition and if you really want to know <health hazard> read the makefile </health hazard>. or just ask...

henry

Reply by email

Popeye Spinach
to Henry Vermaak

Henry Vermaak wrote on April 8, 2009 5:52:24 AM:

2009/4/7 Popeye Spinach

Where can I find explanation about the difference among: "make clean", "make all", "make bigide", and other possible options?

you can't really. different software uses similar targets and they're all quite self-explanatory.

"make all" makes everything. "make clean" cleans object files. use your intuition and if you really want to know <health hazard> read the makefile </health hazard>. or just ask...

henry
_______________________________________________

Thanks, I find the list of targets in Makefile.fpc but without detailed explanation.

Comparing 'bigide' with 'all' target, I notice the 'all' target has 'lazbuilder' which was not defined in 'bigide' target.

bigide: lcl packager/registration ideintf packager bigidecomponents idebig starter all: lcl packager/registration ideintf packager components ide starter lazbuilder

What is the meaning of 'lazbuilder'?

Popeye

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20090407/bc2f950d/attachment-0001.html

Reply by email

Graeme Geldenhuys
to Henry Vermaak: 2009/4/7 Popeye Spinach : you can't really. different software uses similar targets and…
Henry Vermaak wrote
2009/4/7 Popeye Spinach : > > Where can I find explanation about the difference among: "make clean", "make > all", "make bigide", and other possible options?

It's explained in some text files. The first to is common to many applications. For the option options have a look at:

<lazarus>
docs/BigIDE.txt
docs/INSTALL.txt

Or like Henry suggested, read the Makefile [yuck!]. Alternatively search the mailing list archives - it has been covered a few times before.

Regards,
- Graeme -

_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

Reply by email