Recent

Author Topic: Fpcupdeluxe  (Read 382054 times)

DmBel

  • New member
  • *
  • Posts: 5
Re: Fpcupdeluxe
« Reply #1455 on: November 25, 2019, 08:29:08 am »
I try to setup trunk and trunkgit fpc+lazarus with help of the latest fpcupdelux and have no success:

Quote
(3104) Compiling registerdbf.pas
(1010) Writing Resource String Table file: registerdbf.rsj
(1008) 98 lines compiled, 0.5 sec
(1022) 2 hint(s) issued
SpecialIdeConfig MAKE MakeIDECfgFilename=/home/user/fpcupdeluxe/config_lazarus/idemake.cfg True
/usr/bin/make -C ide idepkg
/usr/bin/make --assume-new=lazarus.pp lazarus OPT=' @/home/user/fpcupdeluxe/config_lazarus/idemake.cfg'
/home/user/fpcupdeluxe/fpc/bin/x86_64-linux/fpc.sh -gl -vbqewnhi -Sci -dlclgtk2 -Fu../designer -Fu../debugger -Fu../debugger/frames -Fu../converter -Fu../packager -Fu../packager/frames -Fu../components/custom -Fuframes -Fu. -Fu/home/user/fpcupdeluxe/fpcsrc/rtl -Fu/home/user/fpcupdeluxe/fpcsrc/packages/paszlib -Fu/home/user/fpcupdeluxe/fpcsrc/packages/fcl-process -Fu/home/user/fpcupdeluxe/fpcsrc/packages/hash -Fu/home/user/fpcupdeluxe/fpcsrc/packages/libtar -Fu/home/user/fpcupdeluxe/fpcsrc/packages/fpmkunit -Fu/home/user/fpcupdeluxe/fpcsrc/packages/regexpr -Fiinclude -Fiinclude/linux -Fi../images -FE.. -FU../units/x86_64-linux/gtk2 -Cg -Fl/usr/lib/gcc/x86_64-linux-gnu/7 -Flinclude -Fl/etc/ld.so.conf.d/*.conf @/home/user/fpcupdeluxe/config_lazarus/idemake.cfg -dx86_64 @/home/user/fpcupdeluxe/config_lazarus/idemake.cfg lazarus.pp
(1002) Target OS: Linux for x86-64
(3104) Compiling lazarus.pp
(9022) Compiling resource /home/user/fpcupdeluxe/lazarus/units/x86_64-linux/gtk2/lazarus.or
/home/user/fpcupdeluxe/lazarus/ide/lazarus.pp(167,1) Error: (9030) Can't call the resource compiler "/home/user/fpcupdeluxe/fpc/bin/x86_64-linux/fpcres", switching to external mode
/home/user/fpcupdeluxe/lazarus/ide/lazarus.pp(167,1) Fatal: (10026) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Error: /home/user/fpcupdeluxe/fpc/bin/x86_64-linux/ppcx64 returned an error exitcode
make[2]: *** [idepkg] Error 2
make[1]: *** [idepkg] Error 2
Makefile:4354: recipe for target 'lazarus' failed
Makefile:4784: recipe for target 'idepkg' failed
Makefile:3277: recipe for target 'idepkg' failed
Error: (lazarus) Build IDE: stopped with exit code 2
Error: (lazarus) Building IDE: Building IDE failed.
Makefile:3283: recipe for target 'useride' failed
make: *** [useride] Error 2

fpcupdeluxe: ERROR: UniversalInstaller (ConfigModule: suggestedpackages): Failure trying to rebuild Lazarus.
Details:


ERROR: Fpcupdeluxe fatal error !

I try it on the Ubuntu 18, 64x. Could you please give a look what happend?
« Last Edit: November 25, 2019, 08:48:56 am by DmBel »

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1170
Re: Fpcupdeluxe
« Reply #1456 on: November 25, 2019, 08:48:50 am »
Quote
/home/user/fpcupdeluxe/lazarus/ide/lazarus.pp(167,1) Error: (9030) Can't call the resource compiler
This normally means there is not enough memory to compile Lazarus.
Increase your memory by adding swap and see what happens.

DmBel

  • New member
  • *
  • Posts: 5
Re: Fpcupdeluxe
« Reply #1457 on: November 25, 2019, 11:59:55 am »
thank you! increasing swap size fix an issue.

hunghung

  • Full Member
  • ***
  • Posts: 117
Re: Fpcupdeluxe
« Reply #1458 on: November 27, 2019, 02:28:16 pm »
Hi, Don. Please drop the check for svn executable existent if I choose to build trunkgit version of both fpc and lazarus. Currently it prevent fpcupdeluxe to start even if the git executable already exists.

hunghung

  • Full Member
  • ***
  • Posts: 117
Re: Fpcupdeluxe
« Reply #1459 on: November 27, 2019, 02:39:02 pm »
What should I do with this?

http://i.imgur.com/CvBqEfs.png

Why fpc expects fppkg.cfg to be in /etc since it's installed on an unprivileged folder on my homedir?

hunghung

  • Full Member
  • ***
  • Posts: 117
Re: Fpcupdeluxe
« Reply #1460 on: November 27, 2019, 03:35:24 pm »

hunghung

  • Full Member
  • ***
  • Posts: 117
Re: Fpcupdeluxe
« Reply #1461 on: November 27, 2019, 03:38:08 pm »
I don't know why but the second time I start it, it successfully generate the configuration file, though.

rca

  • New member
  • *
  • Posts: 7
Re: Fpcupdeluxe
« Reply #1462 on: November 28, 2019, 02:26:47 pm »
What should I do with this?

http://i.imgur.com/CvBqEfs.png

Why fpc expects fppkg.cfg to be in /etc since it's installed on an unprivileged folder on my homedir?

Similar to:
https://forum.lazarus.freepascal.org/index.php/topic,34645.msg338867.html#msg338867

Solution by DonAlfredo:
https://forum.lazarus.freepascal.org/index.php/topic,34645.msg338876.html#msg338876
@fabiopesaju
Press "Restore Fppkg configuration"
Press "Browse"
Navigate towards the directory where FPC binaries are installed.
This is the base FPC directory where you will find 4 other directories: bin, lib, share,units. Select this directory and off you go !

macfly

  • New Member
  • *
  • Posts: 11
Re: Fpcupdeluxe
« Reply #1463 on: December 02, 2019, 05:46:11 pm »
Hi Friends...

I definitely can't complete the installation. Always freezes when downloading sources from repositories.

I have to download manually, in a looping: Update, cleanup, update, cleanup ... until complete.

It's been like this for over a year.


Well ... my question is, is there a Github equivalent for these "exact" releases?

https://svn.freepascal.org/svn/fpc/tags/release_3_0_4

https://svn.freepascal.org/svn/lazarus/tags/lazarus_2_0_6

nouzi

  • Full Member
  • ***
  • Posts: 142
Re: Fpcupdeluxe
« Reply #1464 on: December 02, 2019, 06:18:40 pm »
Hi Friends...

I definitely can't complete the installation. Always freezes when downloading sources from repositories.

I have to download manually, in a looping: Update, cleanup, update, cleanup ... until complete.

It's been like this for over a year.


Well ... my question is, is there a Github equivalent for these "exact" releases?

https://svn.freepascal.org/svn/fpc/tags/release_3_0_4

https://svn.freepascal.org/svn/lazarus/tags/lazarus_2_0_6

Me too
my english is  bad
Lazarus 2.0 free pascal 3.0.4
Lazarus trunk  free pascal trunk 
System : windows 7 64bit

ASBzone

  • Sr. Member
  • ****
  • Posts: 264
  • Automation leads to relaxation...
    • BrainWaveCC Utilities
Re: Fpcupdeluxe
« Reply #1465 on: December 02, 2019, 06:52:50 pm »
Hi Friends...

I definitely can't complete the installation. Always freezes when downloading sources from repositories.

I have to download manually, in a looping: Update, cleanup, update, cleanup ... until complete.

It's been like this for over a year.


Well ... my question is, is there a Github equivalent for these "exact" releases?

https://svn.freepascal.org/svn/fpc/tags/release_3_0_4

https://svn.freepascal.org/svn/lazarus/tags/lazarus_2_0_6


What platform are you running on, and what version are of FPCupDeluxe are you trying to install, and to what location on your machine?
-ASB: https://www.BrainWaveCC.com

Lazarus v2.0.5 r62023 / FPC v3.2.0-beta-r43192 (via FpcUpDeluxe) -- Windows 64-bit install w/32-bit cross-compile
Primary System: Windows 10 Pro x64, Version 1903 (Build 18362.476)
Other Systems: Windows 10 Pro x64, Version 1903 or greater

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1170
Re: Fpcupdeluxe
« Reply #1466 on: December 02, 2019, 06:58:09 pm »
I could add an option to dwonload sources from here.
ftp://ftp.freepascal.org/pub/fpc/snapshot

These are normal zips. And would be suitable for non-changing releases like stable.

hunghung

  • Full Member
  • ***
  • Posts: 117
Re: Fpcupdeluxe
« Reply #1467 on: December 03, 2019, 01:02:29 pm »
What should I do with this?

http://i.imgur.com/CvBqEfs.png

Why fpc expects fppkg.cfg to be in /etc since it's installed on an unprivileged folder on my homedir?

Similar to:
https://forum.lazarus.freepascal.org/index.php/topic,34645.msg338867.html#msg338867

Solution by DonAlfredo:
https://forum.lazarus.freepascal.org/index.php/topic,34645.msg338876.html#msg338876
@fabiopesaju
Press "Restore Fppkg configuration"
Press "Browse"
Navigate towards the directory where FPC binaries are installed.
This is the base FPC directory where you will find 4 other directories: bin, lib, share,units. Select this directory and off you go !

The latest version fixed this Fppkg configuration problem. Now it just start Lazarus immediately  :)

macfly

  • New Member
  • *
  • Posts: 11
Re: Fpcupdeluxe
« Reply #1468 on: December 03, 2019, 02:30:07 pm »
What platform are you running on, and what version are of FPCupDeluxe are you trying to install, and to what location on your machine?

All versions of the FPCupDeluxe in last 12 months ~.

I'm in Brazil.

This is definitely not a problem with FPCupDeluxe.

This is the very slow SVN server that goes into timeout.

Maybe some routing issue on my internet service .. but in the forums I've seen a lot of people report the same issue.


I could add an option to dwonload sources from here.
ftp://ftp.freepascal.org/pub/fpc/snapshot

These are normal zips. And would be suitable for non-changing releases like stable.


I'm afraid that being on the same server will happen the same.

But thank you if you can add this option. We will try...

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1170
Re: Fpcupdeluxe
« Reply #1469 on: December 03, 2019, 03:01:05 pm »
Quote
The latest version fixed this Fppkg configuration problem. Now it just start Lazarus immediately
Yes.
Local fppkg management has been added !!