Recent

Author Topic: fpcupdeluxe install says it succeeded but, there is no desktop link on Windows  (Read 3043 times)

RedOctober

  • Sr. Member
  • ****
  • Posts: 452
I am using a Windows Server 2016 as my development environment.
I have installed the latest version of Lazarus just a few days ago.
I've been programming in Delphi for a few years, but I'm new to Lazarus and FreePascal. 

Version:  Lazarus 1.8.0 r56594 FPC 3.0.4 x86_64-win64-win32/win64

I ran into a bug with the Lazarus component FBAdmin, which was reported in the BugTracker.  To solve this bug, the best practice recommended is to update my FPC to the latest version which is 3.1.1.

I downloaded the file named fpcupdeluxe-x86_64-win64.exe  from

https://github.com/newpascal/fpcupdeluxe/releases/tag/v1.6.0m  (Not sure if that was the correct file to install on my system)

The web page warns:

In order to have the installation working you MUST use the generated link to start the install !
That launcher link contains a line like:
Exec=/P/s/lazarus/lazarus --pcp="/P/s/config_lazarus"
directing Lazarus to use the pcp , i.e. primary configuration setting path of "/P/s/config_lazarus" or
a similar subdir under /home/ depending on you choice made from the GUI.
No fpc or anything is required in the searchpath.

However, I don't know what this means.  Where do I put the magic line: Exec=/P/s/lazarus/lazarus --pcp="/P/s/config_lazarus"

I just downloaded the file and doubleclicked to run it.  I selected "Stable" on FPC and clicked the button "FPC Only". It rand for a long time and at the end the last line said that it succeeded and a desktop shortcut was created, however there is no shortcut for this patched/updated Lazarus.  I need help in telling me where the shortcut is, or how to make the shortcut myself, or if I even did this correctly, and if not, how do I back out and do it correctly.  Thanks in advance.

The summary log is:

 [2017-12-28 18:14:05.486 Info] 2017-Dec-28 18:14:05: fpcupdeluxe: V044 (20171219) started.
 [2017-12-28 18:14:07.439 Info] FPCNativeInstaller (GetFile): OpenSLL download and unpacking ok.
 [2017-12-28 18:14:46.810 Info] FPCNativeInstaller (DownloadSVN): SVN download and unpacking ok. Not going to search SVN client itself in C:\fpcupdeluxe\fpcbootstrap\svn\
 [2017-12-28 18:14:46.872 Info] FPCNativeInstaller (FindSVNSubDirs): Init:
 [2017-12-28 18:14:46.872 Info] FPCNativeInstaller (FindSVNSubDirs): FPC directory:      C:\fpcupdeluxe\fpcsrc
 [2017-12-28 18:14:46.872 Info] FPCNativeInstaller (FindSVNSubDirs): FPC URL:            https://svn.freepascal.org/svn/fpc/tags/release_3_0_4
 [2017-12-28 18:14:46.872 Info] FPCNativeInstaller (FindSVNSubDirs): FPC options:       
 [2017-12-28 18:14:46.872 Info] FPCNativeInstaller (FindSVNSubDirs): Init:
 [2017-12-28 18:14:46.872 Info] FPCNativeInstaller (FindSVNSubDirs): Bootstrap compiler dir: C:\fpcupdeluxe\fpcbootstrap\
 [2017-12-28 18:14:46.872 Info] FPCNativeInstaller (FindSVNSubDirs): FPC URL:                https://svn.freepascal.org/svn/fpc/tags/release_3_0_4
 [2017-12-28 18:14:46.872 Info] FPCNativeInstaller (FindSVNSubDirs): FPC options:           
 [2017-12-28 18:14:46.872 Info] FPCNativeInstaller (FindSVNSubDirs): FPC source directory:   C:\fpcupdeluxe\fpcsrc
 [2017-12-28 18:14:46.872 Info] FPCNativeInstaller (FindSVNSubDirs): FPC install directory:  C:\fpcupdeluxe\fpc
 [2017-12-28 18:14:46.872 Info] FPCNativeInstaller (FindSVNSubDirs): Make/binutils path:     C:\fpcupdeluxe\fpcbootstrap
 [2017-12-28 18:14:46.872 Info] FPCNativeInstaller (SetPath): External program path:  C:\fpcupdeluxe\fpc\bin\x86_64-win64;C:\fpcupdeluxe\fpcbootstrap;C:\fpcupdeluxe\fpcbootstrap;C:\fpcupdeluxe\fpc\;C:\fpcupdeluxe\fpc\bin;C:\fpcupdeluxe\fpc\utils;C:\fpcupdeluxe\fpcsrc\;C:\fpcupdeluxe\fpcsrc\compiler;C:\fpcupdeluxe\fpcsrc\utils;;C:\fpcupdeluxe\fpcbootstrap\svn
 [2017-12-28 18:14:47.497 Info] Directory C:\fpcupdeluxe\fpcsrc is not an SVN repository (or a repository with the wrong remote URL).
 [2017-12-28 18:14:47.513 Info] FPCNativeInstaller (DownloadFromSVN: FPC): Creating directory C:\fpcupdeluxe\fpcsrc for SVN checkout.
 [2017-12-28 18:20:22.576 Error] FPCNativeInstaller (GetModule: FPC): Patching FPC with  failed due to missing patch file.
 [2017-12-28 18:20:22.748 Info] FPCNativeInstaller (CheckAndGetTools): Init:
 [2017-12-28 18:20:22.748 Info] FPCNativeInstaller (CheckAndGetTools): FPC directory:      C:\fpcupdeluxe\fpcsrc
 [2017-12-28 18:20:22.748 Info] FPCNativeInstaller (CheckAndGetTools): FPC URL:            https://svn.freepascal.org/svn/fpc/tags/release_3_0_4
 [2017-12-28 18:20:22.748 Info] FPCNativeInstaller (CheckAndGetTools): FPC options:       
 [2017-12-28 18:20:44.298 Info] FPCNativeInstaller (DownloadBootstrapCompiler): Init:
 [2017-12-28 18:20:44.298 Info] FPCNativeInstaller (DownloadBootstrapCompiler): Bootstrap compiler dir: C:\fpcupdeluxe\fpcbootstrap\
 [2017-12-28 18:20:44.298 Info] FPCNativeInstaller (DownloadBootstrapCompiler): FPC URL:                https://svn.freepascal.org/svn/fpc/tags/release_3_0_4
 [2017-12-28 18:20:44.298 Info] FPCNativeInstaller (DownloadBootstrapCompiler): FPC options:           
 [2017-12-28 18:20:44.298 Info] FPCNativeInstaller (DownloadBootstrapCompiler): FPC source directory:   C:\fpcupdeluxe\fpcsrc
 [2017-12-28 18:20:44.298 Info] FPCNativeInstaller (DownloadBootstrapCompiler): FPC install directory:  C:\fpcupdeluxe\fpc
 [2017-12-28 18:20:44.298 Info] FPCNativeInstaller (DownloadBootstrapCompiler): Make/binutils path:     C:\fpcupdeluxe\fpcbootstrap
 [2017-12-28 18:20:44.298 Info] FPCNativeInstaller (SetPath): External program path:  C:\fpcupdeluxe\fpc\bin\x86_64-win64;C:\fpcupdeluxe\fpcbootstrap;C:\fpcupdeluxe\fpcbootstrap;C:\fpcupdeluxe\fpc\;C:\fpcupdeluxe\fpc\bin;C:\fpcupdeluxe\fpc\utils;C:\fpcupdeluxe\fpcsrc\;C:\fpcupdeluxe\fpcsrc\compiler;C:\fpcupdeluxe\fpcsrc\utils;;C:\fpcupdeluxe\fpcbootstrap\svn
 [2017-12-28 18:22:03.511 Info] FPCNativeInstaller (GetFile): Verbose output saved to C:\Users\ADMINI~1\AppData\Local\Temp\1\TMP00000.tmp
 [2017-12-28 18:24:55.119 Info] FPCNativeInstaller (BuildModuleCustom: FPC): Update/build succeeded.
 [2017-12-28 19:23:55.645 Info] 2017-Dec-28 19:23:55: fpcup finished.
 [2017-12-28 19:23:55.676 Info] ------------------------------------------------

I will attach the verbose log.  (Doh!  It's too big.  I attached the first part of the verbose log only.  If you need the other part, I'll have to attach it to a different post.  Just let me know.)



DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Quote
I selected "Stable" on FPC and clicked the button "FPC Only".
To install FPC and Lazarus with fpcupdeluxe, use one of the quick-start-buttons. In your case, just click the "stable"-button and you should be good to go, including the Lazarus start-link !

RedOctober

  • Sr. Member
  • ****
  • Posts: 452
I don't want to install Lazaraus and FPC.  I installed the latest version of Lazarus only a few days ago, so it is the most recent version.  I only wanted to update my FPC, so I clicked "stable" on the FPC and then clicked FPC only.  It ran for about an hour, then said that a desktop link was created. 

The problem is that no desktop link was created.  My question is:  How do I create a link (desktop shortcut) to my existing Lazarus installation, that points to the new FPC?

RedOctober

  • Sr. Member
  • ****
  • Posts: 452
Mystery solved.  The fpcupdelux installer only creates the Lazarus desktop icon if you use it to install a copy of Lazarus.  If you select that you only want to install FCP, then, even though it says that it created the desktop icon, it did not.

After deleting and re-installing several times, just to experiment, I installed the latest Lazarus (1.9) and the latest FPC (3.1.1) into it's own destination folder and a desktop icon was created.  It looks like the extra params were included in the desktop icon's TARGET field.

I will run this new Lazarus and see if my FBAdmin is working now.
Thanks to the respondents to my original post.

 

TinyPortal © 2005-2018