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. |
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 |
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 |
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". . |
adobe-linux-i386
Quote:
/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. |
Quote:
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" |
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. |
No problem, LinuxQuestions is the right place for questions! :) Please, post the content of /etc/yum.repos.d/fedora.repo.
|
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 |
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] |
Like that shall i do for debug and source also.
|
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 |
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).
|
Quote:
Code:
wget http://download.fedora.redhat.com/pub/fedora/linux/releases/14/Everything/i386/os/repodata/repomd.xml Code:
wget http://209.132.181.27/pub/fedora/linux/releases/14/Everything/i386/os/repodata/repomd.xml |
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. |
All times are GMT -5. The time now is 06:40 PM. |