|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
(drbd-8.3.6.tar.gz)Hi,
I am writing this announcement just for sake of completeness. The only reason for the 8.3.6 release are the new spec files for the RPM packages. These are now compliant with Fedora's packaging guidelines. The changes to the code are negligible. In that process, the whole way of building DRBD was changed. I.e. you need now to call ./configure before you call make. Upgrade policy: If you are at 8.3.5, please stay there, no need to upgrade! We do not (yet) provide binary packages for our customers, because we have to adjust our build infrastructure first. Note: The DRBD Users Guide's section on RPM building will get updated soon. As it is now, it is wrong for building 8.3.6 RPMs. 8.3.6 (api:86/proto:86-91) -------- * Make sure that we ship all unplug events * Introduced autoconf, new RPM packaging http://oss.linbit.com/drbd/8.3/drbd-8.3.6.tar.gz http://git.drbd.org/?p=drbd-8.3.git;a=tag;h=drbd-8.3.6 -- : Dipl-Ing Philipp Reisner : LINBIT | Your Way to High Availability : Tel: +43-1-8178292-50, Fax: +43-1-8178292-82 : http://www.linbit.com DRBD(R) and LINBIT(R) are registered trademarks of LINBIT, Austria. _______________________________________________ drbd-user mailing list drbd-user@... http://lists.linbit.com/mailman/listinfo/drbd-user |
|
|
Re: [DRBD-announce] (drbd-8.3.6.tar.gz)On Mon, 9 Nov 2009, Philipp Reisner wrote:
> Hi, > > I am writing this announcement just for sake of completeness. The only > reason for the 8.3.6 release are the new spec files for the RPM packages. > These are now compliant with Fedora's packaging guidelines. > > The changes to the code are negligible. > > In that process, the whole way of building DRBD was changed. I.e. you > need now to call ./configure before you call make. > > Upgrade policy: > If you are at 8.3.5, please stay there, no need to upgrade! > > We do not (yet) provide binary packages for our customers, because we have > to adjust our build infrastructure first. > > Note: > The DRBD Users Guide's section on RPM building will get updated soon. > As it is now, it is wrong for building 8.3.6 RPMs. > > 8.3.6 (api:86/proto:86-91) > -------- > * Make sure that we ship all unplug events > * Introduced autoconf, new RPM packaging > > http://oss.linbit.com/drbd/8.3/drbd-8.3.6.tar.gz > http://git.drbd.org/?p=drbd-8.3.git;a=tag;h=drbd-8.3.6 > one just needed to do the following: make clean all install Now the way I got it to work (on CentOS 5.4) was: ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-km make clean all install depmod -a If I just do: ./configure --with-km Then the make install copies the files to /usr/local, although configure says: checking for /etc/gentoo-release... no checking for /etc/redhat-release... yes checking for /etc/slackware-version... no checking for /etc/debian_version... no checking for /etc/SuSErelease... no configure: configured for Red Hat (includes Fedora, RHEL, CentOS). What am I doing wrong or what is the adviced way to compile kernel module? Regards, Holger _______________________________________________ drbd-user mailing list drbd-user@... http://lists.linbit.com/mailman/listinfo/drbd-user |
|
|
Re: [DRBD-announce] (drbd-8.3.6.tar.gz)Now wait a minute, please don't confuse things here. :)
On 11/13/2009 08:35 AM, Holger Kiehl wrote: > How does one compile kernel module for kernel.org kernel? Usually > one just needed to do the following: > > make clean all install > > Now the way I got it to work (on CentOS 5.4) was: > > ./configure --prefix=/usr --mandir=/usr/share/man > --infodir=/usr/share/info --with-km > make clean all install > depmod -a > > If I just do: > > ./configure --with-km > > Then the make install copies the files to /usr/local, which is installed into $(DESTDIR)/lib/modules/$(KERNELRELEASE), $(DESTDIR) being / by default and $(KERNELRELEASE) being the kernel release you are building against (which in turn is the currently running kernel by default). Please confirm that. If that's not true for the kernel module for you, then that's an error in the build process, which would need to be fixed. The userland admin tools (drbdadm, drbdsetup, drbdmeta) install into $(DESTDIR)/sbin, again $(DESTDIR) being / by default. We do this because for some applications we need to run very early in the boot process, with /usr possibly not yet being available on the system. Everything else does install below /usr/local by default, to be in line with the FHS. It is common to override this by specifying --prefix=/usr (at which point, btw, you don't need to specify --mandir and --infodir, but you probably want --sysconfdir=/etc). > although configure > says: > > checking for /etc/gentoo-release... no > checking for /etc/redhat-release... yes > checking for /etc/slackware-version... no > checking for /etc/debian_version... no > checking for /etc/SuSErelease... no > configure: configured for Red Hat (includes Fedora, RHEL, CentOS). Yes, it's detecting what platform you are building on and sets a few paths accordingly. It would be pointless to look for this below /usr/local. > What am I doing wrong or what is the adviced way to compile kernel module? To compile and install both the userland and kernel components, in your case the recommended steps would be (assuming you are building as non-root): ./configure --prefix=/usr --sysconfdir=/etc --with-km make sudo make install "make install" does invoke depmod, so no need to do that specifically. Hope this helps. Like Phil already wrote, this will be in the User's Guide shortly. Cheers, Florian _______________________________________________ drbd-user mailing list drbd-user@... http://lists.linbit.com/mailman/listinfo/drbd-user |
| Free embeddable forum powered by Nabble | Forum Help |