Recent

Author Topic: Fpcupdeluxe  (Read 550989 times)

WayneSherman

  • Full Member
  • ***
  • Posts: 111
Re: Fpcupdeluxe
« Reply #1830 on: June 02, 2021, 02:32:01 am »
Getting errors trying to install fpc/lazarus on Linux.  It doesn't get past fpc compilation.

I tried again and got it to work.  I am testing in a VirtualBox VM and it fails when building in a folder which is shared to my VM from the host (/mnt/fpcupdeluxe/stable/).  But if I install into a directory in my home, it works (/home/user/fpcupdeluxe).  hmm...

[EDIT]  I have write permissions to the VM shared folder (perms = 770 i.e. rwxrwx---), not as the owner but because I am in the vboxsf group.  Since the build process appears to set some permissions to 755 (rwxr-xr-x), I wonder if it is locking itself out from writing to certain directories or files?
« Last Edit: June 02, 2021, 02:54:14 am by WayneSherman »

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1462
Re: Fpcupdeluxe
« Reply #1831 on: June 02, 2021, 09:21:13 am »
Those errors seems to be generated by the Makefile itself. And do not seem to be related to fpcupdeluxe. You might try to perform an install from sources w/o the help of fpcupdeluxe to investigate the cause of this issue.

WayneSherman

  • Full Member
  • ***
  • Posts: 111
Re: Fpcupdeluxe
« Reply #1832 on: June 03, 2021, 03:20:11 am »
Those errors seems to be generated by the Makefile itself. And do not seem to be related to fpcupdeluxe. You might try to perform an install from sources w/o the help of fpcupdeluxe to investigate the cause of this issue.

Correct, it was not related to fpcupdeluxe.  Compiling FPC was fixed by changing my mount options to make my user the owner, and compiling Lazarus required symlink support on the file system.  For the benefit of others:

If you want to to compile FPC and Lazarus using Linux and a VirtualBox VM with a directory which is accessible from both the host and the VM, do the following:

1) When setting up a "Shared Folder" for the VM, do not select the automount checkbox.  Inside the VM add a mount entry to /etc/fstab

your_shared_folder_name  /home/your_user/your_shared_folder_name   vboxsf   uid=1000,gid=1000  0   0
(my user and group id are 1000, but yours may be different)

2) On the host run the following to enable symlink support for the VM shared folder:

VBoxManage setextradata "your_vm_name" VBoxInternal2/SharedFoldersEnableSymlinksCreate/your_shared_folder_name 1

References:
https://www.virtualbox.org/manual/ch04.html#sharedfolders
https://www.virtualbox.org/manual/ch08.html#vboxmanage-extradata
« Last Edit: June 03, 2021, 03:28:44 am by WayneSherman »

RDL

  • New Member
  • *
  • Posts: 35
Re: Fpcupdeluxe
« Reply #1833 on: June 22, 2021, 07:18:26 pm »
Hello.
I already asked this question on github. (https://github.com/LongDirtyAnimAlf/fpcupdeluxe/issues/392)
Let me ask about it here.
How do I compile "CrossBinsLinuxi386.zip" and "CrossLibsLinuxi386.zip" for glibc 2.19 arm and i386 linux?
thanks in advance
« Last Edit: June 22, 2021, 07:21:35 pm by RDL »
Sorry for my english, google translation!

RDL

  • New Member
  • *
  • Posts: 35
Re: Fpcupdeluxe
« Reply #1834 on: June 25, 2021, 04:30:48 pm »
What was done:
1. Linux version: Debian 8 Jessie (x86-64)
2. Installed fpc 3.2.2 and lazarus 2.0.12 via fpcupdelux
3. Installed Cross i386-linux via fpcupdelux
4. When compiling the i386-linux application, an error appears: / home / administrator / lazarus / cross / bin / i386-linux / i386-linux-ld: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2 .27 'not found (requires / home / administrator / lazarus / cross / bin / i386-linux / i386-linux-ld)
Sorry for my english, google translation!

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1462
Re: Fpcupdeluxe
« Reply #1835 on: June 25, 2021, 04:36:15 pm »
I will reply here.
Best to install the multi-libs for i386 on a x86_64 machine.
And point fpcupdeluxe towards these libs.

Alextp

  • Hero Member
  • *****
  • Posts: 1313
    • UVviewsoft
Re: Fpcupdeluxe
« Reply #1836 on: June 28, 2021, 08:58:09 pm »
I still cannot compile FPC 'stable' on macOS 10.8. Github report was posted...

valdir.marcos

  • Hero Member
  • *****
  • Posts: 1042
Re: Fpcupdeluxe
« Reply #1837 on: July 02, 2021, 10:51:25 pm »
I can't see Lazarus fixes_2_2 on latest fpcupdeluxe 1.8.2u:
https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/tag/1.8.2u


I am trying to test future Lazarus 2.2 RC 1:

We are planning the release of Lazarus 2.2
https://forum.lazarus.freepascal.org/index.php/topic,55111.0.html

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1462
Re: Fpcupdeluxe
« Reply #1838 on: July 19, 2021, 04:53:28 pm »
For the Daredevils out there ...  ;)
https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/tag/1.8.2v
Can be used as installer for the new Gitlab sources.

sstvmaster

  • Sr. Member
  • ****
  • Posts: 251
Re: Fpcupdeluxe
« Reply #1839 on: July 19, 2021, 06:44:49 pm »
Hi DonAlfredo,

many thanks for your hard work!
Windows 10 (64 bit)
Lazarus: 2.0.12 / Trunk x32

valdir.marcos

  • Hero Member
  • *****
  • Posts: 1042
Re: Fpcupdeluxe
« Reply #1840 on: July 19, 2021, 11:30:08 pm »
For the Daredevils out there ...  ;)
https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/tag/1.8.2v
Can be used as installer for the new Gitlab sources.
Have now everything on fpcupdeluxe moved from SVN to GIT?
Thanks for your hard work!

lucamar

  • Hero Member
  • *****
  • Posts: 4135
Re: Fpcupdeluxe
« Reply #1841 on: July 20, 2021, 01:56:25 am »
Have now everything on fpcupdeluxe moved from SVN to GIT?

AFAIK, fpcupdeluxe (and fpcup IIRC) has always been in GitHub. Only now both FPC and Lazarus are moving to GitLab, though (it seems) it's not yet completely operational (or at least it's still in the "testing" phase); hence the "daredevilness" of getting them from there :D
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

af0815

  • Hero Member
  • *****
  • Posts: 689
Re: Fpcupdeluxe
« Reply #1842 on: July 20, 2021, 08:08:32 am »
I see it more - for fpcupdeluxe it is not important where the source are - on svn, git or mercurial based repos - fpcupdeluxe speek all the languages/repos  :-) It is only a configuration question. And since the day where fpcup work, you can insert repos. The GUI is only 'sugar' for easier handling.

Keep in mind, fpcupdeluxe is not magic, it does the same you have to do if you build a compiler/crosscompiler. Every commando fpcupdeluxe use, is the same you use. The magic is the experinece and hard work of Alfred, to find out the secrets and hidden features, bring them in a automated way to stable work. And the longtime support of Alfred is absolutly top and should be acknowledged. I think it is the same long and hard way, like Florian and other have done with the compiler itself.   
« Last Edit: July 20, 2021, 08:13:55 am by af0815 »
regards
Andreas

El Salvador

  • Jr. Member
  • **
  • Posts: 56
Re: Fpcupdeluxe
« Reply #1843 on: July 20, 2021, 03:09:02 pm »
For the Daredevils out there ...  ;)
https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/tag/1.8.2v
Can be used as installer for the new Gitlab sources.
A quick question: but the configuration of the various versions of FPC & Lazarus are hard code? If for example, Lazarus version 2.10 is released (a random value), to install it with FPCUpdeluxe, do we have to wait for a new version or can I modify a configuration file?

 

TinyPortal © 2005-2018