Recent

Author Topic: Error during installation  (Read 2388 times)

Heinz

  • New Member
  • *
  • Posts: 12
Error during installation
« on: February 27, 2023, 11:30:36 pm »

KodeZwerg

  • Hero Member
  • *****
  • Posts: 2050
  • Fifty shades of code.
    • Delphi & FreePascal
Re: Error during installation
« Reply #1 on: February 27, 2023, 11:38:21 pm »
Can you repeat by not using windows protected folders?
Exemplary c:\freepascal\
Maybe running with admin rights inside windows protected folders work too, untested.
« Last Edit: Tomorrow at 31:76:97 xm by KodeZwerg »

TRon

  • Hero Member
  • *****
  • Posts: 2503
Re: Error during installation
« Reply #2 on: February 28, 2023, 06:24:05 am »
First of all you should avoid installing Free Pascal/Lazarus in a directory with a whitespace character in it.

Secondly, since both Free Pascal and Lazarus requires to update itself (installing packages/cross compilers) you do need write access in the directory to which you install.

Last, the FPCDeluxe error reads:
Quote
Makefile:29: *** You need the GNU utils package to use this Makefile.  Stop.
I assume this refers to the GNU Binutils, and those should be installed. I do not know if FPCDeluxe does that automatically for you and in case it doesn't then you would need to do that manually.

Alas, I am not familiar with FPCDeluxe so perhaps someone more knowledgeable on the subject is able to chime in.

af0815

  • Hero Member
  • *****
  • Posts: 1291
Re: Error during installation
« Reply #3 on: February 28, 2023, 06:39:41 am »
On windows fpcupdeluxe should be able to download all the missing parts. But you must install fpcupdeluxe and fpc/lazarus in a directory without spaces or special characters and there you must have all rigths to create directoies and place files. According the notes from KodeZwerg and TRon. The background - most of the used tools in the build chain can handle spaces in the directoryname, but not all.

This is not special to fpcupdeluxe/fpc/lazarus, but if you install other IDE or build enviroments you have the same issue. This is the reason such tool want a own directory in your root.   
 
regards
Andreas

KodeZwerg

  • Hero Member
  • *****
  • Posts: 2050
  • Fifty shades of code.
    • Delphi & FreePascal
Re: Error during installation
« Reply #4 on: February 28, 2023, 07:18:02 am »
I do not know if FPCDeluxe does that automatically for you
It does O:-)
But you must install fpcupdeluxe
Than I might did it wrong all the time.
On my system the fpcupdeluxe (64bit) app is inside my download folder, from there I run it and let install/update my fpc/lazarus into its own folder (c:\tools\freepascal\)
« Last Edit: Tomorrow at 31:76:97 xm by KodeZwerg »

TRon

  • Hero Member
  • *****
  • Posts: 2503
Re: Error during installation
« Reply #5 on: February 28, 2023, 09:25:48 pm »
Thank you af0815 and KodeZwerg for the confirmation as I wasn't sure.

howardpc

  • Hero Member
  • *****
  • Posts: 4144
Re: Error during installation
« Reply #6 on: February 28, 2023, 09:42:50 pm »
Why does the forum's timing code produce nonsenses such as this?

TRon

  • Hero Member
  • *****
  • Posts: 2503
Re: Error during installation
« Reply #7 on: February 28, 2023, 09:46:27 pm »
@howardpc:
 :D

see also https://forum.lazarus.freepascal.org/index.php/topic,62368.msg471636.html#msg471636
Quote
On a completely other unrelated note: You tagline must be one of the best I've ever seen. The first time I noticed it I thought I perhaps consumed something with some strong intoxicating ingredient but got that sorted out pretty quickly. But darn, I keep being distracted by it every time I comes across it  8-)
And it still does...

Heinz

  • New Member
  • *
  • Posts: 12
Re: Error during installation
« Reply #8 on: March 04, 2023, 11:40:43 pm »
It works. Thanks

 

TinyPortal © 2005-2018