The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
hell & mathematics ogoy Shell Programming and Scripting 5 05-26-2008 07:58 PM
hell and sqlite ogoy Shell Programming and Scripting 2 05-20-2008 09:07 PM
fork()ing hell!! theultimatechuf High Level Programming 16 02-25-2002 09:27 AM
negative UID/GID?!! I can see 'em but what the hell do they mean?! hellz UNIX for Dummies Questions & Answers 2 09-07-2001 12:18 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 03-26-2002
Registered User
 

Join Date: Feb 2002
Posts: 4
rpm hell!

I've just installed redhat 6.2 on one of my systems and am trying to install the gcc c compiler after downloading an rpm from the redhat site. The damn thing gives me:

only major numbers <= 3 are supported by this version of RPM

what do I do, it does the same with the latest rpm of php

help!
Forum Sponsor
  #2  
Old 03-26-2002
LivinFree's Avatar
Goober Extraordinaire
 

Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584
Upgrade RPM first.
Then upgrade other packages.
Check at ftp://ftp.rpm.org/pub/rpm/dist/ for a newer package (they're in the 4.0.* tree now) and install. Please post back with any questions.
  #3  
Old 03-26-2002
Registered User
 

Join Date: Feb 2002
Posts: 4
which one should I download?

there are loads and it makes no sence to me!

how am I supposed to install this?
  #4  
Old 03-27-2002
LivinFree's Avatar
Goober Extraordinaire
 

Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584
Install one that has a version number greater than three.

My guess (assuming that you're on Intel-compatible {i386} hardware) would be that you need this RPM:
ftp://ftp.rpm.org/pub/rpm/dist/rpm-4....4-7x.i386.rpm
If you can't install that via rpm, you may have to do it the old fashioned way:
ftp://ftp.rpm.org/pub/rpm/dist/rpm-4....4.i386.tar.gz

Post back to let us know how you are doing with that.

Also, try not to get too dependant on RPM - it's not very flexible to the end user (What if I want to install samba in /opt, not /usr/lib , for example?), and so far as I know, only Linux systems use it. If you want a new app that isn't released by a Linux vendor / software writer (which includes lots, if not most, of the great software out there), you'll have to use something other than RPM.
  #5  
Old 03-27-2002
Registered User
 

Join Date: Feb 2002
Posts: 4
thanks m8.
I just want to check though
when I tried to install the new rpm
I get this message.

dependancy problems
rpm requires popt =1.6.4
rpm requires rpmlib <=3.0.4-1
libz2.so.1

and others

should i carry on or what.
  #6  
Old 03-27-2002
LivinFree's Avatar
Goober Extraordinaire
 

Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584
Yeah, it looks like you'll have to install those too...
Or Update; that would be more correct to say, since you have them, they're just older versions...

I guess instead of updating world+dog just to get gcc installed, could you settle for an older version of gcc?
  #7  
Old 03-27-2002
Registered User
 

Join Date: Feb 2002
Posts: 4
lol.

Your right but I don't know where to get an older version of the compiler.

I bet you do though.
Google The UNIX and Linux Forums
Closed Thread

Tags
linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 05:10 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0