Recent

Author Topic: Fpcupdeluxe  (Read 331947 times)

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1090
Re: Fpcupdeluxe
« Reply #210 on: December 08, 2016, 11:54:01 am »
Ok ... I can understand !
I am using the fphttpclient, available in trunk.

edit:
AFIAK, fphttpclient tries to establish a https connection with the proxy when redirected towards a https URL.
« Last Edit: December 08, 2016, 11:59:33 am by DonAlfredo »

mdalacu

  • Full Member
  • ***
  • Posts: 198
    • dmSimpleApps
Re: Fpcupdeluxe
« Reply #211 on: December 08, 2016, 11:58:23 am »
Ok ... I can understand !
I am using the fphttpclient, available in trunk.
Thanks. Unfortunately i never use it so i can not give any input on fphttpclient.
Can i put the manually downloaded bootstrap in a fpcdeluxe folder to make it continue with the installation?
Thanks again.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1090
Re: Fpcupdeluxe
« Reply #212 on: December 08, 2016, 12:00:07 pm »
YES !

mdalacu

  • Full Member
  • ***
  • Posts: 198
    • dmSimpleApps
Re: Fpcupdeluxe
« Reply #213 on: December 08, 2016, 12:16:21 pm »
Sorry, where ?!
Quote
mdalacu@c026dalam2u:~/fpcupdeluxe$ tree -d -L 2
.
└── fpc
    ├── compiler
    ├── ide
    ├── installer
    ├── packages
    ├── rtl
    ├── tests
    └── utils


DonAlfredo

  • Hero Member
  • *****
  • Posts: 1090
Re: Fpcupdeluxe
« Reply #214 on: December 08, 2016, 12:22:35 pm »
Get bootstrapper from:
ftp://ftp.freepascal.org/pub/fpc/dist/2.6.2/bootstrap/x86_64-linux-ppcx64.bz2
(AKAIK, this is the latest official available for Linux 64)

Unpack, make executable and put it in:
fpcupdeluxe/fpcbootstrap
« Last Edit: December 08, 2016, 12:24:11 pm by DonAlfredo »

mdalacu

  • Full Member
  • ***
  • Posts: 198
    • dmSimpleApps
Re: Fpcupdeluxe
« Reply #215 on: December 08, 2016, 12:33:23 pm »
I have done it, but still no go.
I have uploaded console output.
Thanks for trying to help me.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1090
Re: Fpcupdeluxe
« Reply #216 on: December 08, 2016, 12:46:38 pm »
You have now encountered a fpcupdeluxe bug ... will solve ... but will take some time !
(I am also adding a wget downloader for Linux)

mdalacu

  • Full Member
  • ***
  • Posts: 198
    • dmSimpleApps
Re: Fpcupdeluxe
« Reply #217 on: December 08, 2016, 01:00:43 pm »
« Last Edit: December 08, 2016, 01:03:18 pm by mdalacu »

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1090
Re: Fpcupdeluxe
« Reply #218 on: December 09, 2016, 04:16:48 pm »
Again a new release ....

https://github.com/newpascal/fpcupdeluxe/releases/tag/v1.1.0f

Added option to use wget as downloader (checkbox under Setup+).
Could work better for systems behind a proxy.

Still experimental, so feedback welcome.

mdalacu

  • Full Member
  • ***
  • Posts: 198
    • dmSimpleApps
Re: Fpcupdeluxe
« Reply #219 on: December 12, 2016, 08:08:57 am »
Again a new release ....

https://github.com/newpascal/fpcupdeluxe/releases/tag/v1.1.0f

Added option to use wget as downloader (checkbox under Setup+).
Could work better for systems behind a proxy.

Still experimental, so feedback welcome.
Hi, i have tested and it's hanging at this step....i waited 30 min
......
Quote
Executing : /usr/bin/svn "status" "--config-option" "servers:global:http-proxy-host=10.241.155.3" "--config-option" "servers:global:http-proxy-port=8080" "--depth" "infinity" "/home/mdalacu/fpcupdeluxe/fpc" (working dir: )
fpcupdeluxe: info: Running SVN checkout or update.
Executing : /usr/bin/svn "info" "--config-option" "servers:global:http-proxy-host=10.241.155.3" "--config-option" "servers:global:http-proxy-port=8080" "/home/mdalacu/fpcupdeluxe/fpc" (working dir: )
Path: /home/mdalacu/fpcupdeluxe/fpc
Working Copy Root Path: /home/mdalacu/fpcupdeluxe/fpc
URL: http://svn.freepascal.org/svn/fpc/branches/fixes_3_0
Relative URL: ^/branches/fixes_3_0
Repository Root: http://svn.freepascal.org/svn/fpc
Repository UUID: 3ad0048d-3df7-0310-abae-a5850022a9f2
Revision: 35082
Node Kind: directory
Schedule: normal
Last Changed Author: marco
Last Changed Rev: 34961
Last Changed Date: 2016-11-25 12:54:56 +0200 (Vi, 25 nov 2016)

Executing : /usr/bin/svn "cleanup" "--non-interactive" "/home/mdalacu/fpcupdeluxe/fpc" (working dir: )
Executing : /usr/bin/svn "cleanup" "--non-interactive" "--remove-unversioned" "--remove-ignored" "/home/mdalacu/fpcupdeluxe/fpc" (working dir: )
Executing : /usr/bin/svn "update" "--config-option" "servers:global:http-proxy-host=10.241.155.3" "--config-option" "servers:global:http-proxy-port=8080" "--quiet" "--non-interactive" "--trust-server-cert" "-r" "HEAD" "/home/mdalacu/fpcupdeluxe/fpc" (working dir: )
Executing : /usr/bin/svn "info" "--config-option" "servers:global:http-proxy-host=10.241.155.3" "--config-option" "servers:global:http-proxy-port=8080" "/home/mdalacu/fpcupdeluxe/fpc" (working dir: )
Path: /home/mdalacu/fpcupdeluxe/fpc
Working Copy Root Path: /home/mdalacu/fpcupdeluxe/fpc
URL: http://svn.freepascal.org/svn/fpc/branches/fixes_3_0
Relative URL: ^/branches/fixes_3_0
Repository Root: http://svn.freepascal.org/svn/fpc
Repository UUID: 3ad0048d-3df7-0310-abae-a5850022a9f2
Revision: 35112
Node Kind: directory
Schedule: normal
Last Changed Author: marco
Last Changed Rev: 34961
Last Changed Date: 2016-11-25 12:54:56 +0200 (Vi, 25 nov 2016)

fpcupdeluxe: info: FPC was at: branch revision 34961 (repository revision 35082)
fpcupdeluxe: info: No updates for FPC found.
fpcupdeluxe: info: TFPCInstaller: building module FPC...
fpcupdeluxe: info: We have a FPC source (@ /home/mdalacu/fpcupdeluxe/fpc) with version: 3.0.1
fpcupdeluxe: info: To compile this FPC, we need (required) a compiler with version : 3.0.0
Executing : /home/mdalacu/fpcupdeluxe/fpcbootstrap/x86_64-linux-ppcx64 "-iV" (working dir: )
2.6.2
Executing : /home/mdalacu/fpcupdeluxe/fpcbootstrap/x86_64-linux-ppcx64 "-iV" (working dir: )
2.6.2
Executing : /home/mdalacu/fpcupdeluxe/fpcbootstrap/x86_64-linux-ppcx64 "-iV" (working dir: )
2.6.2
fpcupdeluxe: info: Looking for a bootstrap compiler from official FPC bootstrap binaries.
fpcupdeluxe: info: Looking for official FPC bootstrapper with version 3.0.0
fpcupdeluxe: info: Looking for (online) bootstrapper x86_64-linux-ppcx64.bz2

mdalacu

  • Full Member
  • ***
  • Posts: 198
    • dmSimpleApps
Re: Fpcupdeluxe
« Reply #220 on: December 12, 2016, 11:11:00 am »
Using wget this is what i have got:
--2016-12-12 11:35:37--  ftp://ftp.freepascal.org/pub/fpc/dist/2.6.4/bootstrap/
  (try:14) => ‘.listing’
Connecting to 10.241.155.3:8080... connected.
Error in server response. Closing.
Retrying.

--2016-12-12 11:40:47--  ftp://ftp.freepascal.org/pub/fpc/dist/2.6.4/bootstrap/
  (try:15) => ‘.listing’
Connecting to 10.241.155.3:8080... connected.
Error in server response. Closing.
Retrying.

--2016-12-12 11:45:57--  ftp://ftp.freepascal.org/pub/fpc/dist/2.6.4/bootstrap/
  (try:16) => ‘.listing’
Connecting to 10.241.155.3:8080... connected.
Error in server response. Closing.
Retrying.

--2016-12-12 11:51:07--  ftp://ftp.freepascal.org/pub/fpc/dist/2.6.4/bootstrap/
  (try:17) => ‘.listing’
Connecting to 10.241.155.3:8080... connected.
Error in server response. Closing.
Retrying.

--2016-12-12 11:56:17--  ftp://ftp.freepascal.org/pub/fpc/dist/2.6.4/bootstrap/
  (try:18) => ‘.listing’
Connecting to 10.241.155.3:8080... connected.
Error in server response. Closing.
Retrying.

--2016-12-12 12:01:27--  ftp://ftp.freepascal.org/pub/fpc/dist/2.6.4/bootstrap/
  (try:19) => ‘.listing’
Connecting to 10.241.155.3:8080... connected.
Error in server response. Closing.
Retrying.

--2016-12-12 12:06:37--  ftp://ftp.freepascal.org/pub/fpc/dist/2.6.4/bootstrap/
  (try:20) => ‘.listing’
Connecting to 10.241.155.3:8080... connected.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1090
Re: Fpcupdeluxe
« Reply #221 on: December 12, 2016, 11:17:37 am »
Thanks for trying and reporting.
Your proxy gives problems ... and it's not easy to debug without having a proxy like you !
But I will try further.

If you are willing to help me further, lets get this done by PM, because these details will fill this forum with implementation details that are not very interesting for others. So, with your permission, I will PM you with some Linux wget command line tests !

josh

  • Hero Member
  • *****
  • Posts: 733
Re: Fpcupdeluxe
« Reply #222 on: December 14, 2016, 12:24:30 pm »
Hi

Just downloaded latest version; and when I click install/update laz and fpc or click the Trunk button. I am getting the error below

:UPDATE:
Have been trying for a while; and then it started working ; so suspect that some svn download issue.


Question though.
Say for example of I have LAZ 1.7 and fpc 3.0.2 installed in trunk folder; can I then decide later that I want to use FPC 3.1.1 and just change both options to trunk and click install, will it remove fpc 3.0.2?
« Last Edit: December 14, 2016, 12:53:10 pm by josh »
Development Installation Lazarus 1.3, FPC 2.7.1,Windows 7/8 32/64, OSX, *nix

Test Environment Lazarus & FPC Trunk on Windows and OSX (Cocoa Mainly on OSX). Testing also Crosscompile windows to OSX.. 
Any posts made from 2015 will be based on Lazarus Trunk.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1090
Re: Fpcupdeluxe
« Reply #223 on: December 14, 2016, 01:03:36 pm »
Ok. Good news.

And yes, it will remove fpc 3.0.2 !

Other users have reported that they do multiple installs with fpcupdeluxe, in separate directories, to be able to use more versions of FPC and Lazarus. I currently have 5 installs !

josh

  • Hero Member
  • *****
  • Posts: 733
Re: Fpcupdeluxe
« Reply #224 on: December 14, 2016, 02:24:48 pm »
Hi,

I tried to update laz+fpc both to trunk; it appeared to go well, and no errors reported in fpcdeluxe.
Howver when I start lazarus, I am getting Package Registration erro
Package FCL 1.0.1
lpk file ...../fcl.lpk
Unit Name "RegisterFCL"
Unit RegisterFCL was not found in lpk file.

So I thought maybe does not like the upgrade; so I then created a Separate folder for test purposes; and after a complete download I get the same error when I start Lazarus.

I think its a bug in latest svn version or download issue, I will wait a day and try again.
Development Installation Lazarus 1.3, FPC 2.7.1,Windows 7/8 32/64, OSX, *nix

Test Environment Lazarus & FPC Trunk on Windows and OSX (Cocoa Mainly on OSX). Testing also Crosscompile windows to OSX.. 
Any posts made from 2015 will be based on Lazarus Trunk.