> On Sun, Jun 08, 2003 at 03:37:03PM +0200, [EMAIL PROTECTED] wrote:
>>with 2.3.2-4mdk also. So it must be something else, possibly the fact
>> that klama is running kernel-2.4.19-16mdkenterprise (my cooker box is
>> running

> it could be, but samba should not include kernel headers

Well, since klama should be quite up-to-date, the only difference at
present seems to be the kernel it's running ... it is also one glibc
release behind, but my cooker box compiled 3.0.0beta1 this morning with
the same release installed.

> in fact in the
> spec linux/quota.h should be replaced with sys/quota.h, and from your
> error message it seems that linux/quota.h is directly included.

That's actually why we have:

# Fix quota compilation in glibc>2.3
%if %build_mdk91 || %build_mdk92
#grep "<linux/quota.h>" source/smbd/quotas.c >/dev/null && \
perl -pi -e 's@<linux/quota.h>@<sys/quota.h>@' source/smbd/quotas.c
%endif

There's probably a better way to fix it (configure should detect which
quota header to use), but I didn't have time for that.

I need to find out what the rules are about uploading packages not built
on a Mandrakesoft build host until we can resolve this.

>
>>In future, please look for the latest spec file both in Mandrake CVS
>> and samba CVS (especially if cooker isn't up-to-date as now), since you
>> missed these, and there are now lots of conflicting changes, and you
>> will not waste so much time repeating what has been done a few weeks
>> ago in samba CVS.
>
> /me admits his ignorance of the existance of mandrake cvs, i will search
> for it and see if i have anything else to patch.
>

Hmmm, it's probably time to document tips and tricks for cookers ...

http://cvs.mandrakesoft.com/cgi-bin/cvsweb.cgi/contrib-SPECS/samba3/
http://cvs.mandrakesoft.com/cgi-bin/cvsweb.cgi/SPECS/samba/

(if you make a mozilla keyword bookmark for
http://cvs.mandrakesoft.com/cgi-bin/cvsweb.cgi/contrib-SPECS/%s and
http://cvs.mandrakesoft.com/cgi-bin/cvsweb.cgi/SPECS/%s, mine are called
contrib-specs and specs respectively, then you can just enter something
like "specs samba" or "contrib-specs samba3" in the address bar to get to
the urls above)

Of course, you will see the samba3 spec file is currently 6 weeks old,
which is why the one in samba cvs may be a better choice at times:

http://cvs.samba.org/cgi-bin/cvsweb/samba/packaging/Mandrake/?only_with_tag=SAMBA_3_0

Regards,
Buchan



Reply via email to