I was just wondering, not sure if it is necessary (for me), I'm running crash and burn right now and let it install where it wanted to go, once I know what I'm doing I'll get official. It builds from a script which appears to be Gordon's original build script: download using git, cd into root directory, chmod +x build, and ./build.
Code:
ls -l /usr/local/lib
total 100
lrwxrwxrwx 1 root root 18 Jan 10 19:45 libwiringPi.so -> libwiringPi.so.2.0
-rwxr-xr-x 1 root root 70464 Jan 10 19:45 libwiringPi.so.2.0
lrwxrwxrwx 1 root root 21 Jan 17 18:27 libwiringPiDev.so -> libwiringPiDev.so.2.0
-rwxr-xr-x 1 root root 24048 Jan 17 18:27 libwiringPiDev.so.2.0
drwxr-xr-x 2 root root 4096 Nov 18 19:48 perl5
Don't know where that perl5 came from I'll have to check that out someday.
Code:
# ls /usr/local/include
drcSerial.h lcd128x64.h mcp23008.h mcp23s17.h mcp4802.h piGlow.h softTone.h wiringPiSPI.h
ds1302.h max31855.h mcp23016.h mcp3002.h pcf8574.h piNes.h sr595.h wiringSerial.h
gertboard.h max5322.h mcp23017.h mcp3004.h pcf8591.h sn3218.h wiringPi.h wiringShift.h
lcd.h maxdetect.h mcp23s08.h mcp3422.h piFace.h softPwm.h wiringPiI2C.h
Code:
# ls /usr/local/bin
gpio
Code:
# ls /usr/local/man/man1
gpio.1
I just built WiringLMK into ~/build on a BananaPro. I had to mkdir /usr /usr/bin /usr/include /usr/lib but not /usr/man/man1. There are make files in ./wiringLMK, ./gpio and ./devLib that need DESTDIR and PREFIX edited to suit. The build will fail if you don't add $(PREFIX) to the paths of the two commands that create symbolic links in /usr/lib. Line 119 in ./wiringLMK/Makefile and line 96 in ./libDev/Makefile.
There were no perls in there.