LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 09-24-2011, 01:15 AM   #1
sagar1karuna
LQ Newbie
 
Registered: Sep 2011
Posts: 16
Blog Entries: 2

Rep: Reputation: Disabled
installation of Compilers of gfortran and c


Respected All. I installed newly fedora 14 in my system. But it doesn't have the gfortran compilers and c compilers. I tried through yum. I had given as

[root@sagar ~]# yum install gfortran
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
http://linuxdownload.adobe.com/linux...ta/repomd.xml: [Errno 14] PYCURL ERROR 6 - ""
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: adobe-linux-i386. Please verify its path and try again
You have new mail in /var/spool/mail/root

This is the error. Please tell me how to solve this and I am fighting with this from last one month. Thank you you help.
 
Old 09-24-2011, 03:26 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Hi and Welcome to LQ!
Can you clarify what your error involving adobe-linux-i386 has to do with your thread title "installadtion of Compilers..."?
Why not just remove adobe-linux-i386 from your sources list? Do you need that repo for anything special?
ciao,
jdk
 
Old 09-24-2011, 03:35 AM   #3
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Hello,

Something else I noticed - The file that yum is looking for on the adobe site exists; Have you tried again lately? Normally, that error means that the source could not be found, and/or network connectivity is down. I know it doesn't fully deal with what you are installing, but that may clarify a few things as far as the python error.

About the actual package you are trying to install, jdk is right - You could temporarily disable that source by descending into /etc/yum (or applicable directory - I forget off the top of my head what the exact disrectory is) and edit the .repo file for the adobe source, and change the enabled value to 0. That way, you can always go back and re-enable it.

Cheers,

Josh
 
Old 09-24-2011, 03:38 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
1) No gfortran : The package name is 'gcc-gfortran'.
Please use # 'yum search <name>' to find correct package names :

# yum install gcc-gfortran gcc-c++

2) Suggest : Disable the disturbing "adobe.repo".

.
 
Old 09-24-2011, 05:57 AM   #5
sagar1karuna
LQ Newbie
 
Registered: Sep 2011
Posts: 16
Blog Entries: 2

Original Poster
Rep: Reputation: Disabled
adobe-linux-i386

Quote:
Originally Posted by jdkaye View Post
Hi and Welcome to LQ!
Can you clarify what your error involving adobe-linux-i386 has to do with your thread title "installadtion of Compilers..."?
Why not just remove adobe-linux-i386 from your sources list? Do you need that repo for anything special?
ciao,
jdk
Thank you jdkaye sir, for your help. As you suggested me about the adobe-linux-i386, i found this rep in three places. That are listed below.
/etc/yum.repos.d/adobe-linux-i386.repo
/var/cache/yum/i386/14/adobe-linux-i386
/var/cache/yum/i386/14/adobe-linux-i386/packages

Among this three which one i can remove and does it effect any thing. Since I am new for linux, I don't know where this repo will be useful. Please kindly give me some Idea.
Actually I want to install gcc-gfortran and c compilers in my fedoar 14. The details of my system is
"Linux sagar 2.6.35.6-45.fc14.i686 #1 SMP Mon Oct 18 23:56:17 UTC 2010 i686 i686 i386 GNU/Linux".
What my guess is yum is also not working properly.
As Knudfl sir suggestion, i tried
[root@sagar Downloads]# yum install gcc-gfortran
The error of this is
http://linuxdownload.adobe.com/linux...ta/repomd.xml: [Errno 14] PYCURL ERROR 6 - ""
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: adobe-linux-i386. Please verify its path and try again
You have new mail in /var/spool/mail/root
[root@sagar Downloads]# uname -i
i386
[root@sagar Downloads]# uname -a
Linux sagar 2.6.35.6-45.fc14.i686 #1 SMP Mon Oct 18 23:56:17 UTC 2010 i686 i686 i386 GNU/Linux.
So please tell me how can i install these thing in my system.

Last edited by sagar1karuna; 09-24-2011 at 05:58 AM.
 
Old 09-24-2011, 06:11 AM   #6
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Quote:
Originally Posted by sagar1karuna View Post
/etc/yum.repos.d/adobe-linux-i386.repo
/var/cache/yum/i386/14/adobe-linux-i386
/var/cache/yum/i386/14/adobe-linux-i386/packages

Among this three which one i can remove and does it effect any thing.
Actually you don't need to remove anything. You have to edit the file /etc/yum.repos.d/adobe-linux-i386.repo and change all the instances of enabled=1 with enabled=0. In this way the adobe repository will be disabled permanently, until you change it back.

Regarding the compiler installation, you may consider to install all the development group that provides make, ld and other useful tools to build your software:
Code:
yum groupinstall "Development Tools"
 
Old 09-24-2011, 06:27 AM   #7
sagar1karuna
LQ Newbie
 
Registered: Sep 2011
Posts: 16
Blog Entries: 2

Original Poster
Rep: Reputation: Disabled
Sir, I modified this as fallows.
[root@sagar Downloads]# vi /etc/yum.repos.d/adobe-linux-i386.repo
[adobe-linux-i386]
name=Adobe Systems Incorporated
baseurl=http://linuxdownload.adobe.com/linux/i386/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux

Then I tried
[root@sagar Downloads]# yum install gcc-gfortran
The fallowing error I phased.
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again

And I treid
[root@sagar Downloads]# yum groupinstall "Development Tools"
and it gave same kind of error.

Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again


Sorry for asking simple questions. I am new for Linux. So Please excuse me.

Last edited by sagar1karuna; 09-24-2011 at 06:29 AM.
 
Old 09-24-2011, 06:36 AM   #8
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
No problem, LinuxQuestions is the right place for questions! Please, post the content of /etc/yum.repos.d/fedora.repo.
 
Old 09-24-2011, 06:40 AM   #9
sagar1karuna
LQ Newbie
 
Registered: Sep 2011
Posts: 16
Blog Entries: 2

Original Poster
Rep: Reputation: Disabled
Thank you sir. Here is the /etc/yum.repos.d/fedora.repo file

[fedora]
name=Fedora $releasever - $basearch
failovermethod=priority
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
mirrorlist=https://mirrors.fedora.redhat.com/metalink?repo=fedora-$releasever&arch=$basearch
enabled=1
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[fedora-debuginfo]
name=Fedora $releasever - $basearch - Debug
failovermethod=priority
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/$releasever/Everything/$basearch/debug/
mirrorlist=https://mirrors.fedora.redhat.com/metalink?repo=fedora-debug-$releasever&arch=$basearch
enabled=0
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[fedora-source]
name=Fedora $releasever - Source
failovermethod=priority
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/$releasever/Everything/source/SRPMS/
#mirrorlist=https://mirrors.fedora.redhat.com/metalink?repo=fedora-source-$releasever&arch=$basearch
enabled=0
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
 
Old 09-24-2011, 06:49 AM   #10
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Ok. It is the original version (not modified). As you can see yum uses a mirrorlist to find the mirror nearest to your location (this should reduce the download time). Anyway there is a chance it cannot retrieve the mirrorlist or a mirror is down or broken. Now you can also specify a direct URL (see the commented baseurl= line). Try to remove the comment from baseurl and add a comment to mirrorlist, so that the first part of the file reads:
Code:
[fedora]
name=Fedora $releasever - $basearch
failovermethod=priority
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
#mirrorlist=https://mirrors.fedora.redhat.com/metalink?repo=fedora-$releasever&arch=$basearch
enabled=1
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
Yum should connect to http://download.fedora.redhat.com/pu...thing/i386/os/ now, which is up and working.
 
Old 09-24-2011, 07:10 AM   #11
sagar1karuna
LQ Newbie
 
Registered: Sep 2011
Posts: 16
Blog Entries: 2

Original Poster
Rep: Reputation: Disabled
Like that shall i do for debug and source also.
 
Old 09-24-2011, 07:11 AM   #12
sagar1karuna
LQ Newbie
 
Registered: Sep 2011
Posts: 16
Blog Entries: 2

Original Poster
Rep: Reputation: Disabled
I changed that and I tried for yum. And the error is
[root@sagar Downloads]# yum groupinstall "Development Tools"
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
http://download.fedora.redhat.com/pu...ta/repomd.xml: [Errno 14] PYCURL ERROR 6 - ""
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again
 
Old 09-24-2011, 07:12 AM   #13
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Nope, the packages you need are from fedora repository, so that you don't really need debug and source, not to mention that they are not enabled by default (see enabled=0).
 
Old 09-24-2011, 07:21 AM   #14
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Quote:
Originally Posted by sagar1karuna View Post
http://download.fedora.redhat.com/pu...ta/repomd.xml: [Errno 14] PYCURL ERROR 6 - ""
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again
It looks like a network problem, now. Please try to download the repomd.xml file using wget:
Code:
wget http://download.fedora.redhat.com/pub/fedora/linux/releases/14/Everything/i386/os/repodata/repomd.xml
If it doesn't work, try
Code:
wget http://209.132.181.27/pub/fedora/linux/releases/14/Everything/i386/os/repodata/repomd.xml
 
Old 09-24-2011, 07:53 AM   #15
sagar1karuna
LQ Newbie
 
Registered: Sep 2011
Posts: 16
Blog Entries: 2

Original Poster
Rep: Reputation: Disabled
Sir, i tried both the links. But first link was unreachable. Second link was getting connected but it shows the no route to host.

[root@sagar Downloads]# wget http://download.fedora.redhat.com/pu...ata/repomd.xml
--2011-09-24 17:19:35-- http://download.fedora.redhat.com/pu...ata/repomd.xml
Resolving download.fedora.redhat.com... failed: Name or service not known.
wget: unable to resolve host address “download.fedora.redhat.com”


Then the second link show as follows
[root@sagar Downloads]#wget http://209.132.181.27/pub/fedora/lin...ata/repomd.xml
--2011-09-24 17:20:30-- http://209.132.181.27/pub/fedora/lin...ata/repomd.xml
Connecting to 209.132.181.27:80... failed: No route to host.

Last edited by sagar1karuna; 09-26-2011 at 12:40 AM.
 
  


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
gfortran gives different output after installation openSUSE 11.3 Victorray Linux - Software 2 08-16-2010 03:39 PM
gfortran in SLED 11 ?? Kilam orez Linux - Newbie 9 11-24-2009 03:59 AM
FREE Compilers and Cross-Compilers for LINUX and WINDOWS. Bernstein34 Linux - Software 1 05-05-2008 01:54 PM
help gfortran mperez Programming 2 12-16-2007 01:50 PM


All times are GMT -5. The time now is 10:23 AM.

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