Recent

Author Topic: Installing Lazarus on Windows, from SVN [solved]  (Read 3835 times)

PeterX

  • Sr. Member
  • ****
  • Posts: 397
Installing Lazarus on Windows, from SVN [solved]
« 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 ?
« Last Edit: May 23, 2021, 12:15:20 pm by PeterX »
usually using latest Lazarus release version with Windows 10

Rainbow6

  • New Member
  • *
  • Posts: 25
Re: Installing Lazarus on Windows, from SVN
« Reply #1 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

Regards,
Daniel

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1621
  • Former Delphi 1-7, 10.2 user
Re: Installing Lazarus on Windows, from SVN
« Reply #2 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.
Lazarus 2.3 2021-08-10 FPC 3.3.1 r49223 macOS 10.14.6 Xcode 11.3.1
Lazarus 2.3 + FPC 3.3.1 24 Sep 2021 macOS 11.6 aarch64 Xcode 13
Lazarus 2.3 2021-08-11 FPC 3.2.2 FreeBSD 13.0 amd64 VMware VM
Lazarus 2.1 r61574 FPC 3.0.4 Ubuntu 20.04 Parallels VM
Lazarus 2.0.10 FPC 3.2.0 Win10 Parallels VM

wp

  • Hero Member
  • *****
  • Posts: 8881
Re: Installing Lazarus on Windows, from SVN
« Reply #3 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.
Mainly Lazarus trunk / fpc 3.2.0 / all 32-bit on Win-10, but many more...

PeterX

  • Sr. Member
  • ****
  • Posts: 397
Re: Installing Lazarus on Windows, from SVN
« Reply #4 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 ..

« Last Edit: May 23, 2021, 11:28:51 am by PeterX »
usually using latest Lazarus release version with Windows 10

PeterX

  • Sr. Member
  • ****
  • Posts: 397
Re: Installing Lazarus on Windows, from SVN
« Reply #5 on: May 23, 2021, 11:27:47 am »
When starting the batch file inside subfolder \lcl

the compilation process stops after 3 source files ..
usually using latest Lazarus release version with Windows 10

ccrause

  • Sr. Member
  • ****
  • Posts: 446
Re: Installing Lazarus on Windows, from SVN
« Reply #6 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

PeterX

  • Sr. Member
  • ****
  • Posts: 397
Re: Installing Lazarus on Windows, from SVN
« Reply #7 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

« Last Edit: May 23, 2021, 11:44:08 am by PeterX »
usually using latest Lazarus release version with Windows 10

wp

  • Hero Member
  • *****
  • Posts: 8881
Re: Installing Lazarus on Windows, from SVN
« Reply #8 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).
« Last Edit: May 23, 2021, 11:54:31 am by wp »
Mainly Lazarus trunk / fpc 3.2.0 / all 32-bit on Win-10, but many more...

PeterX

  • Sr. Member
  • ****
  • Posts: 397
Re: Installing Lazarus on Windows, from SVN
« Reply #9 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 :
usually using latest Lazarus release version with Windows 10

PeterX

  • Sr. Member
  • ****
  • Posts: 397
Re: Installing Lazarus on Windows, from SVN
« Reply #10 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  :)

« Last Edit: May 23, 2021, 12:00:24 pm by PeterX »
usually using latest Lazarus release version with Windows 10

PeterX

  • Sr. Member
  • ****
  • Posts: 397
Re: Installing Lazarus on Windows, from SVN
« Reply #11 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 ..
usually using latest Lazarus release version with Windows 10

PeterX

  • Sr. Member
  • ****
  • Posts: 397
Re: Installing Lazarus on Windows, from SVN
« Reply #12 on: May 23, 2021, 12:15:03 pm »
Thanks a lot for Your help !

Works now  :)
usually using latest Lazarus release version with Windows 10

 

TinyPortal © 2005-2018