Quote:
While compiling rsyncrypto-1.11, I got the error C++ compiler cannot create executables.
|
Presumably you were not compiling. You were running
./configure.
Code:
I hadn't installed gcc-c++ AND the extracted file was not chowned to root.
What extracted file?
Quote:
So, if you get this error, check that gcc-c++ is actually installed (rpm -qa |grep gcc) and then change rights on the source code directory (chown -R root:root <path to source directory>).
|
The first part is correct, but you should
NOT be changing the source code to be owned by
root.
NEVER compile as the
root user! You should do the
autoconf,
./configure, and
make as a normal user, and then do the
make install, and
ONLY the
make install as root.