[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

make or preprocessor error - ddrescue-1.5



For the recovery I am trying to do the direct disc accrss ability of
ddrescue-1.[4|5] is recomended. I have the same problems when I try
1.4. The stable / testing / unstabe only have ddrescue-1.2x. So, I got
ddrescue-1.5 from GNU.

Thanks.

I extract the archive and cd to the directory.

$ ./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.
$ make
c++  -Wall -W -O2 -c -o arg_parser.o arg_parser.cc
make: c++: Command not found
make: *** [arg_parser.o] Error 127
$

apt-cache serch c++ didn't help me
I have cpp and gcc installed in /usr/bin/
So, I try linking them with c++

$ su
# ln -T /usr/bin/cpp /usr/bin/c++ && make && install
c++  -Wall -W -O2 -c -o arg_parser.o arg_parser.cc
c++: "-c" is not a valid option to the preprocessor
make: *** [arg_parser.o] Error 1
# rm /usr/bin/c++ && ln -T /usr/bin/gcc /usr/bin/c++ && make && install
c++  -Wall -W -O2 -c -o arg_parser.o arg_parser.cc
c++: error trying to exec 'cc1plus': execvp: No such file or directory
make: *** [arg_parser.o] Error 1
#



Reply to: