5 echo "* wiringPi needs the I2C Development Libraires installing."
7 echo "If using Debian/Raspbian, then type this command:"
8 echo " sudo apt-get install libi2c-dev"
9 echo "then run ./build again."
11 echo "If using another Linux distribution, then you will have to"
12 echo "work out how to install the I2C Developmen Libraries for your"
13 echo "system. (Sorry - I don't know - do let me know though!)"
23 echo "Please check the messages and fix any problems. If you're still stuck,"
24 echo "then please email all the output and as many details as you can to"
25 echo " projects@drogon.net"
32 if [ x$1 = "xclean" ]; then
42 elif [ x$1 = "xuninstall" ]; then
45 echo "WiringPi library"
54 echo wiringPi Build script - please wait...
57 # Check for I2C being installed...
59 if [ ! -f /usr/include/linux/i2c-dev.h ]; then
62 grep -q i2c_smbus_read_byte /usr/include/linux/i2c-dev.h
67 echo "WiringPi library"