Solved

VMware in Redhat 9, cant install GCC

Posted on 2003-10-21
12
1,138 Views
Last Modified: 2013-11-13
Ok here goes,

I am trying to install VMware onto my RedHat 9 machine.
I reed to compile my modules to get it to work.

My issue is however that I cannot seem to install GCC.
When I try to install it through the RPM manager I get the following error.

The following packages could not be found on your system, installation cannot continue.
krb5-libs = 1.2.7-10      krb5-devel
openssl = 0.9.7a-2      openssl-devel

So, I guess i need to install these, any pointers on the quicket way to do this...
Thanks,


0
Comment
Question by:mrorange
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
  • +2
12 Comments
 
LVL 4

Expert Comment

by:victorbx
ID: 9595744
0
 
LVL 12

Expert Comment

by:paullamhkg
ID: 9596001
well it's better to use the RH up2date program to update most of your application in your RH linux because it can update your application into the correct path or directory, the up2date info have a look here http://rhn.redhat.com/help/basic/up2date-config.html

and I think even the GCC redhat up2date will do for you.
0
 
LVL 12

Expert Comment

by:paullamhkg
ID: 9596006
Also you will not have the dependencies error.
0
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 
LVL 20

Expert Comment

by:Gns
ID: 9597409
Problem is a slight "catch 22":
Install system with openssl and krb5-libs but without the corresponding -devel packages,
run up2date (or similar) which will update the installed packages,
and then try install the development system (that will depend on the -devel packages) in the Add/remove promgram...
Which fails since the packages for -devel it knows are a missmatch for the ones updated to.
Solution is (as victorbx says) to get the the packages and install them manually.
Download from your closest redhat ftp mirror (or either http://ftp.redhat.com/pub/redhat/linux/updates/9/en/os/i386/ or ftp://ftp.redhat.com/pub/redhat/linux/updates/9/en/os/i386/), and install with
rpm -ivh <package file names>

-- Glenn
0
 
LVL 8

Expert Comment

by:heskyttberg
ID: 9597927
Hi!

You could also just simply do the following:
rpm -ivh --nodeps gcc-x.x.x.ixxx.rpm

This is not the best solution, but if you are sure all other pakcages are ok and gcc should work this is how you install it anyway.

Regards
/Hasse
0
 
LVL 20

Expert Comment

by:Gns
ID: 9598041
As can be seen above, all packages aren't Hasse... Not that it'd matter much. Fixing the dependency would probably be best though... No rpm database inconsitencies lurking in the shadows, primed to bite your thumb at the least opportune moment:-).

-- Glenn
0
 
LVL 20

Expert Comment

by:Gns
ID: 9598053
"As can be seen above, all packages aren't Hasse" ... Well, let's hope they aren't Hasse, all of them... Should have read
"As can be seen above all packages aren't, Hasse" ...

-- Glenn (a.k.a. Le Grand Typo)
0
 
LVL 1

Author Comment

by:mrorange
ID: 9666803
Hi all, sorry I took a holiday for a week or so there... ok... i tried to run the update but no cigar...
I will try to install manually and let you know how i get on...
0
 
LVL 1

Author Comment

by:mrorange
ID: 9666917
OK all here is the update.

I now need to install openssl 0.97a-2

i have tried to install openssl-0.9.7a-2.i386.rpm

but get the following error

package openssl-0.9.7a-20 (which is newer than openssl-0.9.7a-2) is already installed
        file /lib/libcrypto.so.0.9.7a from install of openssl-0.9.7a-2 conflicts with file from package openssl-0.9.7a-20

This error continues for a while... so any suggestions :-S

cheers
0
 
LVL 1

Author Comment

by:mrorange
ID: 9666950
ok sorted the last issue  by insyalling gcc-3.2.2-5.i386.rpm

when i  now run the vmware-config.pl
i am asked the following

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

OK where would I find these files :-S


Cheers all
0
 
LVL 4

Accepted Solution

by:
victorbx earned 200 total points
ID: 9668635

follow this instructions , it will solve your issue !!!

http://www.ic.sunysb.edu/Stu/asmirnov/misc/vmware.htm

good luck

victor
0
 
LVL 1

Author Comment

by:mrorange
ID: 9674738
Cheers Victor, between the www.rpmfind.net and the suggested website i have now got Vmware installed.

I have a few issues tring to install a Virtual Machine but I will start a new thread for that...


Thanks all.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Installations often have prerequisites, such as “Microsoft .Net framework is required for this product”. The usual implementation in MSI installations is system search for a particular registry setting representing the required prerequisite, followe…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question