Due to a problem in the Quartus® Prime software version 17.1 Update 1 and earlier, you may see the error message mentioned above if you generate the HPS (Hard Processor System) system in Platform Designer. This only happens with Linux operating systems when you have not installed the “make” libraries. You may refer to the document here for Linux prerequisite libraries before using the Quartus® Prime software. This problem commonly occurs on the Ubuntu Operating System as “make” libraries are not installed by default.
To work around this problem, install the make libraries on the Linux Operating System.
To install the make packages, type the following command.
-sudo apt-get update
-sudo apt-get install build-essential