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. |
"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 |
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. |
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.
|
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 |
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. |
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 02:55 PM. |