PDA

View Full Version : help make: command not found



shishio
10-17-2011, 02:23 PM
Hi everyone,

Im running Knoppix version 6.7.1 through a USB stick on my laptop in order to recover a hard drive. This is my first time dealing with a Linux system and when i try to use the "make" command i get the message:
"make: command not found".
how can i get "make" to work?

Thanks

shishio
10-18-2011, 12:18 PM
Ok, so i managed to install "make" manually but now when i try to use it to install "ddrescue" it tells me "c++: command not found".
I tried doing "apt-get update && apt-get upgrade" and after about 2 hours it finished and threw many "error adding ..." messages but also many "Setting up...." messages.
I then tried running "apt-get install build-essential" and then it threw:
"The following packages have unmet dependencies:
build-essential: Depends: g++ (>=4: 4.4.3) but it is not going to be installed
Depends: make but it is not going to be installed
Depends: dpkg-dev (>=1.13.5) but it is not going to be installed
E: Broken packages"

when i try to install any of those dependencies through "Synaptic" i get errors that they depend on something else and it goes on forever like this.
Isn't there any way to automatically install all dependencies?

klaus2008
10-18-2011, 08:01 PM
There are two programs called ddrescue. One is already present in Knoppix 6.7.1. Its executable is called /bin/dd_rescue. You can find the other program in the Debian package gddrescue (http://packages.debian.org/en/squeeze/gddrescue). Thus I do not think you need to compile the program.