LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-31-2007, 01:44 AM   #1
fairy_queen
LQ Newbie
 
Registered: Aug 2007
Posts: 2

Rep: Reputation: 0
Red face error in installing compat-gcc-34-3.4.6-7.src.rpm


I was trying to install compat-gcc-34-3.4.6-7.src.rpm on Fedora core7 i386. Following command and error occur. I have change the yum entry by adding baseurl=file:///media in all yum files of yumrepos.d. Pleace tell me how to solve it little urgent.


[root@localhost media]# yum install compat-gcc-34-3.4.6-7.src.rpm
Loading "installonlyn" plugin
Setting up Install Process
Parsing package install arguments
Examining compat-gcc-34-3.4.6-7.src.rpm: compat-gcc-34 - 3.4.6-7.ppc
Marking compat-gcc-34-3.4.6-7.src.rpm to be installed
fedora 100% |=========================| 2.3 kB 00:00
updates 100% |=========================| 2.3 kB 00:00
Resolving Dependencies
--> Running transaction check
---> Package compat-gcc-34.ppc 0:3.4.6-7 set to be updated
Importing additional filelist information
--> Processing Dependency: /lib64/libc.so.6 for package: compat-gcc-34
--> Processing Dependency: dejagnu for package: compat-gcc-34
--> Processing Dependency: /usr/lib64/libc.so for package: compat-gcc-34
--> Processing Dependency: elfutils-devel >= 0.72 for package: compat-gcc-34
--> Finished Dependency Resolution
Error: Missing Dependency: /lib64/libc.so.6 is needed by package compat-gcc-34
Error: Missing Dependency: dejagnu is needed by package compat-gcc-34
Error: Missing Dependency: /usr/lib64/libc.so is needed by package compat-gcc-34
Error: Missing Dependency: elfutils-devel >= 0.72 is needed by package compat-gcc-34
 
Old 08-31-2007, 03:57 AM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Well,
Not sure what you did to your repository entries, but if you go here and copy and past the missing dependencies in the search field, click "search" and find your distribution and download the file and install it with rpm install command, for example:
Copy and paste "libc.so.6", on the fourth page, the package for Fedora 7 64bit is 'glibc-2.6-3.x86_64.rpm'
Copy and paste "dejagnu", on the first page, the package for Fedora 7 64bit is 'dejagnu-1.4.4-7.noarch.rpm'
Copy and paste "libc.so" on the sixth page, the package for Fedora 7 64bit is 'glibc-devel-2.6-4.x86_64.rpm'
Copy and paste "elfutils-devel", on the second page, the package for Fedora 7 64bit is 'elfutils-devel-0.129-1.fc7.x86_64.rpm'

Chances are, if you would have left your repositories the way they were, these packages would have been automatically installed instead of getting the errors.
Install with command:
Code:
rpm -ivh packagename.rpm
You say you have Fedora 7 i386 which is 32bit, why do the errors look in /usr/lib64 & /lib64?, there should be no such thing (64) in a 32bit system.
 
Old 08-31-2007, 04:08 AM   #3
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
BTW:
Why are you trying to install the source rpm?
Take a look at this exellent guide to see how to install compat-gcc-34.
 
Old 09-05-2007, 03:21 AM   #4
fairy_queen
LQ Newbie
 
Registered: Aug 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Thank You

Thanks "Junior Hacker"
The Problem is solved.
Sorry I did not answer earlier because I was too busy in my project work.I Solve the problem by copying gcc file FC-3 CD disk.
I donot know why my Laptop giving /lib64 error. Does it is due to installing i386 on dual core.
 
Old 09-05-2007, 07:58 PM   #5
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Quote:
Originally Posted by fairy_queen View Post
I donot know why my Laptop giving /lib64 error. Does it is due to installing i386 on dual core.
It should not make a difference, the Dual core is strictly 32bit (i386), the Core 2 Duo is multi-architecture, which means you can install either 32bit (i386) or 64bit (x86_64). And the package was not architecture specific according to it's name as it is a source rpm.
What's strange is that the output suggests installing "---> Package compat-gcc-34.ppc" which is for Apple computers with the IBM processor, not an Intel processor like the Dual Core and Core 2 Duo and Pentium line. Plus it has those references to 64bit libraries in the output also. So something is really funny in the output of that Yum Install Process.
By typing uname -ra in a terminal you should get something similar to the one quoted below from my fresh installation of F7 i386, which shows "i386" towards the end instead of "x86_64" which would be 64bit:
Code:
Linux localhost.localdomain 2.6.21-1.3194.fc7 #1 SMP Wed May 23 22:35:01 EDT 2007 I686 I686 I386 GNU/Linux
I don't have any "lib64" directories in my i386 installation.

As per instructions in the Personal Fedora 7 installation link I provided, all you needed to do to install Compat gcc-34 was issue command:
Code:
yum install compat-gcc-34 compat-gcc-34-c++
To install compatible gcc-2 and gcc-3 libraries:
Code:
yum -y install compat-libstdc++-33 compat-libstdc++-296
These two commands should install packages designed for Fedora 7.
 
  


Reply



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 while installing src RPM kmalla Red Hat 2 06-28-2006 05:21 AM
Installing a src rpm Chijtska Linux - Software 2 04-13-2005 08:49 AM
Installing foo.src.rpm hhegab Linux - Software 1 06-03-2004 06:35 AM
error with installing src.rpm morningstar665 Linux - Software 5 11-23-2003 12:56 PM
Installing .src.rpm Drogo Linux - Software 6 06-17-2003 01:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:59 PM.

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
Open Source Consulting | Domain Registration