[DRBD-user] SLES 11 showstoppers in the drbd-8.3.6.tar.gz source distribution ...

Florian Haas florian.haas at linbit.com
Wed Dec 9 15:56:53 CET 2009

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


On 2009-12-09 14:16, Joe Bill wrote:
> Just to fix a few showstoppers when building DRBD under SLES 11...
> 
> 1)
> 
> At http://www.drbd.org/users-guide-emb/s-build-rpm.html
> 
> every occurence of ...
> 
> `rpm -E _sourcedir`
> 
> should read instead ...
> 
> `rpm -E %_sourcedir`

Thanks, will be fixed.

> 2)
> 
> Then, several occurences of '/etc/SuSErelease', in files
> 'configure' and 'configure.ac', whereas '/etc/SuSErelease' doesn't exist in my SLES 11 installation but '/etc/SuSE-release' does.

Fixed in git.

> 3)
> 
> Finally, when running the following line ...
> rpmbuild -bb drbd-km.spec
> 
> ... you may get the following error message:
> 
> "error: Failed build dependencies:
> kernel-syms = 2.6.27.39-0.3-default is needed by drbd-km-8.3.6-12.i586"
> 
> ... although, as hard as you look at it, you already have "kernel-syms v2.6.27.39-0.3-default" installed.
> 
> The problem is to those major and minor version numbers there is an additional number (build?, revision ?) that occasionally finds it's way in the version number.
> 
> So eventually, if you're kernel was recently patched, you might have to change the line in file drbd-km.spec ...
> 
> 'BuildRequires: gcc, kernel-syms = %{kernelversion}'
> 
> with 
> 
> 'BuildRequires: gcc, kernel-syms = v'
> 
> ... 'v' being the exact version of the kernel-syms package installed, which may be found using yast.

Yes, patches for automating this are accepted. :)

Cheers,
Florian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20091209/e8a558a8/attachment.pgp>


More information about the drbd-user mailing list