Closed bunchc closed 6 years ago
I got pretty much the same problem. I tried executing lines 144 and 145 by hand and got an error message saying "Python.h not found". That was fixed by
sudo apt-get install python-dev
After that, the helper script ran just fine.
Agreed, mine was failing on finding the tslib packages, which were included in the mirrordirector.raspbian.org repo, which does not look to be included in stretch-lite. This caused the script to dump. I added a check for that and included it in the pull request.
thx - will also take a look!
OK, I tried repeating what I did yesterday, and now it's NOT failing... I have no idea what I did differently last night. Today: new install of 2017-11-29-raspbian-stretch.img, set it up to run headless on a pi 0 W, update the packages, run adafruit-pitft-helper2.sh, it finishes properly. The only error message I get now is "no such file or directory" during the build of rpi-fbcp :
Add fbcp to /etc/rc.local...
Setting raspi-config to boot to desktop w/o login...
sh: 0: getcwd() failed: No such file or directory
That's due to the script going into /tmp/rpi-fbcp-master to build fbcp, then at line 323 that directory is removed without jumping out of it. I guess raspi-config looks to see which directory it's running from, and complains when it comes up empty-handed.
fixed
After following the guidance from this forum post on a fresh install of stretch, the following happens:
I can likely work around the 'warning' command issue, however, it doesn't look like tslib and libts-bin are in the stretch repos.