I am getting the following error when trying to install perl's Encode::Detect module using this command
perl -MCPAN -e "install Encode::Detect"
Error message
cc: error trying to exec 'cc1plus': execvp: No such file or directory
I googled a couple of things and i found out that i don't have g++ installed even if i had the following c compliers (gcc,c,c++).
To fix this i installed g++ complier on my ubuntu machine using
apt-get install g++
On RedHat and CentOS it will be
yum install g++
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With