css459 / arch-linux-arm-clockworkpi-a06

[UNMAINTAINED] Arch Linux ARM for the ClockworkPi DevTerm A06
GNU Lesser General Public License v2.1
15 stars 6 forks source link

Adding custom wiringPi PKGBUILD #1

Closed lonewsk closed 2 years ago

css459 commented 2 years ago

Will test this today and get it merged. Looks great and thanks again!!

lonewsk commented 2 years ago

Hope it'll work. I got audio covered also :)

css459 commented 2 years ago

Looks great thank you and sorry for the delay :)

css459 commented 2 years ago

@lonewsk

Do you get the following error when attempting to build the wiringpi-library?

[Compile] piFace.c
piNes.c:25:10: fatal error: wiringPi.h: No such file or directory
   25 | #include <wiringPi.h>
      |          ^~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:75: piNes.o] Error 1
make: *** Waiting for unfinished jobs....
gertboard.c:41:10: fatal error: wiringPi.h: No such file or directory
   41 | #include <wiringPi.h>
      |          ^~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:75: gertboard.o] Error 1
piFace.c:31:10: fatal error: wiringPi.h: No such file or directory
   31 | #include <wiringPi.h>
      |          ^~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:75: piFace.o] Error 1
maxdetect.c:30:10: fatal error: wiringPi.h: No such file or directory
   30 | #include <wiringPi.h>
      |          ^~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:75: maxdetect.o] Error 1
ds1302.c:30:10: fatal error: wiringPi.h: No such file or directory
   30 | #include <wiringPi.h>
      |          ^~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:75: ds1302.o] Error 1
==> ERROR: A failure occurred in package().
    Aborting...
lonewsk commented 2 years ago

No, I can't reproduce this error. Did you used makepkg -si?

Can you show me what's in your src/ directory? wiringPi.h is supposed to be cloned from Clockworkpi's repo

I may have tried to install the wiringpi-git package prior to making this PKGBUILD, I may have forgotten something.

css459 commented 2 years ago

I tried this within a clean Arch ARM image when trying to build the next release. The src directory contains only, in full, the DevTerm repository.