16 votes
Accepted

Install drivers for RTL8812au wireless usb adapter

Literally the very next thing I tried worked. I spent the last 5 hours working on this so I'll go ahead and share what I did to fix. First, I sourced my drivers from the following github repo. sudo ...
Rob S.'s user avatar
  • 421
6 votes

No rule to make target 'mailbox.c', needed by 'servod'

Don't use wget to fetch files from github. Use git: sudo apt-get install git git clone https://github.com/richardghirst/PiBits cd PiBits/ServoBlaster/user make servod The file mailbox.c is right ...
Dmitry Grigoryev's user avatar
4 votes
Accepted

How long does it take to build cmake on a raspberry pi 3 A+

I have recently been through this process and wanted to capture the answer for future reference. These benchmarks were taken using a regular stopwatch. Configure: 30 minutes Make: 80 minutes Make ...
GPPK's user avatar
  • 161
3 votes

How can I install vcgencmd on Debian system?

Short answer: Copying from raspberry pi arm64 image works: root@rpi4:/home/user# apt-get install wget unzip root@rpi4:/home/user# wget https://downloads.raspberrypi.org/raspios_lite_arm64/images/...
yan yan's user avatar
  • 31
3 votes
Accepted

GCC and makefile on Raspberry Pi running NOOBS deletes my c file

The -o option to gcc specifies the name to be given to the executable. You are saying name the executable as the input source code. That is almost certainly an error.
joan's user avatar
  • 71.1k
3 votes

Fatal Error: GLES2/gl2.h: No such file or directory

The file GLES2/gl2.h belongs to the package called libgles2-mesa-dev, which you should install with apt-get.
Dmitry Grigoryev's user avatar
3 votes

pifm Crash Loop my Raspberry Pi

First, get rid of that init script and forget about it. It's pointless in light of what it means to achieve, in addition to having been written by someone who do not understand how to achieve it ...
goldilocks's user avatar
  • 58.9k
2 votes
Accepted

How to use "$MAKE install" right?

POSIX shells such as bash use $ as a unary operator to substitute the value of a named variable. A gotcha with variables is they don't have to have been declared in any particular context; you won't ...
goldilocks's user avatar
  • 58.9k
2 votes

How to install latest munin server

This appears to be the same issue as bug #837788 in the Debian bug tracker. It appears that this is actually by design, and Munin installed without any problems from the repo on your Pi: On Fri, 10 ...
Aurora0001's user avatar
  • 6,308
2 votes

Makefile error at 36% trying to install OpenCV 4 on RaspBerry Pi 4

From here, Willprice user say exaclty what I say in the comment : OpenCV builds can sometimes fail due to using too many threads, try running make instead of make -j $(nproc) or Make sure to ...
Ephemeral's user avatar
  • 2,157
2 votes
Accepted

How can I install vcgencmd on Debian system?

That github page does refer to the fact that you can specify an architecture as an option to buildme, eg. the 64-bit build would be --aarch64, if you are running 64-bit Debian. Otherwise you would ...
goldilocks's user avatar
  • 58.9k
2 votes
Accepted

How to modularize module in make menuconfig

This should be a top level choice in the main menu of menuconfig: [ ] Enable loadable module support You want to select that, then there is a submenu; the defaults there are probably fine ...
goldilocks's user avatar
  • 58.9k
1 vote
Accepted

How can I fix "atomic" related issues in my build?

I made it work! :) I'm no Linux expert and I made plenty of tests (trial & errors) so here are some notes that might help the next person who has this problem: The app I was needing the grpc for ...
Don Madrino's user avatar
1 vote
Accepted

Open CV Cmake g++ does not work on Rasbian jessie

Here is what I found. I had two versions g++ and g++-4.9. I uninstalled both of them .Just installed g++4.9 and changed the path to /usr/bin/g++4.9. It solved the problem!
pranathi's user avatar
  • 111
1 vote

Makefile error at 36% trying to install OpenCV 4 on RaspBerry Pi 4

I would try installing with the command sudo apt-get install python3-opencv #For python3 sudo apt-get install python-opencv #For python2 and if that doesn't work, compile it from source with this ...
Alessandro Rodriguez's user avatar
1 vote

Makefile error at 36% trying to install OpenCV 4 on RaspBerry Pi 4

It would be easier to install using pip and python3 with the command sudo apt install python3-opencv. It works for me every time and it installs the latest version of opencv
Atia's user avatar
  • 21
1 vote
Accepted

Failure to build QT5 5.12.3 on Raspberry Pi zero

I've managed to build Qt5.12 on a pi-4. I used the following script cobbled together from a couple of sources: # Qt 5.12 build # See: https://wiki.qt.io/Building_Qt_5_from_Git#...
Damian Dixon's user avatar
1 vote

Segmentation fault error while installing opencv on raspberry pi 3. Any reason for that?

Could be running out of memory. Use htop to view cpu and ram usage when running command. Configure your RPI to add swap memory if needed.
sirshakir's user avatar
1 vote
Accepted

libtbb sh script not working

The step you got stuck on is this one: source tbbvars.sh But then, some remarks in your question hint that you did not follow that exactly: You tried to execute it with bash tbbvars.sh or sh ...
janos's user avatar
  • 561
1 vote
Accepted

Make Error (trying to install openOCD)

I was able to resolve my problem following the installation steps mentioned in this tutorial. From the tutorial, I did the following (after reflashing Raspian to my SD): $ sudo apt-get build-dep ...
arturofa95's user avatar
1 vote

Problem compiling a kernel module

Your first mistake is in running rpi-update "In normal circumstances there is NEVER a need to run rpi-update as it always gets you to the leading edge firmware and kernel and because that may be a ...
Milliways's user avatar
  • 60k
1 vote

Disable expert mode

What's happening is that because you are running silentoldconfig, you are going through the configuration again, but instead of using the TUI based menuconfig, you get to do it line-by-line -- at ...
goldilocks's user avatar
  • 58.9k
1 vote
Accepted

Make a Lightweight Linux

I use DietPi and it works fine for me. It is lightweight and includes management tools for your RPI with a list of optional downloadable software. Also, it helps with overclocking and SSH. Another ...
GameHog's user avatar
  • 56
1 vote

Error while trying to compile RStudio

3 years later, based on dhewlett's answer, I was able to build RStudio 1.1.463 on Raspbian Stretch. I've put it all into a docker build for easier reproducibility. It comes in several parts. First ...
Artur Klauser's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible