LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 09-04-2003, 10:07 AM   #1
almrud
LQ Newbie
 
Registered: Sep 2003
Posts: 1

Rep: Reputation: 0
trouble installing g77 and gcc-3.2.2-3


Hi. Admittedly...I'm a neophyte. I could sure use some help...boss is breathing down my neck...

I'm trying to get a new machine up and running (Mandrake 9.1) but I couldn't manage to find a g77 compiler on my new installation so I downloaded gcc-g77-3.2.2-3mdk.i586.rpm. But when I try to install it, my machine belly aches:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
[almrud@whitman01 local]# rpm -i gcc-g77-3.2.2-3mdk.i586.rpm
error: failed dependencies:
libf2c = 3.2.2-3mdk is needed by gcc-g77-3.2.2-3mdk
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

I thought I might just install gcc-3.2.2-3, but nothing happens when I try to install the rpm:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
[almrud@whitman01 local]# rpm -i gcc-3.2.2-3mdk.src.rpm
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Thanks for any help.
Cheers.
 
Old 09-04-2003, 06:44 PM   #2
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
the things ending in .src.rpm are source rpms. They install the source code and not the program, etc.
Anyway, instead of using rpm, use urpmi. First go to
http://plf.zarb.org/~nanardon/urpmiweb.phpand add contrib as one of the urpmi sources (it will explain you how to do it). Then as root
urpmi gcc-g77-whatever
this will take care of the dependencies.
Hope this helps.
 
Old 09-04-2003, 07:07 PM   #3
WhiteChedda
Member
 
Registered: Aug 2003
Location: Florida
Distribution: Mandrake 9.1 for now
Posts: 205

Rep: Reputation: 30
Actually if you look on the 2nd mandrake CD for the 9.1 install you'll find that exact package there. The EASIEST way to do this is to insert that CD, then browse it in Konquer {or however you spell it} adn then go to /Mandrake/RPMS2

Sort by name {it may take a minute or two to read in and sort all these RPM packages} then look for Gcc-g773.2.2-3mdk.i586.rpm and click or double cloick it, it will immediately pop up a message saying it is going to install these dependencies as well. Tell it OK and let it rip. If you do not see this window hit ALT-TAB a few times and see if it didn't just goof up and hide it on you. But give it a minute or two to run at first. Linux does not appear to use cache with CDroms so well IMO.

Otherwise go locate that package and install it first, g77 requires its presence and so the installer want sit there.It shoudl only be that one package, but you will find dependencies are a royal pain in the ass for some packages though they are needed for proper function of the application at least.
 
  


Reply



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
Fortran compiler gcc-g77 installation problem refp16 Linux - Software 6 11-26-2005 12:49 PM
compile( gcc-g77) fortran with fedora core 3 gambato79 Programming 1 05-06-2005 12:49 PM
gcc/g77 compiler in FC2? serendipitysdc Fedora 1 06-24-2004 04:19 PM
Need help !! Emergency !!! f2c/gcc , g77 issue xudeyong Linux - Software 1 05-02-2003 08:57 AM
gcc-g77 package neko Programming 12 07-22-2001 02:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 07:14 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
Open Source Consulting | Domain Registration