LongDirtyAnimAlf / fpcupdeluxe

A GUI based installer for FPC and Lazarus
490 stars 89 forks source link

fpcupdeluxe 2.4b, on Linux x64, getting cross-bins error #652

Closed uvwx413 closed 9 months ago

uvwx413 commented 9 months ago

...... fpcupdeluxe: ERROR: Failure due to missing cross binary tools. fpcupdeluxe: ERROR: Failure due to missing cross libraries.

Looking for FPCUPdeluxe cross-tools on GitHub (if any). Going to look for the right cross-bins. Can (will) take some time ! Looking for: CrossBinsLinuxAarch64

...... fpcupdeluxe: ERROR: Failure due to missing cross binary tools. fpcupdeluxe: ERROR: Failure due to missing cross libraries.

Looking for FPCUPdeluxe cross-tools on GitHub (if any). Going to look for the right cross-bins. Can (will) take some time ! Looking for: CrossBinsFreeBSDx64

gcarreno commented 9 months ago

Hey @uvwx413,

We're gonna wait for a final on this from @LongDirtyAnimAlf, but if I'm not mistaken, this is as intended.

What do I mean by this? When you do a fresh install of any cross compiler that needs tools and libs, those are missing from your folder. That's what fpcupdeluxe is relating to you, that they are missing, since they have never been downloaded.

I'm quite sure that, immediately, after that message was shown, the downloader began to get them, right?

Hope this clarifies your doubts. Nonetheless, let's wait to see what @LongDirtyAnimAlf has to say.

Cheers, Gus

LongDirtyAnimAlf commented 9 months ago

You might give me some more info. Please show me a screenshot of fpcupdeluxe with the error. And FPC and Lazarus version. Thanks.

uvwx413 commented 9 months ago

Thanks! This is the screen shot. FPC is stable version(3.2.2), Lazarus is stable version(3.0) if press OK button(right of Abort Button), downloading not startup. Yes, this is a fresh installation of cross compiler. 2023-12-24_17-46-54

uvwx413 commented 9 months ago

The previous information window is: 2023-12-24_17-47-52

LongDirtyAnimAlf commented 9 months ago

You seem to use the zip-install of FPC and Lazarus. Please tell me the reason to do so. Thanks.

uvwx413 commented 9 months ago

You seem to use the zip-install of FPC and Lazarus. Please tell me the reason to do so. Thanks.

Yes, This is a ZIP-install. The fpcupdeluxe report downloading error now and then, if I use git-install. Sometimes the network is slow, sometimes the connection times out(downloading interrupted) or the downloaded file cannot be found. Normally,zip-Install has a high chance of success。

But fpcupdeluxe is indeed a good tool for installing Lazarus, as it supports different platforms and provides cross compilation tools. Thank you very much!

LongDirtyAnimAlf commented 9 months ago

Thanks for explaining ! The tools and libs that are needed for cross-compiling are also downloaded from GitHub. So you might suffer from a bad connection also when trying to install a cross-compiler. However. You can also install the tools by yourself. Download the binaries and the libraries and unpack them in the correct location. Fpcupdeluxe will find them and build the cross-compiler.

upbins uplibs

uvwx413 commented 9 months ago

Yes, Its OK. if download the *.zip file directly and unpack it to fpcupdeluxe/cross/....
the downloading speed is 350KB/s

I have found that if try N+1 times, fpcupdeluxe downloads the croosbins and crosslibs file sometimes succeeds. Thanks!