Can't install wiringPi in Domoticz

Moderator: leecollings

Post Reply
Mightymicro
Posts: 5
Joined: Monday 09 February 2015 20:47
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Can't install wiringPi in Domoticz

Post by Mightymicro »

Hi all,
I am trying to install wiringPi on to my Raspberry pi which I have running Domoticz. I followed the instructions on the wiki but when I try to instal it with './build 'it just gives me lots of errors mainly error 127.
any Ideas what I might be doing wrong.Below is what I get when I try.



Linux domoticzpi 4.1.13+ #826 PREEMPT Fri Nov 13 20:13:22 GMT 2015 armv6l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sat Jan 9 10:43:27 2016 from 192.168.0.4
pi@domoticzpi ~ $ cd wiringPi
pi@domoticzpi ~/wiringPi $ ./build
wiringPi Build script
=====================


WiringPi Library
[UnInstall]
[Compile] wiringPi.c
[Compile] wiringSerial.c
[Compile] wiringShift.c
[Compile] piHiPri.c
make: gcc: Command not found
make: gcc: Command not found
[Compile] piThread.c
Makefile:95: recipe for target 'wiringPi.o' failed
make: *** [wiringPi.o] Error 127
make: *** Waiting for unfinished jobs....
Makefile:95: recipe for target 'wiringShift.o' failed
make: *** [wiringShift.o] Error 127
make: gcc: Command not found
make: gcc: Command not found
Makefile:95: recipe for target 'wiringSerial.o' failed
make: *** [wiringSerial.o] Error 127
Makefile:95: recipe for target 'piHiPri.o' failed
make: *** [piHiPri.o] Error 127
make: gcc: Command not found
Makefile:95: recipe for target 'piThread.o' failed
make: *** [piThread.o] Error 127
pi@domoticzpi ~/wiringPi $
User avatar
sincze
Posts: 1299
Joined: Monday 02 June 2014 22:46
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Location: Netherlands / Breda Area
Contact:

Re: Can't install wiringPi in Domoticz

Post by sincze »

Mmm I used these instructions to get it up and running
http://wiringpi.com/download-and-install/

Sent from my SM-G925F using Tapatalk
Pass2php
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
Mightymicro
Posts: 5
Joined: Monday 09 February 2015 20:47
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Can't install wiringPi in Domoticz

Post by Mightymicro »

Thanks for the reply but I have tried both plan A and B in those instructions and get the same result.
Mightymicro
Posts: 5
Joined: Monday 09 February 2015 20:47
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Can't install wiringPi in Domoticz

Post by Mightymicro »

I got it working, I missed the below instruction in the wiki.


"Installation

The GPIO driver is based on the wiringPi library by Gordon Henderson, so you first need to install it following this procedure
The wiringPi installer will probably give an error (make gcc not found). Install these by issueing:

sudo apt-get update
sudo apt-get install make
sudo apt-get install gcc "
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests