[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Keine sys/io.h bei ./configure



Hallo Liste, Hallo Elimar!

Am 04.03.2023 um 10:43 schrieb Elimar Riesebieter:
* Thomas Fischer <fischi.leipzig@freenet.de> [2023-03-04 10:17 +0100]:



./configure
...
checking for netdb.h... yes
checking POSIX termios... yes
checking sys/io.h usability... no
checking sys/io.h presence... no
checking for sys/io.h... no
configure: error: essential header file is missing

$ apt-file search sys/io.h
ok apt-file installiert und:

apt-file search sys/io.h
Finding relevant cache files to search ...E: The cache is empty. You need to run "apt-file update" first.

sudo apt-file update
OK:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
OK:2 http://archive.raspberrypi.org/debian bullseye InRelease
Holen:3 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Contents (deb) [41,3 MB] Holen:4 http://archive.raspberrypi.org/debian bullseye/main armhf Contents (deb) [1.314 kB] Holen:5 http://raspbian.raspberrypi.org/raspbian bullseye/contrib armhf Contents (deb) [218 kB] Holen:6 http://raspbian.raspberrypi.org/raspbian bullseye/non-free armhf Contents (deb) [908 kB] Holen:7 http://raspbian.raspberrypi.org/raspbian bullseye/rpi armhf Contents (deb) [307 B] Es wurden 43,7 MB in 1 min 11 s geholt (619 kB/s).
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Aktualisierung für 10 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.

sudo apt list --upgradable
Auflistung… Fertig
curl/stable 7.74.0-1.3+deb11u7 armhf [aktualisierbar von: 7.74.0-1.3+deb11u5] libcamera-apps/stable 0~git20230301+54a781d-1 armhf [aktualisierbar von: 0~git20230125+9f08463-1] libcamera-tools/stable 0~git20230302+923f5d70-1 armhf [aktualisierbar von: 0~git20230124+9b860a66-1] libcamera0/stable 0~git20230302+923f5d70-1 armhf [aktualisierbar von: 0~git20230124+9b860a66-1] libcurl3-gnutls/stable 7.74.0-1.3+deb11u7 armhf [aktualisierbar von: 7.74.0-1.3+deb11u5] libcurl4/stable 7.74.0-1.3+deb11u7 armhf [aktualisierbar von: 7.74.0-1.3+deb11u5] python3-libcamera/stable 0~git20230302+923f5d70-1 armhf [aktualisierbar von: 0~git20230124+9b860a66-1]
python3-picamera2/stable 0.3.9-1 all [aktualisierbar von: 0.3.8-1]
python3-v4l2/stable 0.3.2-1 all [aktualisierbar von: 0.3.1-1]
rpi-imager/stable 1.7.4+rpt1 armhf [aktualisierbar von: 1.7.3+rpt1]

sudo apt-file search sys/io.h
dietlibc-dev: /usr/include/diet/sys/io.h
emscripten: /usr/share/emscripten/system/include/libc/sys/io.h
libc6-dev-amd64-cross: /usr/x86_64-linux-gnu/include/sys/io.h
libc6-dev-i386-cross: /usr/i686-linux-gnu/include/sys/io.h
libc6-dev-x32-cross: /usr/x86_64-linux-gnux32/include/sys/io.h
libc6.1-dev-alpha-cross: /usr/alpha-linux-gnu/include/sys/io.h
libklibc-dev: /usr/lib/klibc/include/arch/i386/sys/io.h
libklibc-dev: /usr/lib/klibc/include/arch/x86_64/sys/io.h
musl-dev: /usr/include/arm-linux-musleabihf/sys/io.h


Die Welt von apt-file und apt-list ist neu für mich. Deute ich das richtig, die io.h ist an anderer als der erwarteten Stelle vorhanden? Welche der gefundenen Dateien ist die richtige zum verlinken oder verschieben? Wie kann ich feststellen wo die sys/io.h erwartet wird?

Dir scheint das Paket libc6-dev zu fehlen.
sudo apt-get install libc6-dev
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
libc6-dev ist schon die neueste Version (2.31-13+rpt2+rpi1+deb11u5).
libc6-dev wurde als manuell installiert festgelegt.

Danke Thomas





Reply to: