I keep doing it keeping .rpmacross in this way:

%_topdir /home/dafh/rpmbuild
%dist .el7.local

I built and installed... but again;

[root@localhost dafh]# modprobe wl
insmod: ERROR: could not load module
/lib/modules/3.10.0-327.4.4.el7.x86_64/kernel/lib/wl.ko: No such file or
directory
modprobe: ERROR: Error running install command for wl
modprobe: ERROR: could not insert 'wl': Operation not permitted

I only have these files named wl.ko:

/usr/lib/modules/3.10.0-327.4.4.el7.x86_64/extra/wl/wl.ko
/usr/lib/modules/3.10.0-327.el7.x86_64/weak-updates/wl/wl.ko

I don't know what's going on..

2016-01-23 16:11 GMT-03:00 Diego Farias <dnfar...@uc.cl>:

> I guess I've found something odd... when we do (1):
>
>    $ echo -e "%_topdir $(echo $HOME)/rpmbuild\n%dist .el$(lsb_release -s
> -r|cut -d"." -f1).local" >> ~/.rpmmacros
>
> it means that in file .rpmmacros, these two lines should be there (..in my
> case..):
>
> %_topdir /home/dafh/rpmbuild
> %dist .el7.local
>
> but the echo '-e' option 'doesn't work fine' (and I'm curious if that
> command line (1) should work as it is because in my case I paste the echo
> $HOME or lsb_release -r|cut .d"." -f1 for getting that work out) and in
> .rpmmacros I get:
>
> -e %_topdir /home/dafh/rpmbuild
> %dist .el7.local
>
> What is the meaning of doing (1)? What is right here? I'm not going to
> continue until I verify this!
>
> Thanks
>
> 2016-01-23 15:48 GMT-03:00 Diego Farias <dnfar...@uc.cl>:
>
>> Hi Steve, I'm doing what you proposed and I just want to say that at 4)
>> Install (new) kernel, everything is fine;
>>
>> Installing : kernel-3.10.0-327.4.4.el7.x86_64
>> 1/1
>> Error!  Build of psmouse.ko failed for: 3.10.0-327.4.4.el7.x86_64 (x86_64)
>> Consult the make.log in the build directory
>> /var/lib/dkms/psmouse/alps-1.3/build/ for more information.
>>   Verifying  :
>> kernel-3.10.0-327.4.4.el7.x86_64                             1/1
>>
>> Installed:
>>   kernel.x86_64 0:3.10.0-327.4.4.el7
>>
>> About that psmouse, now I know why I don't have touchpad? (I don't know
>> who I supossed to report this). I'll continue with the list and comment the
>> installation of kmod-wl after rebooting.
>>
>> 2016-01-18 20:51 GMT-03:00 Diego Farias <dnfar...@uc.cl>:
>>
>>> Yes, I made a mistake in the last message, but I'm sure I did it alright
>>> (rpmbuild as non-root wl-kmod...rpm)
>>> It says that was written the kmod-wl.rpm correctly at rpmbuild/RPMS/ and
>>> then rpm -Uvh kmod-wl.
>>>
>>> As a proof of that,
>>>
>>> rpm -q kmod-wl
>>> kmod-wl-6_30_223_271-2.el7.local.x86_64
>>>
>>> I guess I'll remove the kernel and try again!
>>>
>>> Thanks Steve
>>>
>>> 2016-01-18 20:33 GMT-03:00 S.Tindall <s10...@elrepo.org>:
>>>
>>>> On Mon, 2016-01-18 at 20:09 -0300, Diego Farias wrote:
>>>> > Probably I made a stupid mistake in while I was following the
>>>> > instructions; I tried to build again the package but unsuccessfully:
>>>> >
>>>> > [dafh@dhcp121-83 ~]$ rpmbuild --rebuild --define 'packager dafh'
>>>> > rpmbuild/SOURCES/hybrid-v35_64-nodebug-pcoem-6_30_223_271.tar.gz
>>>> > Installing
>>>> > rpmbuild/SOURCES/hybrid-v35_64-nodebug-pcoem-6_30_223_271.tar.gz
>>>> > error:
>>>> > rpmbuild/SOURCES/hybrid-v35_64-nodebug-pcoem-6_30_223_271.tar.gz
>>>> > cannot be installed
>>>>
>>>> Slight error.
>>>>
>>>> Look at the wl-kmod wiki page at step "5" (simplified below):
>>>>
>>>>  http://elrepo.org/tiki/wl-kmod
>>>>
>>>>   $ rpmbuild --rebuild --define 'packager  <your-name>' \
>>>>     /<path-to-nosrc.rpm>/wl-kmod*nosrc.rpm
>>>>
>>>> You should "rebuild" the wl-kmod*nosrc.rpm, not the source tarball.
>>>>
>>>> You placed the source tarball in ~/rpmbuild/SOURCES/ so that it was
>>>> available for the srpm rebuild.
>>>>
>>>>
>>>> > I'm going to try the kernel solution. By the way, how am I sure that I
>>>> > removed kmod-wl?
>>>>
>>>> The rpm command will tell you:
>>>>
>>>>  $ rpm -q kmod-wl
>>>>  package kmod-wl is not installed
>>>>
>>>> Steve
>>>>
>>>> _______________________________________________
>>>> elrepo mailing list
>>>> elrepo@lists.elrepo.org
>>>> http://lists.elrepo.org/mailman/listinfo/elrepo
>>>>
>>>
>>>
>>
>
_______________________________________________
elrepo mailing list
elrepo@lists.elrepo.org
http://lists.elrepo.org/mailman/listinfo/elrepo

Reply via email to