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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-23-2005, 01:35 PM
|
#1
|
LQ Newbie
Registered: May 2005
Posts: 20
Rep:
|
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.
|
|
|
11-23-2005, 02:23 PM
|
#2
|
LQ Guru
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,354
|
"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
|
|
|
11-23-2005, 06:38 PM
|
#3
|
LQ Newbie
Registered: May 2005
Posts: 20
Original Poster
Rep:
|
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.
|
|
|
11-23-2005, 07:30 PM
|
#4
|
Senior Member
Registered: Jul 2003
Posts: 1,257
Rep:
|
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.
|
|
|
11-24-2005, 04:25 PM
|
#5
|
LQ Newbie
Registered: May 2005
Posts: 20
Original Poster
Rep:
|
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
|
|
|
11-25-2005, 02:27 PM
|
#6
|
Senior Member
Registered: Jul 2003
Posts: 1,257
Rep:
|
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.
|
|
|
11-26-2005, 12:49 PM
|
#7
|
LQ Newbie
Registered: May 2005
Posts: 20
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 01:33 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|