Hi Matt, <br><br> Check the rpm spec file for few more options to specify the kernel and <br><br># --define "ksrc <srcdir>"<br># Build with kernel header files found in <srcdir>.<br># By default, the build script will try to find the kernel headers<br>
# matching the specified kernel or, if no kernel was specified, the<br># current kernel.<br>#<br># --define "kernel <version>"<br># Specify kernel version to build the module for.<br># By default, the version is derived from the kernel source files, or<br>
# failing that, from "uname -r".<br><br> If you have kernel source in non standard path or looks like you have src release tag different than the kernel installed. <br><br> Check if you have ls -l /usr/src/kernels/ and uname -r match. If they don't match then a proper work around to fix this is to use --define "kernel <version>". Let us see give it a try, if there are issues then we can look into it. <br>
<br>Regards<br><div class="gmail_quote">On Mon, Dec 22, 2008 at 6:18 AM, Matt Lawrence <span dir="ltr"><<a href="mailto:matt.lawrence@tamu.edu">matt.lawrence@tamu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
When I try to build fuse-2.7.3glfs10 with the command "rpmbuild -ta<br>
fuse-2.7.3glfs10.tar.gz --with modules", it runs through quite a bit and<br>
then dies with<br>
<br>
RPM build errors:<br>
Macro %kernel has empty body<br>
File not found:<br>
/var/tmp/fuse-2.7.3glfs10-1-root-root/lib/modules/%{kernel}/kernel/fs/fuse<br>
File not found:<br>
/var/tmp/fuse-2.7.3glfs10-1-root-root/lib/modules/%{kernel}/kernel/fs/fuse/fuse.ko<br>
<br>
<br>
Help? I'm trying to get glusterfs up on multiple CentOS4 systems<br>
<br>
-- Matt<br>
<br>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users" target="_blank">http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Harshavardhana<br>[y4m4 on #<a href="mailto:gluster@irc.freenode.net">gluster@irc.freenode.net</a>]<br>"Samudaya TantraShilpi"<br>Z Research Inc - <a href="http://www.zresearch.com">http://www.zresearch.com</a><br>
<br>