LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-20-2010, 04:36 AM   #1
Kilam orez
Member
 
Registered: Aug 2009
Location: India
Distribution: open suse, fedora
Posts: 33

Rep: Reputation: 15
Unhappy 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

Last edited by Kilam orez; 01-20-2010 at 04:42 AM. Reason: addition
 
Old 01-20-2010, 04:51 AM   #2
j_jerry
Member
 
Registered: Sep 2009
Distribution: fedora 11
Posts: 318

Rep: Reputation: 46
The easiest way is to install using the package manager. Search for gcc in package manager.
 
0 members found this post helpful.
Old 01-20-2010, 05:42 AM   #3
Kilam orez
Member
 
Registered: Aug 2009
Location: India
Distribution: open suse, fedora
Posts: 33

Original Poster
Rep: Reputation: 15
Unhappy

Quote:
Originally Posted by j_jerry View Post
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
 
Old 01-20-2010, 05:56 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,536

Rep: Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506
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 ).
.....
 
1 members found this post helpful.
Old 01-20-2010, 07:00 AM   #5
Kilam orez
Member
 
Registered: Aug 2009
Location: India
Distribution: open suse, fedora
Posts: 33

Original Poster
Rep: Reputation: 15
Unhappy

Quote:
Originally Posted by knudfl View Post
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
 
Old 01-20-2010, 07:41 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,536

Rep: Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506
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
.....

Last edited by knudfl; 01-20-2010 at 07:50 AM.
 
1 members found this post helpful.
Old 01-20-2010, 09:05 AM   #7
Kilam orez
Member
 
Registered: Aug 2009
Location: India
Distribution: open suse, fedora
Posts: 33

Original Poster
Rep: Reputation: 15
Unhappy

Quote:
Originally Posted by knudfl View Post
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

Last edited by Kilam orez; 01-20-2010 at 09:23 AM. Reason: to add
 
Old 01-21-2010, 05:33 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,536

Rep: Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506
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.
.....
 
1 members found this post helpful.
Old 01-21-2010, 09:59 AM   #9
Kilam orez
Member
 
Registered: Aug 2009
Location: India
Distribution: open suse, fedora
Posts: 33

Original Poster
Rep: Reputation: 15
Unhappy

Quote:
Originally Posted by knudfl View Post
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
 
Old 01-21-2010, 01:25 PM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,536

Rep: Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506
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 ?
.....
 
1 members found this post helpful.
Old 01-21-2010, 11:56 PM   #11
Kilam orez
Member
 
Registered: Aug 2009
Location: India
Distribution: open suse, fedora
Posts: 33

Original Poster
Rep: Reputation: 15
Thumbs up

Quote:
Originally Posted by knudfl View Post
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
 
Old 06-28-2011, 08:38 PM   #12
chinhth2010
LQ Newbie
 
Registered: Jun 2011
Posts: 4

Rep: Reputation: Disabled
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
 
Old 06-29-2011, 01:20 AM   #13
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,536

Rep: Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506
# 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

..
 
  


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
Problem to Read Binary File with gfortran kdurgarao Programming 1 10-12-2009 02:26 AM
gfortran compiling problem, RHEL 4 The_Watcher Linux - Enterprise 1 08-22-2008 11:57 AM
g77 in gcc 4.1.0 not found only gfortran fortran 95 compiler! I need fortran 77. TheBrick Linux - Software 3 07-04-2007 06:39 AM
Problem installing gcc HiOctane21 Linux - Software 5 09-08-2005 06:14 PM
Problem installing GCc rangalo Linux - Software 4 01-31-2005 05:32 AM


All times are GMT -5. The time now is 07:17 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration