
florian.haas at linbit
Nov 18, 2009, 8:59 AM
Post #2 of 2
(953 views)
Permalink
|
|
Re: make rpm errors for 8.3.6 on CentOS 5.4
[In reply to]
|
|
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. > [...]
|