LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-27-2012, 11:13 AM   #1
skuli434
LQ Newbie
 
Registered: Dec 2011
Posts: 11

Rep: Reputation: Disabled
RHEL 4 spamassassin install


Hello,
I have a problem installing spamassassin on my RHEL4 or to be more concise i have a problem installin gcc on my RHEL4
when is issue this the output that i get
# yum install spamassassin

Setting up Install Process
Setting up repositories
epel 100% |=========================| 3.4 kB 00:00
remi-test 100% |=========================| 2.5 kB 00:00
remi 100% |=========================| 2.5 kB 00:00
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package spamassassin.i386 0:3.3.2-4.el4.rfx set to be updated
--> Running transaction check
--> Processing Dependency: perl(Net::Ident) for package: spamassassin
--> Processing Dependency: re2c for package: spamassassin
--> Processing Dependency: perl(Net:NS) for package: spamassassin
--> Processing Dependency: perl(Mail:KIM) >= 0.37 for package: spamassassin
--> Processing Dependency: gcc for package: spamassassin
--> Processing Dependency: perl(Mail::SPF) for package: spamassassin
--> Processing Dependency: perl(Razor2::Client::Agent) >= 2.61 for package: spamassassin
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package perl-Net-DNS.i386 0:0.68-1.el4.rfx set to be updated
---> Package perl-Razor-Agent.i386 0:2.85-1.el4 set to be updated
---> Package re2c.i386 0:0.12.1-2.el4 set to be updated
--> Running transaction check
--> Processing Dependency: perl(Net::Ident) for package: spamassassin
--> Processing Dependency: perl(Digest::HMAC_MD5) for package: perl-Net-DNS
--> Processing Dependency: perl(Mail:KIM) >= 0.37 for package: spamassassin
--> Processing Dependency: perl(Mail::SPF) for package: spamassassin
--> Processing Dependency: gcc for package: spamassassin
--> Finished Dependency Resolution
Error: Missing Dependency: perl(Net::Ident) is needed by package spamassassin
Error: Missing Dependency: perl(Mail:KIM) >= 0.37 is needed by package spamassassin
Error: Missing Dependency: gcc is needed by package spamassassin
Error: Missing Dependency: perl(Mail::SPF) is needed by package spamassassin
Error: Missing Dependency: perl(Digest::HMAC_MD5) is needed by package perl-Net-DNS


now when i issue
# yum install gcc

Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: gcc
Nothing to do
#

now what i did is downloaded a source of the gcc gnu

# ls
ABOUT-NLS config-ml.in COPYING3.LIB include libgcc libobjc lt~obsolete.m4 Makefile.in Processing
boehm-gc config.rpath COPYING.LIB INSTALL libgfortran libquadmath lto-plugin Makefile.tpl README
ChangeLog config.sub COPYING.RUNTIME install-sh libgo libssp ltoptions.m4 missing Restarting
ChangeLog.tree-ssa configure depcomp intl libgomp libstdc++-v3 ltsugar.m4 mkdep Running
compile configure.ac Finished libada libiberty libtool-ldflags ltversion.m4 mkinstalldirs symlink-tree
config contrib fixincludes libcpp libitm libtool.m4 MAINTAINERS move-if-change ylwrap
config.guess COPYING gcc libdecnumber libjava ltgcc.m4 maintainer-scripts Package zlib
config.log COPYING3 gnattools libffi libmudflap ltmain.sh Makefile.def Populating

when i try to configure
# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for gawk... gawk
checking for libitm support... yes
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `gcc':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

SO WHAT IS THE ACCAPTIBLE C COMPILER
Thank you
 
Old 02-27-2012, 02:40 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 7,780

Rep: Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741
Your problem probably is that rhel4 is very old.

Try
yum list *gcc*

But I feel the places yum looks for stuff from might no longer be answering.
 
Old 02-27-2012, 02:58 PM   #3
ratotopi
Member
 
Registered: Dec 2011
Posts: 114

Rep: Reputation: 6
yes your RHEL 4 has to be upgraded to RHEL 5 or 6 .Your RHEL 4 is old that is why you are not getting the updates through yum.
 
Old 02-27-2012, 03:23 PM   #4
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
RHEL4 will no longer be supported in a couple days:

https://access.redhat.com/support/po...pdates/errata/

I recommend getting a migration plan together, post-haste, especially if this is a 'net-facing server.
 
Old 02-27-2012, 06:38 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,258

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
Interestingly, you don't seem to be using RHEL repos if that out put is complete.
You are using epel, remi-test & remi .
You can check by looking at the files/dirs here
Code:
ls /etc|grep yum
yum
yum.conf
yum.repos.d
I'm not sure you'd want an xxx-test repo, especially if this is doing prod work.
You might be interested in Centos, which is a free rebuild of RHEL, inc updates, but of course no paid support.
In any case, as above, you really need to upgrade.

Last edited by chrism01; 02-29-2012 at 07:52 PM. Reason: minor typos
 
Old 02-28-2012, 02:50 AM   #6
skuli434
LQ Newbie
 
Registered: Dec 2011
Posts: 11

Original Poster
Rep: Reputation: Disabled
Hello Guys,
Thank you for the quick replies,
Quote:
yes your RHEL 4 has to be upgraded to RHEL 5 or 6 .Your RHEL 4 is old that is why you are not getting the updates through yum.
well I've been planing for the upgrade to centos or RHEL 5 since i have the Licence for this one but right now its essential for our business, it has a relay and DNS on it, and it was done long time back, I came and found it like that,

anyway

Regarding the repo's i know i have enabled every repo available, except the ULN-Base.repo because this one requires ORACLE Client Linux Licence ( CSI # ) which is of course I don't have and as the dear REDHAT needs to be purchased as a " support ",
and i dont have the CD's to install it from there, so i'm stuck so far,

I would like Some help regarding this, I have tried to install it from rpm but no luck

I have downloaded it from
http://rpmfind.net/linux/rpm2html/search.php?query=gcc

gcc-3.4.6-8.src.rpm


rpm -ivh gcc-3.4.6-9.src.rpm
warning: gcc-3.4.6-9.src.rpm: V3 DSA signature: NOKEY, key ID db42a60e
1:gcc warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
########################################### [100%]
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root

I need IT for now, Could you help me


Thank you
 
Old 02-29-2012, 03:34 AM   #7
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 7,780

Rep: Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741
I would walk away from RHEL 4 and start planning an update.

There are tricks where you can insert another kernel without rebooting, and red hat probably has them enabled. Personally, I would plan an outage and have a spare disk with the complete install ready.
 
Old 02-29-2012, 07:58 PM   #8
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,258

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
Don't try to manually install rpms; that way madness lies...
As you've got a subscription, login to RH website and go to https://rhn.redhat.com/rhn/software/channels/All.do and select RHEL4 in the drop down boxes, then select the ISO(s) you need and download/burn, then https://code.google.com/p/iredmail/w...Yum_Repository.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Install dmidecode and procinfo in RHEL 4 - RHEL 3 rafanto Red Hat 11 06-23-2009 07:23 AM
Installed Fedora 9 over RHEL it overwrote RHEL. How to install both?? obe786 Linux - Newbie 2 01-29-2009 08:52 AM
RHEL - SpamAssassin woefully out of date divzero Red Hat 1 02-13-2005 11:48 AM
SpamAssassin won't install ectech Linux - Software 0 03-29-2004 01:50 PM
How do I configure/install SpamAssassin? ScooterB Linux - Newbie 1 01-05-2004 06:12 PM


All times are GMT -5. The time now is 07:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration