Red Hat / Fedora :: Installing GCC From Source - RHEL 4u7
Sep 17, 2010
I am trying to install gcc from source, but wish to install to an alternative location, ie /opt/gcc/4.4.4.
I have done so but ran into the problem that the system libs in /usr/lib64 were being located before my libs in /opt/gcc/4.4.4/lib64.
So, I set --libdir=/usr/lib and reinstalled. The libs link in correctly, but now g++ cant find includes, for instance <complex>. I think I could set CPATH to point to the locations of these includes but that doesn't seem like it should be necessary.
So my question is, what is the correct way to install gcc alongside the system versions while allowing linkage to the right libs and location of the includes? I don't want to use prefixes or suffixes because the intel compiler looks at gcc -v to get clues as to how to compile stuff.
It should be noted that I have no internet connectivity on this machine, so building from source is my only option.
View 3 Replies
ADVERTISEMENT
Aug 2, 2011
how to upgrade or install a updated kernel version (3.0).I am using RHEL 5 with kernel 2.6.18-8.I am trying to upgrade through source downloaded at [URL.Also will it be a good practice to upgrade the existing kernel?
View 3 Replies
View Related
Apr 27, 2009
I have 4 partitions in my system, out of which two(sda1, sda2) have windows on them. I have installed RHEL 4 32 - bit on sda3 and after that , installed installed RHEL 64-bit on to a partition sda 5. Now i am unable to boot into RHEL 32-bit. The error i am getting is Error 13: Invalid or unsupported executable format.
View 1 Replies
View Related
May 3, 2010
I want to install Red Hat Enterprise Linux (v. 5 for 32-bit x86) on my Acer laptop? Is this possible? I looked on the compatibility list but it seems that I can only install this OS on a server machine? Is that true?
View 8 Replies
View Related
Dec 9, 2010
I am facing errors while installing red hat on directory server 8.2 on red hat linux server. I have executed below written RPM command and getting following error messages:
ls *.rpm| egrep -iv -e devel -e debuginfo| xargs rpm -ivh
warning: adminutil-1.1.8-2.el5dsrv.i386.rpm: V3 DSA signature: NOKEY, key ID 37017186
error: Failed dependencies:
libc.so.6(GLIBC_2.4) is needed by adminutil-1.1.8-2.el5dsrv.i386
libldap60.so is needed by adminutil-1.1.8-2.el5dsrv.i386
libldif60.so is needed by adminutil-1.1.8-2.el5dsrv.i386
libprldap60.so is needed by adminutil-1.1.8-2.el5dsrv.i386 .....
If there any dependent patches/packages that I need to install first before proceeding with the actual DS installation.
View 4 Replies
View Related
Jul 23, 2010
I have a vaio z ( z series) laptop.
I want to install RHEL 5 on it, but media didn't boot in graphic mode,when i was completing the installation steps( all in text mode) at the end I see only a command line ( username logine)
I tried other distributions and other RHEL versions that I have ( for checking my laptop) and the result become fallow in brief:
RHEL 5.3: only boot in text mode
RHEL 5.5: only boot in text mode
fedora 8: boot and install in graphic mode
fedora 8:doesn't boot
fedora 10: boot and install in graphic
oracle red hat enterprise 4.4:boot and install in graphic mode( but I don't like this)
I need only RHEL 5 distribution on my laptop and I check the others for checking my laptop, please answer in simple manner,I'm not an advanced user
View 3 Replies
View Related
Nov 9, 2010
I am installing the quake4SDK on RHEL , it needs gcc-3.3 , but I have gcc 4.1.How can I install an alternative gcc3.3, without getting rid of the newest one , and solely to get this program to compile ??? I know there is an "alternative" managing system , but don't know how it works.
View 5 Replies
View Related
Dec 5, 2010
I have a rocketraid 2640x4 with 2 500gb HDDs configured in my system. I also have a 3.5" usb floppy disk plugged in with the SCSI drivers When I boot the RHEL 5.5 x86 32 bit installer, i type in "linux dd" at the first screen. Then it asks me to load my drivers via the floppy disk which i do. When i get to the installation page of Linux after entering my serial key, it is not able to detect my HDD so i am unable to proceed. I have tried using drivers for RHEL 5, 5.1 and 5.2. There are no drivers for 5.5.
View 9 Replies
View Related
Jan 18, 2011
i am trying to install libtorrent and rtorrent from source packages. however while configuring i get this:
Code:
checking for OPENSSL... configure: error: Package requirements (openssl) were not met:
No package 'openssl' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.
Alternatively, you may set the environment variables OPENSSL_CFLAGS and OPENSSL_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. i ve come to "PKG_CONFIG_PATH" a lot of times while trying to install something manually on fedora.
View 8 Replies
View Related
Apr 13, 2010
while installing the linux-2.6.31 source code in fedora 12 I got an error:
[root@pratyush linux-2.6.31]# make install
sh /home/parag/rpmbuild/SOURCES/linux-2.6.31/arch/x86/boot/install.sh 2.6.31 arch/x86/boot/bzImage
System.map "/boot"
/sbin/new-kernel-pkg: line 277: /sbin/mkinitrd: No such file or directory
mkinitrd failed
View 2 Replies
View Related
Aug 23, 2010
I have a dell PC running on Fedora 12, and I would like to install this SCSI controller card from adaptec:[URL]I see that the driver for Linux is available only as source code. Can somebody please indicate me how to proceed? I am not advanced enough in Linux to know what to do with it myself...I downloaded the most recent (v2.0.26) Source Code for Linux Kernel v2.6 on all platforms.Here are the contents of the tarball (if it helps in any way):
03/09/2007 08:42 PM 10,821 aic7770.c
03/09/2007 08:42 PM 8,088 aic7770_osm.c
03/09/2007 08:42 PM 51,838 aic79xx.h
[code]....
View 2 Replies
View Related
Apr 25, 2010
steps to how to install Source Code Control System to RHEL 4.6. And from where i can download
View 3 Replies
View Related
Nov 16, 2010
I needed to install in g++. So I tried with yum and failed.
Code:
[root@mesozoic ~]# yum install gcc g++ gcc-c++
Loaded plugins: rhnplugin, security
Setting up Install Process
[code]....
I am pretty sure I had the subscriptions. Here is the result of repolist:
Code:
[root@mesozoic ~]# yum repolist
Loaded plugins: rhnplugin, security
repo id repo name
[code]...
View 9 Replies
View Related
Feb 9, 2011
trying to install Veritas Storage Foundation HA on RedHat Enterprise Linux 5.(64 bit)OS was fresh installed (haven't updated anything yet). I tried to start the VSF installer as stated in the documentations. Change directory to cdrom and where the files are located and typed ". ./installer" It is supposed to launch the installer but instead, the terminal window closed itself. I think I'm missing something here. Don't think it's the media problem. Either I run it from window by double-clicking or run from terminal window, it closes and nothing happens.
View 2 Replies
View Related
Mar 8, 2011
Create machine and it tries to boot then all I get is :- ISOLINUX 3.86 2010-04-01 ETC....... Does it even work under Virtual Box? BTW - Its rhel-server-6.0-i386-dvd.iso - Downloaded as eval from Red Hat
View 10 Replies
View Related
Mar 10, 2010
I am not getting GUI in after installtion RHEL 5.0
My Mother board: Mercury
Model no1845 gcm
Moniter :LG 15''
View 1 Replies
View Related
Jul 16, 2011
I am looking for TORA software and installation steps to download and install on RHEL 5 64 bit.
Can some one point me to correct URL to download the same and share the steps installation steps.
View 2 Replies
View Related
Dec 16, 2010
i am installing nagios-3.2 in rhel 5 . it show the errors in make all command..
Quote:
[root@ns1 nagios-3.2.3]# make all
cd ./base && make
make[1]: Entering directory `/root/Desktop/nagios-3.2.3/base'
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c broker.o nebmods.o checks.o config.o commands.o events.o flapping.o logging.o macros-base.o netutils.o notifications.o sehandlers.o skiplist.o utils.o retention-base.o xretention-base.o comments-base.o xcomments-base.o objects-base.o xobjects-base.o statusdata-base.o xstatusdata-base.o
[Code]...
View 1 Replies
View Related
Feb 18, 2011
Installing VNC in Cent OS 5 / RHEL 5? Check the below link... [URL]
View 1 Replies
View Related
Feb 8, 2010
I see a number of you are using some version of Arcserve to run you backups. have been trying to follow the arcserve documentation to have it installed. I have tried both the GUI and the command line installation and none works GUI when i navigate to the installation folder and click "run" nothing happens Terminal when i navigate to the folder and type "./install" i get a "bad command" error message the installation guide doesn't state that it needs any specific package to be installed.
View 2 Replies
View Related
Nov 8, 2010
I have RHEL 5.2, with Boost 1.33 installed. I downloaded boost_1_44_0.tar.bz2. and built it. On completion it showed:
Code:
The Boost C++ Libraries were successfully built!
The following directory should be added to compiler include paths:
/home/dfe/Archive/boost_1_44_0
The following directory should be added to linker library paths:
/home/dfe/Archive/boost_1_44_0/stage/lib
I have been able to compile programs using CC -I/home/dfe/Archive/boost_1_44_0 -L/home/dfe/Archive/boost_1_44_0/stage/lib yourprogram.cpp
but...it's annoying that I have to add these paths for every program that I compile. Isn't there any way to make version 1.44 the default version (so that I won't have to include these paths when I compile)?
1. When I do "rpm -q boost", it shows boost-1.33.1-10.el5. Why is that so, when I've installed version 1.44? Did I have to remove the existing rpm before building the new version of boost?
2. Is there a better way to install the latest version of Boost?
View 1 Replies
View Related
May 30, 2010
I have a Dell Precison 690 system in my lab. I want to downgrade the system from RHEL 5 to RHEL $ since some of my software is not working in RHEL 5. I have the installation CD and the dell driver CD. There are 2 cd drives in the system and I am using both the CDS at the same time. But when the installation asks to select hda or hdb to get the driver cd. I put the CD in the second cd dirve which is connected to hdb. When I select hdb it is not recognizing the cd. When I skip the driver selection step I am getting the error:"No valid device were found on which to create new file"I have used the following and nothing worked:
linux noprobe
linux apci blah blah off
linux all generic blah blah blah
View 9 Replies
View Related
May 14, 2010
My current Linux Version:
#more /etc/redhat-release
Red Hat Enterprise Linux Server release 5.2 (Tikanga)
OS Bit is :
#uname -a
Linux <hostname> 2.6.18-128.1.16.el5 #1 SMP Tue Jun 30 06:45:51 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
Now i want to upgrade to RHEL 5.3 (ie)Red Hat Enterprise Linux Server release 5.3 (Tikanga).
View 1 Replies
View Related
Nov 3, 2010
Can we upgrade RHEL 4.8 to RHEL 5.5?
View 3 Replies
View Related
Jul 12, 2011
We are about to install some RHEL5 servers for DB and web and Application servers. I've been asked to test which file systems of the following work better for disk I/O.EXT3 EXT4 JFS BtrFS and any other ones that I can find that work under RHEL the out-of-box install I have done allows me to format my volumes with EXT2/3 but not ext4 or any others. Is it possible to "install" other filesystems for use, if so how?
View 4 Replies
View Related
Feb 20, 2010
I am using RHEL 5.4 Here is my requirement.
- The ultimate aim is to install LAMP using yum.
- The Apache Spec (httpd.spec) is customized, like the location of the apache installation is /usr/local/apache2 rather than /usr. So I need to compile apache source code using this customized apache spec.
- I need to then install this apache using YUM.
So my understanding is I need to compile apache , then add into yum repository or something like that, so that yum can be used to install apache.
View 4 Replies
View Related
Nov 16, 2010
While installing gcc 4.4, I get an error during "make" which says
Code:
Code:
Here are the steps I followed:
Code:
Code:
My kernel version is 2.6.18-164 and am running RHEL 5.3 on X86_64
View 9 Replies
View Related
Nov 23, 2009
I've sifted through hundreds of Google results, but I cannot seem to find a tutorial or how-to for installing and configuring Postfix on Red Hat Enterprise for use with multiple domains. We have a web server serving four websites so far. Each of these websites has their own domain that they'll require email for.
View 3 Replies
View Related
Mar 9, 2011
We have not actually purchased support on a 2nd seat yet, so I can't go to them for this yet, and purchasing the seat may be silly if the machine can't run the OS.
I have tried several times to install RHEL 6 workstation onto a server machine. It has a dual drive RAID filesystem, whose configuration I had nothing to do with. The install procedes nicely but Displays a mdam error 127 before shutting down for the first real boot.
When booting a weird progress bar with at least 3 colors proceding at different rates displays for about 5 seconds followed by a very verbose kernel panic error which mentions tainted swap and scheduling while atomic. I suspect the error that caused the mess runs off screen too quickly to record.
Does anybody have a clue what might be happening? Even if I install minimal this happens so it appears to be a very low level hardware problem rather than a corrupt package.
I should mention that the machine runs on ubuntu 10.10 just fine, but my Lab PI wants to run it as a redhat system.
View 3 Replies
View Related
Feb 19, 2010
installed the fedora 12, but dont know how to use the source dvd to install the source package.
View 3 Replies
View Related