<div dir="ltr"><div><div><div><div><div><div>I guess I've found something odd... when we do (1):<br><br>
$ echo -e "%_topdir $(echo $HOME)/rpmbuild\n%dist .el$(lsb_release -s -r|cut -d"." -f1).local" >> ~/.rpmmacros<br><br></div>it means that in file .rpmmacros, these two lines should be there (..in my case..):<br><br></div>%_topdir /home/dafh/rpmbuild<br></div>%dist .el7.local<br><br></div>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:<br><br>-e %_topdir /home/dafh/rpmbuild<br>%dist .el7.local<br><br></div>What is the meaning of doing (1)? What is right here? I'm not going to continue until I verify this! <br><br></div>Thanks<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-01-23 15:48 GMT-03:00 Diego Farias <span dir="ltr"><<a href="mailto:dnfarias@uc.cl" target="_blank">dnfarias@uc.cl</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Steve, I'm doing what you proposed and I just want to say that at 4) Install (new) kernel, everything is fine;<br><br>Installing : kernel-3.10.0-327.4.4.el7.x86_64 1/1 <br>Error! Build of psmouse.ko failed for: 3.10.0-327.4.4.el7.x86_64 (x86_64)<br>Consult the make.log in the build directory<br>/var/lib/dkms/psmouse/alps-1.3/build/ for more information.<br> Verifying : kernel-3.10.0-327.4.4.el7.x86_64 1/1 <br><br>Installed:<br> kernel.x86_64 0:3.10.0-327.4.4.el7 <br><br></div>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. <br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2016-01-18 20:51 GMT-03:00 Diego Farias <span dir="ltr"><<a href="mailto:dnfarias@uc.cl" target="_blank">dnfarias@uc.cl</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Yes, I made a mistake in the last message, but I'm sure I did it alright (rpmbuild as non-root wl-kmod...rpm)<br></div>It says that was written the kmod-wl.rpm correctly at rpmbuild/RPMS/ and then rpm -Uvh kmod-wl.<br><br></div>As a proof of that, <br><br>rpm -q kmod-wl<br>kmod-wl-6_30_223_271-2.el7.local.x86_64<br><br></div>I guess I'll remove the kernel and try again! <br><br></div>Thanks Steve<br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">2016-01-18 20:33 GMT-03:00 S.Tindall <span dir="ltr"><<a href="mailto:s10dal@elrepo.org" target="_blank">s10dal@elrepo.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Mon, 2016-01-18 at 20:09 -0300, Diego Farias wrote:<br>
> Probably I made a stupid mistake in while I was following the<br>
> instructions; I tried to build again the package but unsuccessfully:<br>
><br>
> [dafh@dhcp121-83 ~]$ rpmbuild --rebuild --define 'packager dafh'<br>
> rpmbuild/SOURCES/hybrid-v35_64-nodebug-pcoem-6_30_223_271.tar.gz<br>
> Installing<br>
> rpmbuild/SOURCES/hybrid-v35_64-nodebug-pcoem-6_30_223_271.tar.gz<br>
> error:<br>
> rpmbuild/SOURCES/hybrid-v35_64-nodebug-pcoem-6_30_223_271.tar.gz<br>
> cannot be installed<br>
<br>
</span>Slight error.<br>
<br>
Look at the wl-kmod wiki page at step "5" (simplified below):<br>
<br>
<a href="http://elrepo.org/tiki/wl-kmod" rel="noreferrer" target="_blank">http://elrepo.org/tiki/wl-kmod</a><br>
<br>
$ rpmbuild --rebuild --define 'packager <your-name>' \<br>
/<path-to-nosrc.rpm>/wl-kmod*nosrc.rpm<br>
<br>
You should "rebuild" the wl-kmod*nosrc.rpm, not the source tarball.<br>
<br>
You placed the source tarball in ~/rpmbuild/SOURCES/ so that it was<br>
available for the srpm rebuild.<br>
<span><br>
<br>
> I'm going to try the kernel solution. By the way, how am I sure that I<br>
> removed kmod-wl?<br>
<br>
</span>The rpm command will tell you:<br>
<br>
$ rpm -q kmod-wl<br>
package kmod-wl is not installed<br>
<div><div><br>
Steve<br>
<br>
_______________________________________________<br>
elrepo mailing list<br>
<a href="mailto:elrepo@lists.elrepo.org" target="_blank">elrepo@lists.elrepo.org</a><br>
<a href="http://lists.elrepo.org/mailman/listinfo/elrepo" rel="noreferrer" target="_blank">http://lists.elrepo.org/mailman/listinfo/elrepo</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>