Lazarus

Programming => Operating Systems => Other => Topic started by: TCH on June 08, 2021, 09:29:45 am

Title: [SOLVED] Installing Lazarus 2.0.12 with FreePascal 3.2.2 fails under Solaris 10
Post by: TCH on June 08, 2021, 09:29:45 am
The build succeeds, but when the command gmake install is given, it throws a bunch of errors like this
Code: [Select]
/opt/csw/gnu/cp: preserving permissions for '/path/to/file': Invalid argumentCould be solved by doing
Code: Bash  [Select][+][-]
  1. mv /opt/csw/gnu/cp /opt/csw/gnu/cp.bak && ln -s /bin/cp /opt/csw/gnu/cp
before and
Code: Bash  [Select][+][-]
  1. mv /opt/csw/gnu/cp.bak /opt/csw/gnu/cp
after the install command, but before this, it worked. (With FreePascal 3.2.0 and Lazarus 2.0.10.)
Title: Re: Installing Lazarus 2.0.12 with FreePascal 3.2.2 fails under Solaris 10
Post by: marcov on June 08, 2021, 09:38:50 am
Try passing  CP=/bin/cp n the gmake commandline.
Title: Re: Installing Lazarus 2.0.12 with FreePascal 3.2.2 fails under Solaris 10
Post by: TCH on June 08, 2021, 09:42:42 am
Thanks, that is better than doing the renaming each time. But what could happen that this is needed now?
Title: Re: Installing Lazarus 2.0.12 with FreePascal 3.2.2 fails under Solaris 10
Post by: marcov on June 08, 2021, 09:52:28 am
Thanks, that is better than doing the renaming each time. But what could happen that this is needed now?

Putting gnu tools in PATH before system dir ?
Title: Re: Installing Lazarus 2.0.12 with FreePascal 3.2.2 fails under Solaris 10
Post by: TCH on June 08, 2021, 10:04:08 am
It was there last time too.
TinyPortal © 2005-2018