[DRBD-user] make rpm errors for 8.3.6 on CentOS 5.4

Florian Haas florian.haas at linbit.com
Wed Nov 18 17:59:13 CET 2009


Tyler,

You're using a default RPM configuration, which sets the RPM paths
somewhere below /usr/src/redhat, which you most likely don't have write
permission for.

Set up a build hierarchy in your home directory, and set your paths in
your ~/.rpmmacros file properly.

And "rpmbuild -tb", and thus make rpm, unfortunately got borked just
before the 8.3.6 release, so please build from the spec file with
"rpmbuild -bb".

Hey we did say this was not a release for general use, merely an
intermediate one for the changes in packaging. ;)

Cheers,
Florian

On 11/18/2009 05:19 PM, Tyler Sutherland wrote:
> Hi,
> 
> I did a new install of CentOS 5.4 on an HP DL360 G5 server and updated
> all packages to the newest versions.  The kernel is
> 2.6.18-164.6.1.el5PAE.
> 
> I successfully built and installed DRBD 8.3.6 from source using these
> commands:
> wget http://oss.linbit.com/drbd/8.3/drbd-8.3.6.tar.gz
> tar zxvf drbd-8.3.6.tar.gz
> cd drbd-8.3.6
> ./configure --with-km
> make
> sudo make install
> depmod -a
> mobprobe drbd
> 
> I prefer using rpms for installing though, so I tried building one but I
> got the error messages below.  Any help would be appreciated, thanks.
> [...]

-------------- 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/20091118/50e70939/attachment.pgp>


More information about the drbd-user mailing list