Raspbian w3c illegal instruction

Pagina: 1
Acties:

Vraag


Acties:
  • 0 Henk 'm!

  • etimm
  • Registratie: September 2002
  • Laatst online: 22-06 19:57
Heeft iemand een idee hoe ik w3c geïnstalleerd krijg op Raspbian buster? (Pi ZeroW)
w3c is blijkbaar geen onderdeel meer van de Raspbian repository en het installeren van w3c inclusief alle dependencies levert tot nu toe de melding "illegal instruction" op na het uitvoeren van het w3c commando.

Naar mijn weten heb ik de juiste versie van de packages uit de debian repository gebruikt (armhf/buster) en zou het moeten werken.
https://packages.debian.org/buster/armhf/w3m

Alle reacties


Acties:
  • 0 Henk 'm!

  • frickY
  • Registratie: Juli 2001
  • Laatst online: 18-09 14:42
"Illegal instruction" betekent dat je niet de juiste versie van een package hebt (de cpu snapt het niet).

Om welke Raspberry Pi gaat het überhaupt?
Wat is de output van cat /proc/cpuinfo en uname -a ?

Ah, de Pi ZeroW.
Dan moet je deze link hebben; https://packages.debian.org/buster/armel/web/w3m (armel ipv armhf).
armhf is voor ARMv7+, maar jij hebt ARMv6.

[ Voor 75% gewijzigd door frickY op 02-07-2020 09:43 ]


Acties:
  • 0 Henk 'm!

  • etimm
  • Registratie: September 2002
  • Laatst online: 22-06 19:57
Dat dacht ik eerst ook, maar ik krijg de melding
code:
1
...package architecture (armel) does not match system (armhf)
.
Zover ik weet is raspbian buster armhf, maar de Pi Zero W ARM61. De packages van de raspbian repository werken, maar zodra ik iets uit de debian repository werkend probeer te krijgen kom ik in een soort hybride hel terecht waarin ik niets werkend kan krijgen.
Misschien toch maar een Pi2 uit de kast trekken hiervoor...

[ Voor 56% gewijzigd door etimm op 02-07-2020 11:35 ]


Acties:
  • 0 Henk 'm!

  • frickY
  • Registratie: Juli 2001
  • Laatst online: 18-09 14:42
Raspbian builds a single image for all of the Raspberry families, so you will get an armhf 32-bit, hard floating-point system, but built for the ARMv6 ISA (with VFP2), unlike Debian's ARMv7 ISA (with VFP3) port.
Zie ook https://www.raspbian.org/...sitories_with_Raspbian.3F;
Can I mix packages from the Debian repositories with Raspbian?
The short answer is if you don't know what you are doing you should not mix them. For the long answer read on.

Debian armel packages use the soft float ABI which is incompatible with the hard float ABI used by Raspbian. In theory it should be possible to install Debian armel packages in parallel with Raspbian packages using multiarch. However multiarch setups conflict with a hack we had to make to support the videocore libraries and there are other potential issues too. As such we don't currently recommend or support multiarch configurations with Debian armel and Raspbian armhf.

Debian armhf packages should be compatible with Raspbian packages but a system with such a mixture WILL NOT RUN ON THE PI. Furthermore there may be corner cases where libraries build slightly differently on Raspbian. Such mixed systems can be useful for development (they were used heavily in the process of creating Raspbian) but are not recommended for general use.

Architecture independent ("arch all") packages are compatible between Debian and Raspbian. Source packages should in general be compatible though some may need modification to adjust compiler settings (most Debian packages just use the compiler defaults but some use their own settings for various reasons). A test script for testing packages for armv7 contamination is available at http://pastebin.com/BtSdvrXM but the script is not perfect and can suffer from both false positives and false negatives.
Je zou die dependencies zelf moeten kunnen compilen op de Raspi?

[ Voor 93% gewijzigd door frickY op 02-07-2020 14:18 ]