Sign in Join

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

Mailing lists / lazarus / 2012-03

compiling Lazarus from svn

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Richard Mace

Hi All,
I've just installed lazarus via svn trunk, and installed fpc binary from source forge.
When I read the instructions online on how to install Lazarus from SVN, they tell me to change to the Lazarus directory, and then run "make", however, I don't have a "make" command.
Am I missing something silly?

Thanks in advance

Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120313/44f0cc0b/attachment.html>

Reply by email

Reinier Olislagers
to Richard Mace
Richard Mace wrote 11 lines
Hi All, I've just installed lazarus via svn trunk, and installed fpc binary from source forge. When I read the instructions online on how to install Lazarus from SVN, they tell me to change to the Lazarus directory, and then run "make", however, I don't have a "make" command. Am I missing something silly? Thanks in advance Richard

Yep, the binutils (make, ar, as, etc).

You can download them from the FPC site, but it might be easier to just install the recently released 0.9.30.4 release candidate, and copy the files in c:\lazarus\bin\i386-win32 (except the compiler files) to another directory, then add that to your path.

Now you have a (hopefully) working Lazarus install, and you can create a parallel install from trunk: get the fpc and lazarus sources in a different directory.
Run make etc...

At the end, create a settings directory for your new Lazarus (e.g. mkdir %localappdata%\lazarustrunk) then use startlazarus --primary-config-path=%localappdata%\lazarustrunk to run your new Lazarus. Check the paths to the fpc trunk compiler.

Voila, separate "stable" and "testing" environments...

Or... have a look at my fpcup tool ;)

Regards,
Reinier

Reply by email

Sven Barth
to Richard Mace: I've just installed lazarus via svn trunk, and installed fpc binary from source forge.…
Richard Mace wrote 7 lines
Hi All, I've just installed lazarus via svn trunk, and installed fpc binary from source forge. When I read the instructions online on how to install Lazarus from SVN, they tell me to change to the Lazarus directory, and then run "make", however, I don't have a "make" command. Am I missing something silly?

What platform are you on? In the following I assume Windows. Did you download a full 2.6.0 release? If not do so and install it. You'll then find the make, etc in the same directory as the fpc binary (you need the full release of FPC anyway to compile Lazarus).

Regards,
Sven

Reply by email