Find the answer to your Linux question:
Results 1 to 7 of 7
I'm trying to copy a hard drive using Antonio Diaz's GNU 'ddrescue'. This is my log in knoppix (live CD)... Code: knoppixMicroknoppix:~$ cd ddrescue-1.8 knoppixMicroknoppix:~/ddrescue-1.8$ ./configure creating config.status creating Makefile ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2010
    Posts
    5

    Having trouble with 'make' command. (pertaining to ddrescue)


    I'm trying to copy a hard drive using Antonio Diaz's GNU 'ddrescue'.

    This is my log in knoppix (live CD)...

    Code:
    knoppixMicroknoppix:~$ cd ddrescue-1.8
    knoppixMicroknoppix:~/ddrescue-1.8$ ./configure
    
    creating config.status
    creating Makefile
    VPATH = .
    prefix = /usr/local
    exec_prefix = $(prefix)
    bindir = $(exec_prefix)/bin
    datadir = $(prefix)/share
    infodir = $(datadir)/info
    mandir = $(datadir)/man
    sysconfdir = $(prefix)/etc
    CC = gcc
    CXX = c++
    CPPFLAGS = 
    CFLAGS = -Wall -W -O2
    CXXFLAGS = -Wall -W -O2
    LDFLAGS = 
    OK. Now you can run make.
    knoppixMicroknoppix:~/ddrescue-1.8$ make
    c++  -Wall -W -O2 -c -o arg_parser.o arg_parser.cc
    make: c++: Command not found
    make: *** [arg_parser.o] Error 127
    knoppixMicroknoppix:~/ddrescue-1.8$
    Any ideas why it did not 'make'?

    How do I install what I need using the live cd?

    Thanks

  2. #2
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Knoppix is Debian based, I believe.

    To install the necessary build tools, do as root
    Code:
    apt-get install build-essential

  3. #3
    Just Joined!
    Join Date
    Sep 2010
    Posts
    5
    This is what I get...

    Code:
    knoppix@Microknoppix:~$ sudo -s
    root@Microknoppix:~# apt-get install build-essential
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    E: Couldn't find package build-essential
    root@Microknoppix:~#

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Sep 2010
    Posts
    5
    I have also done the following...

    Code:
    root@Microknoppix:~# apt-get install g++
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    E: Couldn't find package g
    and...

    Code:
    root@Microknoppix:~# apt-get update
    
    bunch of urls
    
    Fetched 20.6MB in 49s (419kB/s)                                                
    Reading package lists... Done
    It still will not make.

  6. #5
    Linux Engineer Segfault's Avatar
    Join Date
    Jun 2008
    Location
    Acadiana
    Posts
    877
    Out of curiosity I just booted my laptop with SystemRescueCd 1.3.0 and ddrescue is definitely there. Latest Knoppix should have it, too. And GRML.

  7. #6
    Just Joined!
    Join Date
    Sep 2010
    Posts
    5
    Quote Originally Posted by Segfault View Post
    Out of curiosity I just booted my laptop with SystemRescueCd 1.3.0 and ddrescue is definitely there. Latest Knoppix should have it, too. And GRML.
    I have looked at the list of packages that are included with knoppix and you are right it's there.

    So...how do I invoke it? I'm travelling right now and can't play around with it. I will also try GRML just for fun. Thanks.

  8. #7
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    ddrescue(1): manual page for ddrescue 1.8 - Linux man page
    GNU ddrescue Manual
    Ddrescue - Forensics Wiki

    If you still want to install the build tools, post the contents of the file /etc/apt/sources.list.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •