On 2/14/06, James G. Sack (jim) <[EMAIL PROTECTED]> wrote:
> RB W wrote:
> >..
> > I found the following that sheds light on the situation. The tip from
> > Jim did in fact result in a successful install of the rpm however
> > wavemon then throws the "fatal error: could not get range information"
> > error, which is why I was looking for a tarball that would work
> > cleanly, etc., etc.
> >
> > So I am fiddling with getting the "wireless.h" files of the same
> > version in place...
> >
> > <quote>
> > Broken wavemon
>  >...
>
> I had a Version 19 on my FC4, and using that in the recipe you quoted
> doesn't 'make'.
>
> But, I found a version 17 from rpmsearch (rpm.pbone.net) in a source rpm
>    wireless-tools-27-2.2.0.fc3.src.rpm
>
> -And replacing both the wireless.h files on my system
> (which were in /usr/include/ and /usr/include/linux/) with this one ..
>
> -and also editing the Makefile (after .config)  to read CC=gcc32 (as
> discovered  in previous discussions)..
>
> I found that the make and install works.
> I can't test (no wireless), but maybe this will help.
>
> I'll send you the (gzipped) header directly, to keep it off the list.
>
> ..jim



Thanks Jim...

I had a chance to look at the version of the various wireless.h files
earlier and I was thinking of coordinating the versions...

I ran into trouble with that src.rpm from .jp because the Yoshida
person has the user/group fixed to their name inside the src.rpm. So
on my FC4 distro I did a:

rpm -i wavemon-0.4.0b-1.src.rpm

which broke the src.rpm into its parts as follows:

wavemon.spec in /usr/src/redhat/SPECS
and
wavemon-0.4.0b.tar.gz in /usr/src/redhat/SOURCES/

Since the spec file didn't need to be changed (it corrects the gcc
issue for the tarball) I then did the following, as root and from the
/usr/src/redhat/SPEC directory, to put the src.rpm back together. And
also by putting them back together both the spec file and the tarball
got a user/group of root:root.

rpm -bb --clean --rmsource wavemon.spec

By doing this a regular rpm was created in
/usr/src/redhat/RPMS/i386/wavemon-0.4.0b-1.i386.rpm

When I ran a:
sudo rpm -ivh /usr/src/redhat/RPMS/i386/wavemon-0.4.0b-1.i386.rpm

it installed cleanly...
(see: http://www.linuxnovice.org/main_how.php3?VIEW=VIEW&t_id=52)

Now I will use your tip in regards to wireless.h for version 17 to
correct for the version 19 that got put in place during my latest "yum
update" on this FC4...


THX,
RBW


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to