LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-23-2005, 01:35 PM   #1
refp16
LQ Newbie
 
Registered: May 2005
Posts: 20

Rep: Reputation: 0
Fortran compiler gcc-g77 installation problem


Hello,

I m trying to install the fortran compiler gcc-g77. I downloaded an RPM file; its name is gcc-g77-3.3.5-5.i586.rpm, which of course states the version. I know I must have the corresponding gcc package installed to install g77. Using yast, I can tell version 3.3.5-5.1 of gcc is installed, but when installing the downloaded RPM, yast says it is incompatible with my gcc.

I use Suse 9.3 downloaded from ftp and it does not provide g77.

So, how do I get a compatible version of g77? A google search for "gcc-g77-3.3.5-5.1" (which is the version of my gcc) does not bring up ANYTHING.

Thanks

pd/ this post is somehow related to another one made in this same forum for an octave installation problem.
 
Old 11-23-2005, 02:23 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,354

Rep: Reputation: 553Reputation: 553Reputation: 553Reputation: 553Reputation: 553Reputation: 553
"So, how do I get a compatible version of g77?"

Compile the source for gcc-g77-3.3.5 on your machine. Then use checkinstall to make your compile version of gcc-g77-3.3.5 into a rpm package. Then install the rpm package using rpm.

--------------------------
Steve Stites
 
Old 11-23-2005, 06:38 PM   #3
refp16
LQ Newbie
 
Registered: May 2005
Posts: 20

Original Poster
Rep: Reputation: 0
Well, I downloaded source and tried first of all the configure step.
Got this:

creating cache ./config.cache
configure: error: can not find install-sh or install.sh in ./.. ././..
roberto@linux:~/Programs/gcc-3.3.5/libf2c>

Any idea?

Thanks

pd/ sorry if my questions seem dumb, but I am total newbie to this.
 
Old 11-23-2005, 07:30 PM   #4
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
YAST can't do this?

I thought you could use YAST to install g77, as long as you had access to a repository with it. It should handle dependencies, like gcc, and any other required packages.
 
Old 11-24-2005, 04:25 PM   #5
refp16
LQ Newbie
 
Registered: May 2005
Posts: 20

Original Poster
Rep: Reputation: 0
Ehawk,

Do you mean I can compile, install source using yast?

I have used yast before to install rpm's but nothing directly from source. I don't understand the "access to a repository with it" part; sorry.

g77 doesn't appear in my installation dvd. Downloaded from ftp.

Thanks
 
Old 11-25-2005, 02:27 PM   #6
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
don't think yast handles source code

A repository is a coherent collection of rpm files put together so that a package management system (like yast) can simply connect to it and download/install all the files necessary to resolve dependencies. You can do a google search involving (repository, rpm, gcc, g77) and probably find a useable repository.

As a side note, I have found rpm files for gcc and gcc-g77, but they are only version 3.3.3

http://rpmfind.net/linux/RPM/fedora/....3-7.i386.html

http://rpmfind.net/linux/RPM/fedora/....3-7.i386.html

rpmfind.net is a good place to find rpms and track down dependencies if you get a package management system like YAST working with a suitable repository.
 
Old 11-26-2005, 12:49 PM   #7
refp16
LQ Newbie
 
Registered: May 2005
Posts: 20

Original Poster
Rep: Reputation: 0
Hello,

I have been looking for an rpm in repository, in fact, thatīs what I usually do, only this time, the rpm archive of g77 that SEEMS most compatible with my version of gcc (must be exact same version), is actually not compatible (according to YAST). I try to explain that in my first post (thread opener). Sorry if it doesnīt look clear.

So I tried building from source and get the error I mention in my post No. 2.

Any new suggestion?

Thanks again
 
  


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
fortran debugging question with g77 and gdb miasmak Programming 1 08-16-2006 07:03 AM
does linux fortran compiler in fedora 4 support VAX FORTRAN? terrence Programming 17 08-31-2005 08:59 AM
compile( gcc-g77) fortran with fedora core 3 gambato79 Programming 1 05-06-2005 12:49 PM
G77 Fortran included in Fedora 2 ? aeslin Linux - Software 1 11-08-2004 07:27 AM
gcc/g77 compiler in FC2? serendipitysdc Fedora 1 06-24-2004 04:19 PM

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

All times are GMT -5. The time now is 01:33 AM.

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