CentOS 5 :: Install A Second Compiler Gcc And G++ Of Version 4.2 Or Higher
Aug 22, 2009
I installed centos 5.3. gcc and g++ versions are 4.1.2 20080704 (Red Hat 4.1.2-44).How to install a second compiler gcc and g++ of version 4.2 or higher so that both versions of gcc and g++ are available?
I've installed CentOS 5.3 on a machine, and I need a Samba version 3.2 or higher. Since 3.4 is out, I thought I'd grab that. But, "yum list|grep samba" gives me only version 3.0.33. Is there a package of Samba I can grab that will upgrade the 3.0 installation so that I don't have two laying around? If not and I need to compile from source, do you have any suggestions for what arguments I should give configure? I'm not used to Linux coming from the BSD world
Trying to install PHP version 5.2 or higher on REHL5 computer. Below are the commands that were tried and the response given. Is there a simple, trusted way to get the newer versions of PHP onto REHL5?
currently i am trying to downgrade my version of g++ compiler in my ubuntu 9.10using synaptic, deselecting current 4.4.1 version and adding desired 4.1.2 version will result in g++ not being recognized in terminal anymore :(also sudo apt-get g++will only get me the latest 4.4.1
Many here know I distribute alot of live stuff and thus many say I should try to putout as high a kernel version as possible for wireless, netbooks, etc.my questions are about using a much higher kernel version than the installed headers for instance; I use kernel 2.6.34-ZEN in my arch/slackware builds but the slackware version contains headers 2.6.33.4 from slackware and so is that a problem or no?I built the kernel from source using headers 2.6.33.4 in slackware and headers 2.6.34 in arch...now, I may be upgrading those kernels to meerkats 2.6.35-r5 and need to know if having headers 2.6.33.4 is an issue?also, after compiling kernel does it install a new set of headers when you do make modules_install?
we are planning to migrate from RHEL 4 to higher version. Latest RHEL available is RHEL 5.5 and also RHEL 6 BETA is released which will soon available for production.
I woukld like to know the kernel command or linux kernel file name where i can get the process actual physical RAM usage in linux version 2.6.21 or hiher version.
I think I need to upgrade my libfaac libraries due to some problems I am having with ffmpeg (the libraries are in the package 'libfaac0'). However, it won't install it because my version of libc6 is really out of date, supposedly (but it is actually the most up-to-date version).Do I need to manually upgrade libc6 or is something else messed up? I don't want to do anything that would put me at risk of screwing up a lot of dependencies.
I have moved from MS directX to OpenGL on Linux Debian. My computer is running Jessie version with Gimp. I am trying to use several of the gl 4.0 functions but getting compiler error. I check for OpenGL version and appears to be version 1.5 .... How can I verify the correct openGL version and how can I upgrade to a moder version of at least 4.0?
I want to compile MFiX which is a simulation software. Therefore, I installed the Intel Fortran Compiler Ver. 11.x When compiling, I can only choose between Ver.9.x and 10.x.
This is a part of the error message when choosing either:
Is there a possibility to link the program to the newer compiler version?
I'm a bit new to installing/upgrading on Linux/Centos so apologies if I've made a basic mistake here.I've searched around for the answer to this question but not found it - but apologies if this has been discussed in the forum before. The issue is that I want to upgrade Apache to version 2.2.12 or higher, because I want to install a second SSL domain on the same IP address. According to this page [URL].. you can do that from version 2.2.12.
Incidentally I've got Centos 5.4 installed. So I've had a little browse around with yum and did a "yum list *httpd* with gave me the following
I am trying to install libpcap version 1 on my centos 5.5 (which supply libpcap 0.9.4 as built in). I need libpcap>=1.0 to install snort 2.9. I tried to install by downloading source code from tcpdump.org but failed to update libpcap-0.9.4 by libpcap-1.0.0.
I have ImageMagick 6.2.8 installed on my CentOS 5.3 (64bit) system. I want to upgrade it to a newer version, because it has nice new features I need to use in a PHP script I write for a website. I tried yum, but it did not help, it didn't have a newer version of ImageMagick. Maybe I have to use some other repositories (I use CentOS and RPMFprge repositories only) or use them some other way. I ended up with downloading ImageMagick 6.5.4 RPM from ImageMagick website (it was marked as Fedora package, there's no one for CentOS there) and tried to install it. I've got some absent dependencies, but installed them all, most from the CentOS and RPMForge repositories. Some were absent from those repositories (like jasper-libs and libtool-ltdl) and I installed them from other sources.Finally, when I tried to install ImageMagick I got this error:
-bash-3.2# rpm -Uvh --test ImageMagick-6.5.4-10.x86_64.rpm error: Failed dependencies: rpmlib(FileDigests) <= 4.6.0-1 is needed by ImageMagick-6.5.4-10.x86_64 rpmlib(PayloadIsXz) <= 5.2-1 is needed by ImageMagick-6.5.4-10.x86_64
I tried to install it using --nodeps, but got some "cpio: Bad magic" error. So, as far as I understand, I need to upgrade "rpm" package itself to make it working. Correct me if I'm wrong here. The current version of rpm is: bash-3.2# rpm --version RPM version 4.4.2.3
If I really have to upgrade rpm, then I'm not sure what to do. I have few questions:
1) First of all, what version of "rpm" package do I need? Because I don't want any conflicts. The latest version, as I can see on rpm.org, is 4.7.1. Will it work with CentOS 5.3?
2) Where do I get the right rpm for the rpm upgrade? If it's available at all. Rpm.org, as far as I can see, got source only, and I'm not sure CentOS uses their version of rpm. Where can I get the right rpm package, preferably as a plain .rpm file so I don't need to build it myself?
3) And after all, the most important. Wouldn't my system break at all if I upgrade rpm? I don't want to screw things up and end up with a broken system.
An application I'm attempting to install URL...) requires a version of gcc above 4.3.2, however the only rpms available for CentOS I can find are 4.1.2.I began trying to install a newer version via compiling the latest one from the gcc GNU site, but I started running into problems. Especially in installing newer versions of gmp and mpfr (apparently upgrading from certain versions of gmp will write over the header files, but won't change path locations for the lib files?) After examining the problem a little closer, I got worried that I was going to end up making the system unstable, so I stopped fiddling.
So my question is, is there an easier way to install a newer version of gcc? I'm not completely new to Linux, but I'm far from a master at the system, if anyone knew an easier/slightly more fool proof way of upgrading gcc.
IIm running several Webservers on CentOS 5.2. Due to the Hosting-Platform I use, it is recommended that there will not be CentOS 5.3-Updates installed. So I searched the net a lot now but didn't find a propper solution. Is there a way to tell yum only install patches and updates for version 5.2 and not to upgrade to 5.3?
Ive got the Remi repo all setup along with yum priorities. I know how I would go about installing PHP 5.3 but for Drupal 6.x version 5.2.x is more compatible. I see php 5.2.13 in the remi repo archives. How should I go about installing it? just wget the rpm and install?
I have recently set up a CENTOS server using the kernel 2.6.18-164.el5xen (x64 5.4 Install I believe). Originally I set it up with Xen to becasue I was goig to create the odd VM on it, however I no longer need to do this.Further, I believe I am having networking issues due to the installation of Xen. The machine cannot seem to locate any network addresses (eg websites) unless I put in a hosts entry for them. I believe this networking issue would be easier to rectify if the virtual networking interfaces for Xen were not installed but to do this requires a Kernel replacement. Im not experienced with doing this and the machine is located remotely to me and I dont have the original install CD available.How would I go about replacing the kernel to the non Xen version if I dont have the install CDs?
i have installed on my home PC CentOS 5.5, and downloaded Python 3.1.3 source, when I have tried to run the configuration file I have got
checking for --enable-universalsdk... no checking for --with-universal-archs... 32-bit checking MACHDEP... linux2 checking machine type as reported by uname -m... x86_64
[Code]....
I have tried downloading gcc and installing it, but got the same message. So, I can't find any C compiler, and I can't install one.
So for those of you who has built GCC from source would know that you can't install GCC without an existing GCC. So my question is, what would happen if all computers in the world suddenly just died, and all you had was the computer in front of you, and a copy of GCC 4.5. How would you install that?
I ask because I would like to install GCC 4.5 on my old powerbook G4 mac without installing a binary GCC provided by Tiger 10.4 disks. I would like to build GCC from source, without an existing GCC to complicate updating.