LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Fortran compiler gcc-g77 installation problem (https://www.linuxquestions.org/questions/linux-software-2/fortran-compiler-gcc-g77-installation-problem-385896/)

refp16 11-23-2005 01:35 PM

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.

jailbait 11-23-2005 02:23 PM

"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

refp16 11-23-2005 06:38 PM

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.

ehawk 11-23-2005 07:30 PM

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.

refp16 11-24-2005 04:25 PM

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

ehawk 11-25-2005 02:27 PM

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.

refp16 11-26-2005 12:49 PM

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.