PDA

View Full Version : Install RPM



dmuran
14th January 2007, 07:27 PM
Hey guys, I'm trying to install nistnet program and it requires following two packages installed prior to installing the nistnet but anything I try I can't find the correct packages. I'm running Fedora Core 6. The nistnet version is 2.0.12C. Can you please tell me what I'm doing wrong and point me to the right direction? Thank you in advance.

DM


This is the error I get:
[admin@localhost ~]$ rpm -i nistnet-2.0.12-ac1.i386.rpm
error: Failed dependencies:
XFree86-devel is needed by nistnet-2.0.12-ac1.i386
kernel-source is needed by nistnet-2.0.12-ac1.i386
[admin@localhost ~]$

Seve
14th January 2007, 07:42 PM
Hello:
Try
yum install kernel-devel kernel-headers
and [JN4 and Dies will like this :) ]
yum groupinstall "X Software Development" "Legacy Software Development"

Seve

Brian1
14th January 2007, 07:43 PM
You ned to install the rpms it is requesting.
XFree86-devel and kernel-source. The one for kernel-source will more than likely be named kernel-devel. It matches the current kernel version you are running.

Brian

dmuran
14th January 2007, 08:01 PM
Looks like I got kernel-devel installed but for some reason nistnet is still looking for it. The packages it is looking for are on the CD's correct? How can I uninstall and then install what is looking for? I'm hardly Linux user but got to install the software which only comes as a UNIX version so I apologize for lack of knowledge. Can you point me where can I download the required packages and the details on how to run them in order to get them installed? Thanks again

This is what I got:
[root@localhost ~]# yum install kernel-devel kernel-headers
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package kernel-devel.i686 0:2.6.18-1.2868.fc6 set to be installed
--> Running transaction check

Dependencies Resolved

================================================== ===========================
Package Arch Version Repository Size
================================================== ===========================
Installing:
kernel-devel i686 2.6.18-1.2868.fc6 updates 4.6 M

Transaction Summary
================================================== ===========================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 4.6 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test


Transaction Check Error: package kernel-devel-2.6.18-1.2869.fc6 (which is newer than kernel-devel-2.6.18-1.2868.fc6) is already installed

[root@localhost ~]# yum groupinstall *X Software Development* *Legacy Software Development*
Loading "installonlyn" plugin
Setting up Group Process
Setting up repositories
Setting up repositories
Reading repository metadata in from local files
Warning: Group *X does not exist.
Warning: Group Software does not exist.
Warning: Group Development* does not exist.
Warning: Group *Legacy does not exist.
Warning: Group Software does not exist.
Warning: Group Development* does not exist.
No packages in any requested group available to install or update
[root@localhost ~]#

Seve
14th January 2007, 08:06 PM
Hello:
A couple of items:
yum groupinstall "X Software Development" "Legacy Software Development"
and not

yum groupinstall *X Software Development* *Legacy Software Development*
" and not *

And what kernel are you now running
uname -r

Seve

dmuran
14th January 2007, 10:22 PM
Hi Seve,

Please see below for the current kernel version:

2.6.18-1.2869.fc6

Seve
14th January 2007, 10:28 PM
Hello:
You should have everything you need installed ?
what is the output of
rpm -aq | grep -F kernel

you are looking for the matching:

kernel-headers-2.6.18-1.2869.fc6
kernel-devel-2.6.18-1.2869.fc6
kernel-2.6.18-1.2869.fc6

Seve

dmuran
14th January 2007, 10:31 PM
[root@localhost admin]# rpm -i nistnet-2.0.12-ac1.i386.rpm
error: Failed dependencies:
XFree86-devel is needed by nistnet-2.0.12-ac1.i386
kernel-source is needed by nistnet-2.0.12-ac1.i386
[root@localhost admin]# rpm -aq | grep -F kernel
kernel-headers-2.6.18-1.2869.fc6
kernel-kdump-2.6.18-1.2869.fc6
kernel-doc-2.6.18-1.2869.fc6
kernel-2.6.18-1.2869.fc6
kernel-kdump-devel-2.6.18-1.2869.fc6
kernel-PAE-2.6.18-1.2869.fc6
kernel-xen-2.6.18-1.2869.fc6
kernel-devel-2.6.18-1.2869.fc6
kernel-xen-devel-2.6.18-1.2869.fc6
kernel-2.6.18-1.2798.fc6
kernel-PAE-devel-2.6.18-1.2869.fc6
[root@localhost admin]#

Seve
14th January 2007, 11:04 PM
Hello:
Where did you get the rpm and how old is it?
It is looking for XFree86-devel, which as far as I am aware does not exist on FC6 ... being replaced by Xorg in 2004 ??
Seve

Brian1
14th January 2007, 11:17 PM
Agreed there on the older XFree stuff. I would either install from source or if you can find the srpm of the rpm then recompile it to match current system enviroment.

Brian

dmuran
15th January 2007, 02:01 AM
I'm not sure how old is it. I found it on an installation CD for Actona NIST bootable disk.

When I try to follow instructions on the NistNET site I don't get too far neither (http://snad.ncsl.nist.gov/itg/nistnet/install.html - installation site) site with instructions .

1. cd /usr/src/linux - In my case it's /usr/src/kernels/2.6.18-1.2798.fc6-i686
2. make oldconfig - goes through without any visible errors
3. make dep - No errors that I could see
4. Next I go to the nistnet folder (extracted) and run - ./configure - I can't see any errors
5. after running make this is what I get :
After that make install errors out too. So I'm not able to install it neither by using the rpm nor the software :(

/home/admin/nistnet-3.0a/kernel/../include/kincludes.h:15:26: error: linux/config.h: No such file or directory
/home/admin/nistnet-3.0a/kernel/knistnet.c: In function ‘rcv_packet_munge’:
/home/admin/nistnet-3.0a/kernel/knistnet.c:916: error: too few arguments to function ‘ippt->func’
/home/admin/nistnet-3.0a/kernel/knistnet.c:961: error: too few arguments to function ‘ippt->func’
/home/admin/nistnet-3.0a/kernel/knistnet.c:972: error: too few arguments to function ‘ippt->func’
/home/admin/nistnet-3.0a/kernel/knistnet.c:1003: error: too few arguments to function ‘ippt->func’
/home/admin/nistnet-3.0a/kernel/knistnet.c: In function ‘grab_ip_rcv’:
/home/admin/nistnet-3.0a/kernel/knistnet.c:1014: warning: assignment from incompatible pointer type
/home/admin/nistnet-3.0a/kernel/knistnet.c: At top level:
/home/admin/nistnet-3.0a/kernel/knistnet.c:1236: warning: data definition has no type or storage class

schenard
17th January 2007, 04:04 AM
Hi,

You can try this patch it should resolve the knistnet.c compilation errors.

http://www.mail-archive.com/nistnet@antd.nist.gov/msg00262/nistnet-3.0a-2.16.16.patch