SpatiumPortae / portal

Portal is a quick and easy command-line file transfer utility from any computer to another 🌌 ✨
https://portal.spatiumportae.com
MIT License
1.39k stars 35 forks source link

Android andronix & debian illegal instruction #147

Open iinta opened 9 months ago

iinta commented 9 months ago

I got Motorola snapdragon with andronix debian( Linux)

Used your guide to get latest version but it says ' illegal instruction" I guess it's cos CPU. At compile should Include arm? Arc.

I'm no sw expert to compile this by myself and the linuxbrew denied co/operation would do it by myself..

ZinoKader commented 9 months ago

The releases are targeting a lot of architectures. Have you tried this specific debian package?

https://github.com/SpatiumPortae/portal/releases/download/v1.2.3/portal_1.2.3_Linux_arm64.deb

iinta commented 9 months ago

Hello,

This is what it said.

[Detected OS: linux_amd64]

[1/3] Fetching latest release of portal... [2/3] Downloading portal v1.2.3 ( https://github.com/SpatiumPortae/portal/releases/download/v1.2.3/portal_1.2.3_Linux_x86_64.tar.gz). ..

=#=# ##O#-

                     ##O=#  #

=#=-

                     ###############

###################################### ########################################################################################################################## 100.0% [3/3] 🎉 Portal v1.2.3 installed at /usr/local/bin/portal

$$$$@@@@$$$$

@.:~$ portal Illegal instruction @.:~$

Cheers, intti P.s.

Thanks for fast reply.

On Fri, Nov 24, 2023, 10:44 Zino Kader @.***> wrote:

The releases are targeting a lot of architectures. Have you tried this specific debian package?

https://github.com/SpatiumPortae/portal/releases/download/v1.2.3/portal_1.2.3_Linux_arm64.deb

— Reply to this email directly, view it on GitHub https://github.com/SpatiumPortae/portal/issues/147#issuecomment-1825323446, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUYBGEN3YTL7V3G2J7WT2SLYGBM63AVCNFSM6AAAAAA7YX3WO2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRVGMZDGNBUGY . You are receiving this because you authored the thread.Message ID: @.***>

ZinoKader commented 9 months ago

[Detected OS: linux_amd64]

It seems like the OS detection is not doing a great job of detecting your OS, as you say you're running Debian. As you can see, the file fetched and installed is the following

https://github.com/SpatiumPortae/portal/releases/download/v1.2.3/portal_1.2.3_Linux_x86_64.tar.gz

What I suggest for you to get a working version going is to use this package instead, as it is the correct one for your OS: https://github.com/SpatiumPortae/portal/releases/download/v1.2.3/portal_1.2.3_Linux_arm64.deb

Although, if the problem is an illegal instruction it might be that you're on ARM rather than x86. Try the Linux ARM packages in that case.

iinta commented 9 months ago

Yes though so that the CPU architecture was the problem because the error message. . Just followed the instructions, it is modified version from Google play. Thanks for the arm link trying that.