yusefnapora / pixelbook-linux

257 stars 50 forks source link

TASK [eve-touchpad : Build libgestures] #45

Open recv2383-home opened 4 years ago

recv2383-home commented 4 years ago

Getting the below error, any ideas?

fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["make"], "delta": "0:00:00.035039", "end": "2020-03-12 22:35:29.399416", "msg": "non-zero return code", "rc": 2, "start": "2020-03-12 22:35:29.364377", "stderr": "Must specify package names on the command line\nMust specify package names on the command line\n/bin/sh: 1: g++: not found\nmake: [Makefile:177: obj/accel_filter_interpreter.o] Error 127", "stderr_lines": ["Must specify package names on the command line", "Must specify package names on the command line", "/bin/sh: 1: g++: not found", "make: [Makefile:177: obj/accel_filter_interpreter.o] Error 127"], "stdout": "mkdir -p obj .deps || true\ng++ -g -std=gnu++11 -fno-exceptions -fno-strict-aliasing -fPIC -Wall -Wempty-body -Wignored-qualifiers -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wsign-compare -Wtype-limits -D__STDC_FORMAT_MACROS=1 -D_FILE_OFFSET_BITS=64 -DGESTURES_INTERNAL=1 -I.. -O1 -DVCSID=\"\\"1234 TESTVERSION\\"\" --coverage -ftest-coverage -fprofile-arcs -I/usr/include/jsoncpp -MMD -c -o obj/accel_filter_interpreter.o src/accel_filter_interpreter.cc", "stdout_lines": ["mkdir -p obj .deps || true", "g++ -g -std=gnu++11 -fno-exceptions -fno-strict-aliasing -fPIC -Wall -Wempty-body -Wignored-qualifiers -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wsign-compare -Wtype-limits -D__STDC_FORMAT_MACROS=1 -D_FILE_OFFSET_BITS=64 -DGESTURES_INTERNAL=1 -I.. -O1 -DVCSID=\"\\"1234 TESTVERSION\\"\" --coverage -ftest-coverage -fprofile-arcs -I/usr/include/jsoncpp -MMD -c -o obj/accel_filter_interpreter.o src/accel_filter_interpreter.cc"]}

PLAY RECAP ***** localhost : ok=57 changed=20 unreachable=0 failed=1 skipped=4 rescued=0 ignored=0

recv2383-home commented 4 years ago

Ran this for the gcc error but I think my g++ is goofed now

sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 800 --slave /usr/bin/g++ g++ /usr/bin/g++-8

recv2383-home commented 4 years ago

fixed***

I removed g++ via sudo apt remove g++ and reinstalled g++