Recent

Author Topic: Fpcupdeluxe  (Read 362429 times)

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1122
Re: Fpcupdeluxe
« Reply #1320 on: July 07, 2019, 07:47:11 pm »
You have to install gcc-multilib I guess.
The 32bit gcc-files are missing.

circular

  • Hero Member
  • *****
  • Posts: 2964
    • Personal webpage
Re: Fpcupdeluxe
« Reply #1321 on: July 07, 2019, 11:43:20 pm »
Just tríed and I get the same error. I am gong to update distribution and see if it gets better
Conscience is the debugger of the mind

Cyrax

  • Hero Member
  • *****
  • Posts: 755
Re: Fpcupdeluxe
« Reply #1322 on: July 08, 2019, 09:56:14 am »
Just tríed and I get the same error. I am gong to update distribution and see if it gets better

If you can, you should install native 32-bit FPC suite (release version) first and then build the FPC trunk. Cross compiling from 64-bit to 32-bit is extremely volatile thing to do.

circular

  • Hero Member
  • *****
  • Posts: 2964
    • Personal webpage
Re: Fpcupdeluxe
« Reply #1323 on: July 08, 2019, 12:55:24 pm »
No more luck with fresh install of OS. I will install a 32 bit OS then.
Conscience is the debugger of the mind

Cyrax

  • Hero Member
  • *****
  • Posts: 755
Re: Fpcupdeluxe
« Reply #1324 on: July 08, 2019, 01:47:48 pm »
No more luck with fresh install of OS. I will install a 32 bit OS then.

You could use container like LXC and install 32-bit Linux there.

circular

  • Hero Member
  • *****
  • Posts: 2964
    • Personal webpage
Re: Fpcupdeluxe
« Reply #1325 on: July 08, 2019, 09:29:44 pm »
Ah indeed a container may be faster than a virtual machine. Well I tried the virtual machine anyway because that's what I know and it worked (slowly  :D).
Conscience is the debugger of the mind

Xor-el

  • Sr. Member
  • ****
  • Posts: 371
Re: Fpcupdeluxe
« Reply #1326 on: July 11, 2019, 01:41:13 pm »
@DonAlfredo, First of all, I must thank you for this wonderful tool, fpcupdeluxe.
with it I have been able to install FPC and Lazarus on some Oses I thought won't be possible before.  :)

I have three questions by the way.

1. it seems the debugger is not available in Solaris when I install Lazarus with FPCUPDeluxe. do you have any idea about this?

2. Are the FPCUPDeluxe binaries available for NetBSD and DragonFlyBSD fully functional? (that is can they download, compile and install Lazarus and FPC)?

3. I tried installing Lazarus and FPC Trunk using FPCUPDeluxe on FreeBSD 12 and I get the following error below.

Code: Pascal  [Select]
  1. FPCUPdeluxe V1.6.2x for x86_64-freebsd-gtk2
  2.  
  3. FPCUP(deluxe) is starting up.
  4.  
  5. Bootstrap dir:         /home/xor-el/Desktop/FPC320Fixes/fpcbootstrap
  6. FPC URL:               https://svn.freepascal.org/svn/fpc/branches/fixes_3_2
  7. FPC options:            -Fl/usr/local/lib -Fl/usr/pkg/lib
  8. FPC source directory:  /home/xor-el/Desktop/FPC320Fixes/fpcsrc
  9. FPC install directory: /home/xor-el/Desktop/FPC320Fixes/fpc
  10. Lazarus URL:           https://svn.freepascal.org/svn/lazarus/branches/fixes_2_0
  11. Lazarus options:        -Fl/usr/local/lib -Fl/usr/X11R6/lib -Fl/usr/pkg/lib -Fl/usr/X11R7/lib
  12. Lazarus directory:     /home/xor-el/Desktop/FPC320Fixes/lazarus
  13.  
  14. Please stand back and enjoy !
  15.  
  16. fpcupdeluxe: info: 12-7-19 05:50:33: fpcupdeluxe: V083 (20190529) started.
  17. fpcupdeluxe: info: FPCNativeInstaller (CleanModule: FPC): No FPC source [yet] ... nothing to be done
  18. fpcupdeluxe: ERROR: FPCNativeInstaller (CheckAndGetTools): Could not find SVN executable. Please make sure it is installed.
  19.  
  20.  
  21. ERROR: Fpcupdeluxe fatal error !
  22.  

it is saying something about not finding the svn executable while svn is available on my installation, infact, I have uninstalled svn and reinstalled it again from the package manager to see if the error would be resolved but unfortunately no progress.
any idea what is wrong.

Thanks once again.
« Last Edit: July 12, 2019, 06:57:26 am by Xor-el »

Xor-el

  • Sr. Member
  • ****
  • Posts: 371
Re: Fpcupdeluxe
« Reply #1327 on: July 12, 2019, 10:06:04 am »
I get the error in the image attached below when I try to change the "installdir" in FPCUPDeluxe.
My account has elevated privileges though that should not be a problem.
Does anyone have the slightest Idea what could be wrong?

OS
FreeBSD 12.0


trev

  • Full Member
  • ***
  • Posts: 198
Re: Fpcupdeluxe
« Reply #1328 on: July 12, 2019, 03:04:00 pm »
Are you in the wheel group? If so, I suggest su'ing to root rather than using sudo because with sudo:

Quote
                 To help prevent the editing of unauthorized files, the fol-
                 lowing restrictions are enforced unless explicitly allowed by
                 the security policy:

                 o   Symbolic links may not be edited (version 1.8.15 and
                     higher).

                 o   Symbolic links along the path to be edited are not fol-
                     lowed when the parent directory is writable by the invok-
                     ing user unless that user is root (version 1.8.16 and
                     higher).

                 o   Files located in a directory that is writable by the
                     invoking user may not be edited unless that user is root
                     (version 1.8.16 and higher).

Of course, it may just be easier to do everything as a mere mortal user by adjusting the file and directory permissions.
o Lazarus v2.1.0 r61775, FPC v3.3.1 r42640, macOS 10.14.6 (with sup update), Xcode 10.3
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.0 (Parallels VM)
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 18.04 (Parallels VM)

Xor-el

  • Sr. Member
  • ****
  • Posts: 371
Re: Fpcupdeluxe
« Reply #1329 on: July 12, 2019, 03:51:04 pm »
Are you in the wheel group? If so, I suggest su'ing to root rather than using sudo because with sudo:

Quote
                 To help prevent the editing of unauthorized files, the fol-
                 lowing restrictions are enforced unless explicitly allowed by
                 the security policy:

                 o   Symbolic links may not be edited (version 1.8.15 and
                     higher).

                 o   Symbolic links along the path to be edited are not fol-
                     lowed when the parent directory is writable by the invok-
                     ing user unless that user is root (version 1.8.16 and
                     higher).

                 o   Files located in a directory that is writable by the
                     invoking user may not be edited unless that user is root
                     (version 1.8.16 and higher).

Of course, it may just be easier to do everything as a mere mortal user by adjusting the file and directory permissions.

@trev, you mean in konsole, I should type

Code: Pascal  [Select]
  1. su root
  2.  

Have done that, unfortunately same result.

trev

  • Full Member
  • ***
  • Posts: 198
Re: Fpcupdeluxe
« Reply #1330 on: July 13, 2019, 01:53:49 am »
@trev, you mean in konsole, I should type
su root

Yep.

Quote
Have done that, unfortunately same result.

You still get permission errors?
o Lazarus v2.1.0 r61775, FPC v3.3.1 r42640, macOS 10.14.6 (with sup update), Xcode 10.3
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.0 (Parallels VM)
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 18.04 (Parallels VM)

Xor-el

  • Sr. Member
  • ****
  • Posts: 371
Re: Fpcupdeluxe
« Reply #1331 on: July 13, 2019, 07:36:59 am »
Quote
You still get permission errors?

Yes.

trev

  • Full Member
  • ***
  • Posts: 198
Re: Fpcupdeluxe
« Reply #1332 on: July 13, 2019, 09:53:07 am »
Have you tried manually creating the missing directory as root?  (ie /root/.local/share/.. etc)
o Lazarus v2.1.0 r61775, FPC v3.3.1 r42640, macOS 10.14.6 (with sup update), Xcode 10.3
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.0 (Parallels VM)
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 18.04 (Parallels VM)

Xor-el

  • Sr. Member
  • ****
  • Posts: 371
Re: Fpcupdeluxe
« Reply #1333 on: July 13, 2019, 10:54:40 am »
Have you tried manually creating the missing directory as root?  (ie /root/.local/share/.. etc)

the problem is not that the directory doesn't exists, the issue is that FPCUPDeluxe encounters issues opening the directory even when am running as root.

can you please try running FPCUPDeluxe on your FreeBSD box and try to change the installDir then you will see what am talking about.

Thanks.

trev

  • Full Member
  • ***
  • Posts: 198
Re: Fpcupdeluxe
« Reply #1334 on: July 13, 2019, 11:59:50 pm »
can you please try running FPCUPDeluxe on your FreeBSD box and try to change the installDir then you will see what am talking about.

Unfortunately not - I'm having other issues with fpc that need resolving first.
o Lazarus v2.1.0 r61775, FPC v3.3.1 r42640, macOS 10.14.6 (with sup update), Xcode 10.3
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.0 (Parallels VM)
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 18.04 (Parallels VM)