![]() It was observed that I was doing-it-wrong when checking the sudo PATH. Warranty not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR boost_1_55_0]$ Yes, I can execute it using explicit paths under sudo: boost_1_55_0]$ sudo /usr/local/bin/g++ -version Why is this failing, and what can I do to fix it? seems to indicate that the location of g++ is actually in the path. Last Updated: Time to Read: 3-5 minutes X8664-w64-mingw32-g++.exe uses the EXE file extension, which is more specifically known as a Windows Executable file.It is classified as a Win32 EXE (Windows Executable) file, created for Orwell Dev-C++ 5.11 by orwelldevcpp. Warranty not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.īut sudo g++ -version fails: boost_1_55_0]$ sudo g++ -versionĬhecking the PATH as sudo: boost_1_55_0]$ sudo echo $PATH Repair and Download X8664-w64-mingw32-g++.exe. Warranty not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR boost_1_55_0]$ sudo su /root # g++ -version This is free software see the source for copying conditions. G++ is installed in: boost_1_55_0]$ which g++Īnd getting the version as a user and as root succeeds: boost_1_55_0]$ g++ -versionĬopyright (C) 2014 Free Software Foundation, Inc. It seems to me that PATH doesn't point to g++ during sudo, but I don't understand why. GCC appears to be correctly installed and visible to both users and root, but when I try to issue a sudo command which needs the compiler, it cannot be found. After I installed GCC 4.9, I uninstalled the distro-provided older GCC version via: sudo yum remove gcc I have a relatively fresh RHEL 6.5 install, on to which I have installed from source GCCC 4.9. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |