LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-24-2006, 04:22 AM   #1
55555
LQ Newbie
 
Registered: Jan 2006
Posts: 10

Rep: Reputation: 0
g77 suse10


Hello all
I have just installed Suse 10 (SUSE Linux OSS x86 5 cds). I have installed GCC with yast2 (gcc.4.0.2). However, there is no g77.

I downloaded GCC 4.0.2 from ftp://ftp.ntua.gr/pub/gnu/gcc/releases/gcc-4.0.2/ which incudes gcc-fortran-4.0.2.tar.bz2. I opened the tar archived and contained a source code. Does any know how to install g77?

I will apreciate your help.
PS I m not experienced linux user.
 
Old 04-24-2006, 04:28 AM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
There is a gcc-fortran package for SUSE 10 available. Maybe you need to check online reopsitories (see sticky threads). Another package is called compat-g77 (if it doesn't compile with gcc-fortran).
 
Old 04-25-2006, 04:31 AM   #3
55555
LQ Newbie
 
Registered: Jan 2006
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks for you reply
I have been looking into the Threads. I have found "g77 in gcc 4.1.0 not found only gfortran fortran 95 compiler! I need fortran 77" and understand that gcc-4.... does not include g77 but other fortran versions (fortran95). If I am wrong please correct me. Anyway I need g77!! SO, I ve started downloading gcc-3.4.6 which contains gcc-g77-3.4.6.....
Questions:
1.Could you please confirm that I doing the right think?. As I told you I have installed Suse 10 and gcc with yast2 (gcc.4.0.2).
2. Should I re-install gcc.4.0.2 (with Yast2 I guess?), before install the gcc-3.4.6?
3. The gcc-3.4.6 must be in as a source code format. I should compile it. How? "gcc -", "make install" ? Obviously I am not very experience in linux
4. "rpm" are equivalent of windows "exe"??. Should by using Yast2 be able to install automatically gcc-3.4.6..rpm?
5. Is there any hope to improve my linux skills in future?

Thanks
 
Old 04-25-2006, 06:08 AM   #4
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
5: Sure there is!
4: rpm equivalent with windows installer packages. "exe" files are usually called "binary executables". You should always try to use YaST first. Keep in mind that rpm's are often version specific, so you may not be able to install a SUSE 9.1 rpm on a 10.0 system (even if it works and you don't get any dependency conflicts, you may not get functional software).
2/3: I am not an expert when it comes to compilers and compiling. But I am quite sure that you will run into trouble compiling an older version of gcc on your SUSE 10.0 system. I suggest you have a try with those rpm packages first:
ftp://ftp.gwdg.de/pub/opensuse/distr...901-3.i586.rpm
ftp://ftp.gwdg.de/pub/opensuse/distr...3.5-2.i586.rpm
1: Maybe you could point out what you need this compiler for. I guess people can help better if they know what you intend to do (probably not me, unfortunately ).

For further support, someone else has to join this thread.
 
Old 04-26-2006, 04:15 AM   #5
55555
LQ Newbie
 
Registered: Jan 2006
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks a lot. I have eventually succeeded to run g77. I firsrly tried to install the "compat-g77-3.3.5-15.src.rpm" and "compat-g77-3.3.5-2.src.rpm" which I downloaded from a site (size:24Mbyte) unsuccesfully (Yast came up with an error).

Then I followed your instructions and installed successfully!! the "gcc-fortran-4.0.2_20050901-3.i586.rpm". But neither "fort77" nor "g77" was there (ie "which fort77" and "which g77" ).

Finally, I installed the "compat-g77-3.3.5-2.i586.rpm" in addition! to the previous one (with Yast again) and then I gould run the g77 and compile my fortran program.

Thanks for one more time
I hope this help to help others
 
  


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
how to set up pppoe in suse10... not able to acces adsl modem thru suse10 akshay_jp SUSE / openSUSE 5 09-04-2006 10:39 PM
Compilation problem in g77 on SuSe10 rakesh2273 Linux - Software 1 07-13-2006 03:07 AM
install of g77 or g77 rpm munichtexan Linux - Newbie 1 11-18-2005 02:56 PM
Compiling with g77 thank you very much...but I solved compile with g77 gambato79 Fedora 9 07-19-2005 11:35 AM
g77 is not... Jozsef Linux - Software 4 10-08-2004 02:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:01 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