LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem in installing gcc-gfortran 4.3.3 (https://www.linuxquestions.org/questions/linux-newbie-8/problem-in-installing-gcc-gfortran-4-3-3-a-783439/)

Kilam orez 01-20-2010 04:36 AM

problem in installing gcc-gfortran 4.3.3
 
hi dear all,

i am not able to install gfortran compiler.

i have
1)gcc-fortran-4.3.3.tar.gz.sig
2) gcc-fortran-4.3.3.tar.gz

i got the public key and verified it using coomand

gpg --verify gcc-fortran-4.3.3.tar.gz.sig gcc-fortran-4.3.3.tar.gz

~/Desktop> gpg --verify gcc-fortran-4.3.3.tar.gz.sig gcc-fortran-4.3.3.tar.gz
gpg: Signature made Sat 24 Jan 2009 07:03:07 PM IST using RSA key ID FC26A641
gpg: Good signature from "Richard Guenther <richard.guenther@gmail.com>"
gpg: aka "Richard Guenther (Work) <rguenther@suse.de>"
gpg: aka "Richard Guenther <richard.guenther@gmx.net>"
gpg: aka "Richard Guenther (GCC) <rguenth@gcc.gnu.org>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: 1397 5A70 E63C 361C 73AE 69EF 6EEB 81F8 981C 74C7
Subkey fingerprint: 7F74 F97C 1034 68EE 5D75 0B58 3AB0 0996 FC26 A641



then i extracted the tar ball using tar and got "gcc-4.3.3" folder:

~/Desktop/gcc-4.3.3> ls
gcc libgfortran


~/Desktop/gcc-4.3.3/gcc/fortran> ls
arith.c dump-parse-tree.c lang-specs.h target-memory.h
arith.h error.c libgfortran.h trans-array.c
array.c expr.c Make-lang.in trans-array.h
bbt.c f95-lang.c match.c trans.c
ChangeLog gfc-internals.texi matchexp.c trans-common.c
ChangeLog-2002 gfortran.h match.h trans-const.c
ChangeLog-2003 gfortran.info mathbuiltins.def trans-const.h
ChangeLog-2004 gfortranspec.c misc.c trans-decl.c
ChangeLog-2005 gfortran.texi module.c trans-expr.c
ChangeLog-2006 interface.c openmp.c trans.h
ChangeLog-2007 intrinsic.c options.c trans-intrinsic.c
ChangeLog.ptr intrinsic.h parse.c trans-io.c
check.c intrinsic.texi parse.h trans-openmp.c
config-lang.in invoke.texi primary.c trans-stmt.c
convert.c io.c resolve.c trans-stmt.h
data.c ioparm.def scanner.c trans-types.c
data.h iresolve.c simplify.c trans-types.h
decl.c iso-c-binding.def st.c types.def
dependency.c iso-fortran-env.def symbol.c
dependency.h lang.opt target-memory.c

and



~/Desktop/gcc-4.3.3> cd libgfortran/
~/Desktop/gcc-4.3.3/libgfortran> ls

acinclude.m4 ChangeLog-2004 config.log gfortran.map Makefile.am
aclocal.m4 ChangeLog-2005 configure intrinsics Makefile.in
c99_protos.h ChangeLog-2006 configure.ac io mk-kinds-h.sh
ChangeLog ChangeLog-2007 configure.host libgfortran.h mk-sik-inc.sh
ChangeLog-2002 config fmain.c libtool-version mk-srk-inc.sh
ChangeLog-2003 config.h.in generated m4 runtime


so when i type ./configure

i get "cannot find install.sh" in ., ../, ../.. .


please help me.

With hope

kilam

j_jerry 01-20-2010 04:51 AM

The easiest way is to install using the package manager. Search for gcc in package manager.

Kilam orez 01-20-2010 05:42 AM

Quote:

Originally Posted by j_jerry (Post 3833267)
The easiest way is to install using the package manager. Search for gcc in package manager.

hi,

My OS is SLED 11 and it doesn't contain gfortran compiler in gcc.

i will be thankfull to you, if you help me to install the gfortran compiler.

kilam

knudfl 01-20-2010 05:56 AM

In this thread , Nov - 24 - 2009 , about gcc-fortran

http://www.linuxquestions.org/questi...9/#post3767685

.. you say : "" its working. ""

( Solution : (temporarily) adding openSUSE-11.0-Oss.repo and
# zypper in gcc-fortran ).
.....

Kilam orez 01-20-2010 07:00 AM

Quote:

Originally Posted by knudfl (Post 3833329)
In this thread , Nov - 24 - 2009 , about gcc-fortran

http://www.linuxquestions.org/questi...9/#post3767685

.. you say : "" its working. ""

( Solution : (temporarily) adding openSUSE-11.0-Oss.repo and
# zypper in gcc-fortran ).
.....

hi knudfl and linux users,

Initially i installed gcc-gfortran for 32 bit.

Now i want to install gcc-gfortran in 64 bit OS.

and i could not find the gcc-gfortan for 64 bit.

i found package like cross-avr-gcc-4.1.3_20071030-39.1.x86_64.rpm on http://download.opensuse.org/distrib...s/suse/x86_64/.

Are these, what i want?

please help me.

kilam

knudfl 01-20-2010 07:41 AM

OK , the links are ...

Suse 11 OSS x86_64 .. the repo URL :
http://download.opensuse.org/distrib...repo/oss/suse/
( > > http://download.opensuse.org/distrib...s/suse/x86_64/ )

1) The package , gcc-fortran-4.3-39.1.x86_64.rpm :
http://download.opensuse.org/distrib...9.1.x86_64.rpm

SLED 11 is based on Suse 11.1 too .. the repo is here
http://download.opensuse.org/distrib...repo/oss/suse/
( > > http://download.opensuse.org/distrib...s/suse/x86_64/ )

2) Version 4.3.3 .. gcc-fortran-4.3-34.243.x86_64.rpm
http://download.opensuse.org/distrib...243.x86_64.rpm

(3)
(As you can see, there is also a gcc-fortran-32bit-4.3-34.243.x86_64.rpm)

I have no 64 - bit sytems currently, so I can't test,
which of the above works best, better start with 1).
.....


Optional possibility :
rpmbuild --rebuild gcc43-4.3.3_20081022-9.8.src.rpm
http://download.opensuse.org/source/...22-9.8.src.rpm
.....

P.S. : The repo URL is the same for x86 and x86_64,
meaning that the "openSUSE-11.0-Oss.repo" ,
"openSUSE-11.0-Updates.repo" files can be used again ..
http://www.linuxquestions.org/questi...d-11-768079/#7
.....

Kilam orez 01-20-2010 09:05 AM

Quote:

Originally Posted by knudfl (Post 3833436)
OK , the links are ...

Suse 11 OSS x86_64 .. the repo URL :
http://download.opensuse.org/distrib...repo/oss/suse/
( > > http://download.opensuse.org/distrib...s/suse/x86_64/ )

1) The package , gcc-fortran-4.3-39.1.x86_64.rpm :
http://download.opensuse.org/distrib...9.1.x86_64.rpm

SLED 11 is based on Suse 11.1 too .. the repo is here
http://download.opensuse.org/distrib...repo/oss/suse/
( > > http://download.opensuse.org/distrib...s/suse/x86_64/ )

2) Version 4.3.3 .. gcc-fortran-4.3-34.243.x86_64.rpm
http://download.opensuse.org/distrib...243.x86_64.rpm

(3)
(As you can see, there is also a gcc-fortran-32bit-4.3-34.243.x86_64.rpm)

I have no 64 - bit sytems currently, so I can't test,
which of the above works best, better start with 1).
.....


Optional possibility :
rpmbuild --rebuild gcc43-4.3.3_20081022-9.8.src.rpm
http://download.opensuse.org/source/...22-9.8.src.rpm
.....

P.S. : The repo URL is the same for x86 and x86_64,
meaning that the "openSUSE-11.0-Oss.repo" ,
"openSUSE-11.0-Updates.repo" files can be used again ..
http://www.linuxquestions.org/questi...d-11-768079/#7
.....


Thank you for your kind reply,

i did as you say above, i downloaded the gcc-gfortran from http://download.opensuse.org/distrib...s/suse/x86_64/.
but i get errors as:
/Desktop> rpm -ivh gcc-fortran-4.3-39.1.x86_64.rpm
error: Failed dependencies:
gcc43-fortran is needed by gcc-fortran-4.3-39.1.x86_64


again i downloaded gcc43-fortran from above site.

~/Desktop> rpm -ivh gcc43-4.3.1_20080507-6.1.x86_64.rpm
error: Failed dependencies:
cpp43 = 4.3.1_20080507-6.1 is needed by gcc43-4.3.1_20080507-6.1.x86_64
libmudflap0 >= 4.3.1_20080507-6.1 is needed by gcc43-4.3.1_20080507-6.1.x86_64


so, i think, due to failed dependencies problems( which may occur in future, when i need other packages ), i should add repo for 64 bit OS. Am i right knudfl?

i know how to add repo. But i don't have the " *.txt " file to add in "repos.d".

Can you provide me *.txt file?

i will add the repo *.txt as suggested by u you for 32 bit.
----------------------------------------------------
P.S. : The repo URL is the same for x86 and x86_64,
meaning that the "openSUSE-11.0-Oss.repo" ,
"openSUSE-11.0-Updates.repo" files can be used again ..
http://www.linuxquestions.org/questi...d-11-768079/#7
------------------------------------------------------
With Warm regards,

kilam

knudfl 01-21-2010 05:33 AM

Quote:

gcc43-fortran is needed by gcc-fortran-4.3-39.1.x86_64
Yes, you need the ' gcc43-fortran ' too.

Quote:

Can you provide me *.txt file?
The files are here , post # 7 , 9
http://www.linuxquestions.org/questi...d-11-768079/#7

> > openSUSE-11.0-Oss.repo, openSUSE-11.0-Updates.repo
.. attached as ' .txt ' which is the only suffix, that
works with this site.
.....

Kilam orez 01-21-2010 09:59 AM

Quote:

Originally Posted by knudfl (Post 3834787)
Yes, you need the ' gcc43-fortran ' too.


The files are here , post # 7 , 9
http://www.linuxquestions.org/questi...d-11-768079/#7

> > openSUSE-11.0-Oss.repo, openSUSE-11.0-Updates.repo
.. attached as ' .txt ' which is the only suffix, that
works with this site.
.....

hi knudfl and linux users,

i tried to add the repo i.e. all the three ".txt " files given in http://www.linuxquestions.org/questi...9/#post3767685, into /etc/zypp/repos.d/ through root.

but, when i see the repos through YAST, i cannot find these three repos.

Also my required package is present in http://download.opensuse.org/distrib...s/suse/x86_64/.

How can i add this repo, i mean i don't have *txt file for this repo ?


i was waiting for repo to be updated, but that is not happening.

!! Help me !!

kilam

knudfl 01-21-2010 01:25 PM

The information in the reference thread clearly
says : rename to <Repo-name>.repo
http://www.linuxquestions.org/questi...d-11-768079/#9
> > post # 9

As already said, all text attachments here at LQ must
end with the suffix ' .txt '.

You will know that already, you used the files for your
32 - bit Suse. At least you said so, two months ago. # 10.
Suggest : may be have a look at your other system.
.....

But could it be another issue ?
.....

Kilam orez 01-21-2010 11:56 PM

Quote:

Originally Posted by knudfl (Post 3835412)
The information in the reference thread clearly
says : rename to <Repo-name>.repo
http://www.linuxquestions.org/questi...d-11-768079/#9
> > post # 9

As already said, all text attachments here at LQ must
end with the suffix ' .txt '.

You will know that already, you used the files for your
32 - bit Suse. At least you said so, two months ago. # 10.
Suggest : may be have a look at your other system.
.....

But could it be another issue ?
.....

Hurray !!

It's done.

Thank you very much Knudfl and LQ community.

Kilam

chinhth2010 06-28-2011 08:38 PM

where to download gfortran 4.3.3
 
Dear Sir/Madam
I also need gfortran 4.3.3 but I don;t know where to download,
If it is possible, you can share for me or tell me website to download
Thank you
Chinh

knudfl 06-29-2011 01:20 AM

# 12 @chinhth2010 : Downloading software for install is a Windows© thing.

In Linux the most programs are installed with the 'Package Manager'.

Please tell which Linux OS, you are using. Like Fedora 15, Ubuntu 11.04 etc.
http://linuxsilo.net/docs/smart-questions_en.html

And read the documentation for your OS :
http://docs.fedoraproject.org/en-US/...ide/index.html
https://help.ubuntu.com/community/InstallingSoftware

..


All times are GMT -5. The time now is 10:03 PM.