LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 10-29-2003, 11:19 AM   #1
gibbylinks
Member
 
Registered: Oct 2003
Location: Manchester, UK
Distribution: Lucid Lynx 10.04
Posts: 46

Rep: Reputation: 15
Unhappy Struggling Add/Remove Packages


I am trying to install the Development tools & Kernel Development tools using the Gnome interface and selecting Add/Remove packages. I keep getting the following error

Unlocatable Package______ Required By
krb5-libs = 1.2.7-10________ krb5-devel
openssl = 0.9.7a-2_________ openssl-devel

When I try to install the tools.

I have located the rpms for both the "missing" packages above and tried to install them, but get told that "NEWER" versions are already installed !!!!

getting frustrated.

All this is because I am trying to use Make to install the nforce source drivers and keep getting the following errors.

make -C nvnet
/bin/sh: line 1: tp.c: No such file or directory
make[1]: Entering directory `/usr/src/redhat/SOURCES/nforce/nvnet'
cc -c -Wall -DLINUX -DMODULE -DEXPORT_SYMTAB -D__KERNEL__ -O -Wstrict-prototypes -DCONFIG_PM -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4 -DMODULE -I/lib/modules/2.4.20-8/build/include nvnet.c
make[1]: cc: Command not found
make[1]: *** [nvnet.o] Error 127
make[1]: Leaving directory `/usr/src/redhat/SOURCES/nforce/nvnet'
make: *** [nvnet_make] Error 2

I'm hoping that I'm missing something in the tools above and installing them will help.


Last edited by gibbylinks; 10-29-2003 at 11:21 AM.
 
Old 10-29-2003, 12:49 PM   #2
szaroubi
Member
 
Registered: Oct 2003
Location: Montreal
Distribution: All/Any
Posts: 59

Rep: Reputation: 15
There should be a parameter when you do a ./configure that tells it to use gcc and not cc as a compiler.
maybe if you do :
export CC=gcc
then ./configure&&make

..
if this doesn't work ..
you can try as root:
ln -s `which gcc` /bin/cc
 
Old 10-29-2003, 01:31 PM   #3
gibbylinks
Member
 
Registered: Oct 2003
Location: Manchester, UK
Distribution: Lucid Lynx 10.04
Posts: 46

Original Poster
Rep: Reputation: 15
Sorry didn't work now getting

make -C nvnet
make[1]: Entering directory `/usr/src/redhat/SOURCES/nforce/nvnet'
gcc -c -Wall -DLINUX -DMODULE -DEXPORT_SYMTAB -D__KERNEL__ -O -Wstrict-prototypes -DCONFIG_PM -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4 -DMODULE -I/lib/modules/2.4.20-8/build/include nvnet.c
make[1]: gcc: Command not found
make[1]: *** [nvnet.o] Error 127
make[1]: Leaving directory `/usr/src/redhat/SOURCES/nforce/nvnet'
make: *** [nvnet_make] Error 2
 
Old 10-29-2003, 03:06 PM   #4
szaroubi
Member
 
Registered: Oct 2003
Location: Montreal
Distribution: All/Any
Posts: 59

Rep: Reputation: 15
Do you have a compiler installed?
If not .. you should install one .
 
Old 10-29-2003, 03:08 PM   #5
gibbylinks
Member
 
Registered: Oct 2003
Location: Manchester, UK
Distribution: Lucid Lynx 10.04
Posts: 46

Original Poster
Rep: Reputation: 15
I think that's what I'm trying to do. See original message 1st paragraph

Thanks
 
Old 10-29-2003, 09:44 PM   #6
GAVollink
Member
 
Registered: Apr 2002
Location: Bronx, NY
Distribution: Ubuntu
Posts: 371

Rep: Reputation: 34
well since you don't have gcc installed at all, it won't hurt to attempt to "force" the installation.

rpm --install --force gcc...
 
Old 10-30-2003, 03:39 AM   #7
gibbylinks
Member
 
Registered: Oct 2003
Location: Manchester, UK
Distribution: Lucid Lynx 10.04
Posts: 46

Original Poster
Rep: Reputation: 15
Thanks for all the help.

I used the "rpm --install --force" command to install the two packages it said were missing i.e the krb5.... & the openssl.....

Then it let me use the Add/Remove applications to install the Development tools package (part of which is gcc) & the Kernel development.

On to the next hurdle !!

You get frustrated, but hey each step is part of the learning curve, and you feel a sense of achievement when you sort something out. Don't give in !!
 
Old 12-07-2003, 02:25 PM   #8
ShieldedWolf
LQ Newbie
 
Registered: Dec 2003
Location: Bowdoin, ME
Distribution: RedHat 9
Posts: 4

Rep: Reputation: 0
Question A little dumber...lol

I have this same problem trying to do the same exact thing but, I am just "Linux born".

Can you be a bit more specific on the use of this?

rpm --install --force

How do I tell it what package to install?
 
Old 12-07-2003, 03:16 PM   #9
ShieldedWolf
LQ Newbie
 
Registered: Dec 2003
Location: Bowdoin, ME
Distribution: RedHat 9
Posts: 4

Rep: Reputation: 0
Never mind

Figured it out.

rpm -i --force opensslxxxxxxxxx.rpm

Thanx anyway
 
  


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
Add/Remove Packages not finding CD LightShear Linux - Software 2 09-14-2005 10:23 PM
CD not recognized in Add/Remove Packages velan Fedora 1 08-17-2004 05:36 PM
Add/Remove Packages tool blk96gt Fedora 2 07-10-2004 04:51 PM
Unable to use Add or Remove Packages !!! jmax24 Linux - General 1 04-13-2004 02:30 AM
add/remove packages via FTP Gavin Linux - Software 1 03-05-2003 07:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 04:01 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