Tuesday, April 30, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 7579  / 2 Years ago, tue, august 30, 2022, 7:28:21

Using the instructions found here, I have been trying to create source code from a python file using debhelper. I have reached the final step, where you have to enter:



$ debuild -us -uc


However, when I enter this command, I get the output:



/usr/bin/fakeroot: debian/rules: /usr/bin/make: bad interpreter: No such file or directory
dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 126


How can I get this to compile correctly?



EDIT: Here are the contents of my debian/rules file:



#!/usr/bin/make -f
%:
dh $@

More From » dpkg

 Answers
7

Try reinstalling make package



if dpkg -l | grep -q '^iis+makes'; then
sudo apt-get --reinstall install make
else
sudo apt-get install make
fi

[#43739] Wednesday, August 31, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
lowovey

Total Points: 287
Total Questions: 98
Total Answers: 117

Location: Bosnia and Herzegovina
Member since Thu, Jan 14, 2021
3 Years ago
;