Many dependencies now deprecated and or missing, leads to non working setup script.
JM-Lemmi opened this issue · 1 comments
Step 4. Building and installing RoadApplePi
gcc raprec.c -o raprec -Wall -lmysqlclient -lm
raprec.c:34:10: fatal error: mysql/mysql.h: No such file or directory
#include <mysql/mysql.h>
^~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:3: raprec] Error 1
cp raprec /usr/bin
cp: cannot stat 'raprec': No such file or directory
make: *** [Makefile:8: install] Error 1
rm: cannot remove '/var/www/html/index.html': No such file or directory
chown: cannot access '/var/www/html': No such file or directory
chmod: cannot access '/var/www/html': No such file or directory
Created symlink /etc/systemd/system/multi-user.target.wants/raprec.service → /lib/systemd/system/raprec.service.
mkdir: cannot create directory ‘/var/www/html/vids’: No such file or directory
chown: cannot access '/var/www/html': No such file or directory
sudo: mysql: command not found
Done! Please reboot your Raspberry Pi now
The first run of the setup script terminated here.
Running it again shows, that there are a lot of packages missing:
RoadApplePi Setup v0.1-4-g34ee10a
Welcome to RoadApplePi setup. RoadApplePi is "Black Box" software that
can be retrofitted into any car with an OBD port. This software is meant
to be installed on a Raspberry Pi running unmodified Raspbian Stretch,
but it may work on other OSs or along side other programs and modifications.
Use with anything other then out-of-the-box Vanilla Raspbain Stretch is not
supported.
This script will download, compile, and install the necessary dependencies
before finishing installing RoadApplePi itself. Depending on your model of
Raspberry Pi, this may take several hours.
Would you like to continue? (y/N) y
Step 1. Updating system
Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:2 http://archive.raspberrypi.org/debian buster InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Step 2. Install pre-built dependencies from Apt
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'php7.0-thrift' for regex 'php7.0'
Note, selecting 'php7.0-remctl' for regex 'php7.0'
Note, selecting 'php7.0-common' for regex 'php7.0'
Note, selecting 'php7.0-curl' for regex 'php7.0'
Note, selecting 'php-remctl' instead of 'php7.0-remctl'
Note, selecting 'libmariadb-dev-compat' instead of 'libmariadbclient-dev-compat'
E: Unable to locate package php7.0-mysql
E: Couldn't find any package by glob 'php7.0-mysql'
E: Couldn't find any package by regex 'php7.0-mysql'
E: Unable to locate package php7.0-bcmath
E: Couldn't find any package by glob 'php7.0-bcmath'
E: Couldn't find any package by regex 'php7.0-bcmath'
Failed to disable unit: Unit file hostapd.service does not exist.
Step 3. Build ffmpeg (this may take a while)
FFMpeg already found at /usr/local/bin/ffmpeg! Using installed version.
Step 4. Building and installing RoadApplePi
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target 'install'. Stop.
cp: cannot stat 'html': No such file or directory
rm: cannot remove '/var/www/html/index.html': No such file or directory
chown: cannot access '/var/www/html': No such file or directory
chmod: cannot access '/var/www/html': No such file or directory
cp: cannot stat 'raprec.service': No such file or directory
cp: cannot stat 'hostapd-rap.conf': No such file or directory
cp: cannot stat 'dnsmasq.conf': No such file or directory
mkdir: cannot create directory ‘/var/www/html/vids’: No such file or directory
chown: cannot access '/var/www/html': No such file or directory
cp: cannot stat 'roadapplepi.sql': No such file or directory
sudo: mysql: command not found
Done! Please reboot your Raspberry Pi now