Lazarus

Installation => Windows (32/64) => Topic started by: PeterX on May 23, 2021, 02:26:16 am

Title: Installing Lazarus on Windows, from SVN [solved]
Post by: PeterX on May 23, 2021, 02:26:16 am
I followed the description on
https://wiki.lazarus.freepascal.org/Installing_Lazarus_on_Windows#Building_Lazarus

I've downloaded the Lazarus sources from SVN into a folder that I called "C:\lazarus-trunk"

Then I created a batch file, with path to my existing release version Lazarus/FPC folder.
I saved the batch file as described in "C:\lazarus-trunk" ..
Code: Pascal  [Select][+][-]
  1. set path=C:\lazarus\fpc\3.2.0\bin\i386-win32
  2. REM make bigide
  3. make
  4.  


Result:  make: *** No targets specified and no makefile found.  Stop.

(Well, the make files are in subfolder \lcl ..)


What's wrong here ?
Title: Re: Installing Lazarus on Windows, from SVN
Post by: Rainbow6 on May 23, 2021, 08:01:55 am
Hi,

do you just want Lazarus? Or are you trying to test the “normal” compilation process?

I always you fpcUpDeluxe to install both Lazarus and FPC on Windows, Linux and macOS - works quite well - even on a Raspberry Pi.

https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases (https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases)

Regards,
Daniel
Title: Re: Installing Lazarus on Windows, from SVN
Post by: trev on May 23, 2021, 08:54:01 am
Result:  make: *** No targets specified and no makefile found.  Stop.
(Well, the make files are in subfolder \lcl ..)

What's wrong here ?

There should be a Makefile in the C:\lazarus-trunk directory.
Title: Re: Installing Lazarus on Windows, from SVN
Post by: wp on May 23, 2021, 10:42:29 am
@PeterX: I am using the same kind of batch file for initial compilation of a newly installed Laz-trunk on Windows, and it is working perfectly. Of course you must run it from the installation folder (c:\lazarus-trunk, in your case) - this is where the make files are; if not, update svn (svn up) to download the missing files.
Title: Re: Installing Lazarus on Windows, from SVN
Post by: PeterX on May 23, 2021, 11:23:22 am
There should be a Makefile in the C:\lazarus-trunk directory.

The make files aren't in the main folder.
They are in C\lazarus-trunk\lcl\
whyever ..

Title: Re: Installing Lazarus on Windows, from SVN
Post by: PeterX on May 23, 2021, 11:27:47 am
When starting the batch file inside subfolder \lcl

the compilation process stops after 3 source files ..
Title: Re: Installing Lazarus on Windows, from SVN
Post by: ccrause on May 23, 2021, 11:32:15 am
Can you describe the steps you followed to download the SVN trunk sources?  There should be a make file in the root folder, as can be seen here: https://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/?root=lazarus
Title: Re: Installing Lazarus on Windows, from SVN
Post by: PeterX on May 23, 2021, 11:42:09 am
Can you describe the steps you followed to download the SVN trunk sources?  There should be a make file in the root folder, as can be seen here: https://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/?root=lazarus
I followed the description on
https://wiki.lazarus.freepascal.org/Installing_Lazarus_on_Windows#Building_Lazarus

- download and install TortoiseSVN application
- create new folder "C:\lazarus-trunk"
- with TortoiseSVN set URL https://svn.freepascal.org/svn/lazarus/trunk/
- download sources
- create batch file in C:\lazarus-trunk
- call batch file with cmd.exe


But the make files are in subfolder \lcl

Title: Re: Installing Lazarus on Windows, from SVN
Post by: wp on May 23, 2021, 11:46:08 am
The make files aren't in the main folder.
They are in C\lazarus-trunk\lcl\
It the screenshot that you show here, the entire svn checkout? There's a lot missing. I just did a "svn checkout" again, and in the attachment you can see the directories and files downloaded to the installation root folder.

I don't know what's wrong here. I only could imagine that your download took very long, and the server stopped the download; I experience this with sourceforge sometimes. Right-click on c:\lazarus-trunk and select "svn update" to get the rest (you may have to repeat that if you have a slow internet connection).
Title: Re: Installing Lazarus on Windows, from SVN
Post by: PeterX on May 23, 2021, 11:49:34 am
It the screenshot that you show here, the entire svn checkout? There's a lot missing.

I started TortoiseSVN application, with pointing to a new empty folder
and it looks like this :
Title: Re: Installing Lazarus on Windows, from SVN
Post by: PeterX on May 23, 2021, 11:53:18 am
I don't know what's wrong here. I only could imagine that your download took very long, and sourceforge sometimes stops a long download. Right-click on c:\lazarus-trunk and select "svn update" to get the rest (you may have to repeat that if you have a slow internet connection).
Just now it starts loading much more files ..

[Edit]
looks much better now  :)

Title: Re: Installing Lazarus on Windows, from SVN
Post by: PeterX on May 23, 2021, 12:04:46 pm
Seems to be complete now.

Now I have to follow the final step
https://wiki.lazarus.freepascal.org/Installing_Lazarus_on_Windows#Preparation_for_the_first_start

"before starting the new IDE for the first time create a file lazarus.cfg in the Lazarus installation directory" ...

I'll see what happens ..
Title: Re: Installing Lazarus on Windows, from SVN
Post by: PeterX on May 23, 2021, 12:15:03 pm
Thanks a lot for Your help !

Works now  :)
TinyPortal © 2005-2018