[DRBD-user] Re: rpm building bug?

Lars Ellenberg Lars.Ellenberg at linbit.com
Sat Jan 6 18:26:11 CET 2007

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


/ 2007-01-05 11:49:12 -0800
\ Monty Taylor:
> Sorry. I'm a real douchebag today. Here's a patch file that actually works. :)
> 
> On 1/5/07, Monty Taylor <mtaylor at mysql.com> wrote:
> >Hey guys,
> >
> >When I'm building RPMS on RHEL ES 4.4 or CentOS 4.4 with make rpm, I
> >get errors from this line in the spec file:
> >
> >test "$(scripts/get_uts_release.sh)" = %{kernelversion}
> >
> >get_uts_release.sh seems to depend on the value of KDIR, which doesn't
> >seem to be set.
> >
> >However, if I pass the %{kdir} to the script, it works fine. I've
> >attached a patch for this, although I'm sure there could be another
> >way to deal with that.

did you try with current svn?
svn co http://svn.drbd.org/drbd/branches/drbd-0.7

I think the fix for this "problem" was to 
"export" KDIR (and other stuff) in the Makefile...

cheers

-- 
: Lars Ellenberg                            Tel +43-1-8178292-0  :
: LINBIT Information Technologies GmbH      Fax +43-1-8178292-82 :
: Vivenotgasse 48, A-1120 Vienna/Europe    http://www.linbit.com :
__
please use the "List-Reply" function of your email client.



More information about the drbd-user mailing list