Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.


  Search this Thread
Old 09-04-2003, 10:07 AM   #1
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.
Old 09-04-2003, 06:44 PM   #2
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 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
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.


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
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 > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 10:42 PM.

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