Jump to content

brickd auf fedora installieren


Recommended Posts

Hallo,

ich wollte heute auf 2.0 updaten. Nur gelingt mir nicht mehr auf meinem raspberry pi mit fedora das kompilieren.

Anscheinend findet das make script nicht die richtigen Pfade:

Package libusb-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libusb-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libusb-1.0' found
Package libusb-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libusb-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libusb-1.0' found
Package libusb-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libusb-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libusb-1.0' found
Package libudev was not found in the pkg-config search path.
Perhaps you should add the directory containing `libudev.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libudev' found
Package libudev was not found in the pkg-config search path.
Perhaps you should add the directory containing `libudev.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libudev' found
Package libudev was not found in the pkg-config search path.
Perhaps you should add the directory containing `libudev.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libudev' found
make: Warning: File `Makefile' has modification time 14938058 s in the future
CC brick.o
/bin/sh: gcc: Kommando nicht gefunden.
make: *** [brick.o] Fehler 127

Wo kann ich denn die Pfade ändern. Die Lib´s existieren ja (libudev.so.0.13.1 und libusb-1.0.so.0.1.0). Außerdem habe ich es auf dem selben System auch schon einmal gemacht. Da aber über das python script brickd_linux.py. Wie hier beschrieben http://www.tinkerunity.org/forum/index.php/topic,238.msg1054.html#msg1054

Oder bin ich auf dem falschen Weg?

 

Link zu diesem Kommentar
Share on other sites

Die Libs an sich reichen zum Ausführen von brickd, aber nicht zum kompilieren. Dafür werden noch die Header Dateien benötigt, die aus *-devel Paketen kommen:

 

sudo yum install libusb1-devel libudev-devel

 

Außerdem fehlt dir GCC. Den kannst du mittels

 

sudo yum groupinstall "Development Tools"

 

installieren, dabei werden auch noch weitere nötige Pakete installiert.

 

Jetzt sollte make alles finden und das Kompilieren funktionieren.

Link zu diesem Kommentar
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Gast
Reply to this topic...

×   Du hast formatierten Text eingefügt.   Formatierung jetzt entfernen

  Only 75 emoji are allowed.

×   Dein Link wurde automatisch eingebettet.   Einbetten rückgängig machen und als Link darstellen

×   Dein vorheriger Inhalt wurde wiederhergestellt.   Clear editor

×   Du kannst Bilder nicht direkt einfügen. Lade Bilder hoch oder lade sie von einer URL.

×
×
  • Neu erstellen...