I wrote a hello world test program, and ran the command: g++ main.cpp -o sandbox
But I got an error message saying:
After googling the problem, I found that this means "your shell could find the g++ frontend of the GNU compiler but that frontend couldn't find cc1plus, the actual C++ compiler".
Most of the solutions I found on google said that a reinstall of g++ fixes the problem, however this did not work for me. How can I ensure g++ knows where cc1plus is?
Don't know if this will be useful, but g++ is in "/usr/local/bin/g++"...and I found cc1plus in "/usr/libexec/gcc/i386-redhat-linux/3.4.6" and cc1plus is also in "/usr/libexec/gcc/i386-redhat-linux/4.1.1"
At one point I had installed these packages, but uninstalled them to try and fix:
I just upgraded by box from Fedora Core 9 to Centos 5.2. Finally!I have a 500GB SATA drive, it's partitioned into three equal size slices, hda1 through 3. The old Fedora was on hda1, I installed the new Centos on hda3. I instructed the installer to write the MBR to /dev/hda, not /dev/hda3. Fdisk says I have sector 0 unused.First, the system wouldn't boot - it just looped through the BIOS, rebooting over and over again. The BIOS sees the disk, but it never loaded Grub. I tried re-running grub-install /dev/hda, and not I get a Grub Error 17 after stage 1.5 loads.
I can boot from rescue OK, the grub.conf man menu.lst look fine, it's pointing to "root (hd0,2)". It's either the BIOS that can't find the MBR, or the MBR can't find Grub.When I looked at the disk with fdisk after the install, hda1 was still marked bootable, hda3 was not, so I swapped bootable flags but that has not made a difference. I also appended the new grub to the old grub thinking I could get the MBR (if it is there) to load the old grub and thence find the new Centos, but that didn't work either.Mobo is an old Shuttle AK35.Any ideas? Did I mess up by not telling the system to put the MBR on /dev/hda3? Is there a way to fix this without reinstalling?
I've installed the CentOS 5.1 from a CD only yesterday and everything is working fine except Mysql that came from the CD distribution. I have detected that my system has mysql.
[root@onion /]# rpm -qa |grep mysql mysql-5.0.22-2.1.0.1 [root@onion /]# find . -name mysql ./usr/bin/mysql ./usr/share/mysql ./usr/lib/mysql
However I'm unable to find mysqld, safe_mysqld or mysql_install_db in my filesysytem.
Is it possible to list/find/compare the program versions on a Centos system, against Redhat/Centos Errata/Security/Bug lists? Sort of looking for a way to make sure that all the packages on a system are ok, and not a security risk-- Without having to update every package. A pseudo code, in my mind is:
where I can find a SIProxd RPM for CentOS 5.4/5.5 ? (64 bit architecture)I can't seem to find one and when I did an install from source, due to problems with libosip2, it gave me this error: [root@static-host src]# siproxd siproxd: error while loading shared libraries: libosip2.so.4: cannot open shared object file: No such file or directory
My DB-Vendor supports only Centos 5.2 till now, and i can't find the old releases of centos on this website. Is there an archive with the old versions?
I am not sure if this was posted (search did not return any related results) but I am getting tagged for this version of ssh - SSH-2.0-OpenSSH_4.3. Where can I find 4.4 or above for CentOS?
Normally servers having multiple CPU's I need to found out, which CPU is used by a process. or else from the out put /proc/pid/stat how we can identify used CPU by the process
I just installed CentOS 5.2 and then applied the updates to 5.3. Now I get repeated popups saying:
The NetworkManager applet could not find some required resources. It cannot continue.
I killed it and ran it from a terminal and saw the following output:
** (nm-applet:4648): WARNING **: Icon nm-device-wwan missing: Icon 'nm-device-wwan' not present in theme ** (nm-applet:4648): WARNING **: No connections defined
Since trying to upgrade from Centos 4.7 to Centos 5.2, I've noticed the message about 'initlog' being deprecated. I run the following and get:
> /sbin/initlog -q -c "$HOME/my_xmlrpc_server" WARNING: initlog is deprecated and will be removed in a future release
I'm now trying to find a suitable replacement for it and have not found one. We use 'initlog' to run a background service from my own init script to output any abnormal stdout and stderr messages to syslogs. I can't find any other program that will do a similar job. These stderr output are really handy for quickly diagnosing some of the more difficult problems.
Should I be trying to do this in a completely different way. Maybe the way I have created the init script should be done differently to not require initlog at all. Here is a snippet from my init script:
start) getpid; if [ -n "${PID:-}" ]; then echo "$SERVER_NAME is already running on [$PID].";
I wanna uninstall ipp 6.0 and reinstall ipp 5.3 under linux centos 5.3. I'm not able to uninstall ipp 6.0 and I'm getting this error: ERROR: ERROR: Unable to find rpm tool, add its location to your PATH and restart uninstallation
Also, I'm not able to install ipp5.3 and I'm getting the same error ERROR: ERROR: Unable to find rpm tool, please add its location to your PATH and restart installation
Whenever I use yum after a recent update I get the message that I should run yum-complete-transaction.I have yum-utils installed but I keep getting the message that the command is not found.post the command I should be using to run it so I can see it it's just me typing the wrong thing into the shell?
I am trying to install the latest release (5.4 64 bit) from DVD. I downloaded the torrent from here.My system is completely virgin - no OS has ever been installed on it. So I suppose somewhat fittingly, there is some resistance to my advances :).Details:Intel dual core 64 bit CPUASUS PK5KPL-AM main boardSATA HDDI am trying to boot from the DVD I burned from the downloaded ISO.
It boots up ok at first but when it comes to creating the partition it can't seem to find my HDD. I get the following error:An error has occurred - no valid devices were found on which to create new file systems. Please check your hardware for the cause of this problem.Can anyone please suggest a way to troubleshoot this? I realize the problem could be the hardware, but I would like to eliminate all other possibilities before taking the system back to the distributor for repair.
Assume I am sitting in front of a runnning CentOS.How can I find out the EXACT version of this installation?I am not (only) talking about the major release (e.g. 5) but the sub release (5.1 or 5.2 or 5.3 or...)The about box shows something about Gnome but not the details for the CentOS.
I been trying to install libawl-php package but doesn�t seem avilable either in rpmforge, and other repos.does anyone know where can i download this pacakge or other repo to add which allows to install
I am trying to install CentOS 5.5, I go through all the GUI installation prompts. I get upto the point where it ask me for the root password, after that the installation fails. It says that it cannot find the metaframe server and that it ran out of mirrors to try.
I am having problems with this computer program called fluent. I have a service request open with them and they need to know my computer's hostname. ANything I have tried tells me that my computers hostname and fqdn is localhost.localdomain. The people on the service request seem to not believe me. Is there anyway that the computer hostname is hidden? This is what I have tried:
I need libpcsclite1 and libqtcore4 to install on Centos 5.6, still not lucky, cannot find in the repos? Maybe knows anyone rpm packages for Red Hat or else?
I have a Centos 5 machine, and I've been attempting to install GNOME and the like. However, quite a large number of packages do NOT install because of missing dependencies, all of which seem to trace back to 'system-logos'. Unfortunately, I can find no trace of this package in the 'yum list available' output. Google came up with nothing. If you can help, it would be MUCH appreciated! BTW, I've also tried 'fedora-logos' and 'linux-logos' without success.
While configuring the yum through proxy i was configures with some address(10.x.x.x). after the proxy address has been changed(172.x.x.x).according to new proxy address i made changes in all locations in my system. but when i am trying to download through command line still it is trying to connect old proxy address(10.x.x.x). finally i come to know that, still some location old proxy address(10.x.x.x).is there. how to troubleshoot this issue.(how to find the location) i was try to debug find the output below