Recent

Author Topic: Fpcupdeluxe  (Read 382566 times)

Alextp

  • Hero Member
  • *****
  • Posts: 901
    • UVviewsoft
Re: Fpcupdeluxe
« Reply #1440 on: November 17, 2019, 10:09:38 pm »
FPC trunk on FreeBSD 12 has problem with DirectoryExists (it don't work in my app for some folders). FYI

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7627
Re: Fpcupdeluxe
« Reply #1441 on: November 18, 2019, 12:17:00 am »
FPC trunk on FreeBSD 12 has problem with DirectoryExists (it don't work in my app for some folders). FYI

- do you have a custom kernel?
- what is the relevant strace/ktrace/truss output?

hunghung

  • Full Member
  • ***
  • Posts: 120
Re: Fpcupdeluxe
« Reply #1442 on: November 20, 2019, 07:13:23 am »
@Alex: If it's the reason why Fpcupdeluxe failed on FreeBSD and said it can't create fpcbootstrap directory then I would say it's also failed on FreeBSD 11.3.

@marcov: We all use generic kernel, mine is a vanilla FreeBSD 11.3 with LXDE desktop.

@Don: I used the stable 3.0.4 version so this is the reason why it failed.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1170
Re: Fpcupdeluxe
« Reply #1443 on: November 20, 2019, 07:31:21 am »
Did you all even try the latest FreeBSD version of fpcupdeluxe ?
It gave me a working FPC and Lazarus trunk on GhostBSD (FreeBSD 12.1).

hunghung

  • Full Member
  • ***
  • Posts: 120
Re: Fpcupdeluxe
« Reply #1444 on: November 20, 2019, 04:32:31 pm »
Did you all even try the latest FreeBSD version of fpcupdeluxe ?
It gave me a working FPC and Lazarus trunk on GhostBSD (FreeBSD 12.1).

Sorry. I didn't try it. It misread your post.

Alextp

  • Hero Member
  • *****
  • Posts: 901
    • UVviewsoft
Re: Fpcupdeluxe
« Reply #1445 on: November 20, 2019, 10:15:38 pm »
I used vanilla kernel, from FuryBSD (based on freebsd 12). I already posted that report to mail list, GraemeG told he will see it.

hunghung

  • Full Member
  • ***
  • Posts: 120
Re: Fpcupdeluxe
« Reply #1446 on: November 21, 2019, 05:44:28 pm »
After many failed attempts I installed Linux on a spare machine and dedicate it to Lazarus. I use the stock Lazarus installed from Debian packages from lazarus-ide.org, though. When I have something worth to share other than helloworld level of programs I will reconsider using Fpcupdeluxe for cross compiling to other platforms.

Edit1: Fpcupdeluxe's cross compiling ability is awesome. I tried to build cross compilers for various platforms and these compilers could produce working binary. My example is kind of a helloworld program, though, I don't know if it still that easy for complex programs.

Edit2: Get a working FPC and Lazarus doesn't mean it work flawlessly. I found many minor problems on not official supported platforms. So I decided to go back to Linux, an officically supported platform, if I want to compile for other platforms I will consult Fpcupdeluxe. Thanks everyone for helped me in the past.

Edit3: @Alex, your Cudatext is great, I'm exploring it, but I have to said that I can't get much from it since I'm not a programmer. I will keep Cudatext side by side with Geany, though.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1170
Re: Fpcupdeluxe
« Reply #1447 on: November 21, 2019, 06:33:45 pm »
New release: 1.6.4e
https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/tag/1.6.4e

Introducing working cross-compilation towards FreeBSD12 x86_64 with FPC trunk.
(please delete previous libs and bins; have fpcupdeluxe download the latest versions of the libs and bins)

Again many thanks towards the FPC and Lazarus guys for making this all possible.


Xor-el

  • Sr. Member
  • ****
  • Posts: 384
Re: Fpcupdeluxe
« Reply #1448 on: November 22, 2019, 11:53:44 am »
New release: 1.6.4e
https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/tag/1.6.4e

Introducing working cross-compilation towards FreeBSD12 x86_64 with FPC trunk.
(please delete previous libs and bins; have fpcupdeluxe download the latest versions of the libs and bins)

Again many thanks towards the FPC and Lazarus guys for making this all possible.

Hi Don.
So I had some time today to test out the latest FPCUPDeluxe version 1.6.4e on my GhostBSD 19.09 Installation and it unfortunately didn't go well.

attached below is a screenshot of my error log.
as you can see, I am executing the binary using sudo so this is not a permissions issue.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1170
Re: Fpcupdeluxe
« Reply #1449 on: November 22, 2019, 11:56:50 am »
Try to use GIT as an alternative to SVN.
So, after installation of GIT, select trunkgit.
(after deleting the fpcsrc directory)

Xor-el

  • Sr. Member
  • ****
  • Posts: 384
Re: Fpcupdeluxe
« Reply #1450 on: November 22, 2019, 12:15:07 pm »
Try to use GIT as an alternative to SVN.
So, after installation of GIT, select trunkgit.
(after deleting the fpcsrc directory)

so trying out the GIT variant, almost 20 mins yet stuck at cloning into .......

checked the fpcsrc folder and unfortunately it's empty.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1170
Re: Fpcupdeluxe
« Reply #1451 on: November 22, 2019, 12:17:18 pm »
If both SVN and GIT fail, there is a connection problem.
And this should not happen.

Try to run the GIT or SVN command yourself (copy-paste from screen).

Xor-el

  • Sr. Member
  • ****
  • Posts: 384
Re: Fpcupdeluxe
« Reply #1452 on: November 22, 2019, 01:01:11 pm »
If both SVN and GIT fail, there is a connection problem.
And this should not happen.

Try to run the GIT or SVN command yourself (copy-paste from screen).

so after cloning the git repos manually, I get a new error message from FPCUPDeluxe when building.


DonAlfredo

  • Hero Member
  • *****
  • Posts: 1170
Re: Fpcupdeluxe
« Reply #1453 on: November 22, 2019, 01:44:51 pm »
Yes. Known error.
Open the file /usr/lib/libc.so (or where it is located).

You will see that this is a normal (and very small) text file.
It combines libc.so.7 with two other libraries.
However, these two libraries are non-existent.
This is a GhostBSD bug.
Just remove those two file-names from libc.so that cause the linking failure.
FPC and Lazarus link with libc.so, and not with libc.so.7

Xor-el

  • Sr. Member
  • ****
  • Posts: 384
Re: Fpcupdeluxe
« Reply #1454 on: November 22, 2019, 04:49:56 pm »
Yes. Known error.
Open the file /usr/lib/libc.so (or where it is located).

You will see that this is a normal (and very small) text file.
It combines libc.so.7 with two other libraries.
However, these two libraries are non-existent.
This is a GhostBSD bug.
Just remove those two file-names from libc.so that cause the linking failure.
FPC and Lazarus link with libc.so, and not with libc.so.7

@DonAlfredo, finally got it to work, thanks.

for those having issues with svn version mismatch on FreeBSD or GhostBSD, simply run the command below to resolve the issue.
Code: Pascal  [Select]
  1. sudo pkg install sqlite3