From 1ba83240eedfcccbf0159e851297b4feaa14c7db Mon Sep 17 00:00:00 2001 From: "Alexander E. Patrakov" Date: Sun, 14 Jan 2007 12:24:50 +0000 Subject: [PATCH] Upgraded xfsprogs, thus fixing a 404 error. Added two lack-of-testsuite notes. git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6389 af4574ff-66df-0310-9fd7-8a98e5e911e0 --- general.ent | 2 +- introduction/welcome/changelog.xml | 10 ++++ postlfs/filesystems/reiser.xml | 14 +----- postlfs/filesystems/xfs.xml | 81 +++++++++++++++++------------- 4 files changed, 58 insertions(+), 49 deletions(-) diff --git a/general.ent b/general.ent index 0c70d9f542..358e09ae53 100644 --- a/general.ent +++ b/general.ent @@ -68,7 +68,7 @@ - + diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml index 4d9504b31b..cd800addd9 100644 --- a/introduction/welcome/changelog.xml +++ b/introduction/welcome/changelog.xml @@ -41,6 +41,16 @@ --> + + January 14th, 2007 + + + [alexander] - Updated to xfsprogs-2.8.18, added notes about + the lack of testsuites to xfsprogs and reiserfsprogs. + + + + January 13th, 2007 diff --git a/postlfs/filesystems/reiser.xml b/postlfs/filesystems/reiser.xml index 28955daa08..2e450d374f 100644 --- a/postlfs/filesystems/reiser.xml +++ b/postlfs/filesystems/reiser.xml @@ -4,18 +4,6 @@ %general-entities; - - - - - - - @@ -80,6 +68,8 @@ ./configure --prefix=/usr --sbindir=/sbin && make + This package does not come with a test suite. + Now, as the root user: make install && diff --git a/postlfs/filesystems/xfs.xml b/postlfs/filesystems/xfs.xml index 83abcdcc71..10860f59a6 100644 --- a/postlfs/filesystems/xfs.xml +++ b/postlfs/filesystems/xfs.xml @@ -4,24 +4,12 @@ %general-entities; - - - - - - - - - - - - - + + + + + + ]> @@ -78,15 +66,19 @@ commands: sed -i '/autoconf/d' Makefile && -make DEBUG=-DNDEBUG +make DEBUG=-DNDEBUG INSTALL_USER=root INSTALL_GROUP=root \ + LOCAL_CONFIGURE_OPTIONS="--enable-readline=yes" + + This package does not come with a test suite. Now, as the root user: make install && -chmod -v 755 /lib/libhandle.so* && +make install-dev && install -v -m755 -D libhandle/libhandle.la /usr/lib/libhandle.la && -install -v -m644 libhandle/.libs/libhandle.a /usr/lib && -ln -sv ../../lib/libhandle.so.1 /usr/lib/libhandle.so +chmod -v 755 /lib/libhandle.so* && +rm -f /lib/libhandle.{a,la,so} && +ln -svf ../../lib/libhandle.so.1 /usr/lib/libhandle.so @@ -100,17 +92,31 @@ ln -sv ../../lib/libhandle.so.1 /usr/lib/libhandle.so make DEBUG=-DNDEBUG: The XFS build will fail using the default -DDEBUG flags. + INSTALL_USER=root INSTALL_GROUP=root: This + sets the owner and group of the installed files. + + + LOCAL_CONFIGURE_OPTIONS="...": This passes + extra configuration options to the configure script. + The example --enable-readline=yes parameter + enables linking the XFS programs with the + libreadline.so library, in order + to allow editing interactive commands. + OPTIMIZER="...": Adding this parameter to - the make command overrides the default optimization - settings. + the end of the make command overrides the + default optimization settings. - install -v ...: These commands install the - static library and libtool archive for libhandle - since make install only installs the shared - library. - - ln -sv ...: This command installs a symlink - that is missed by the make install command. + make install-dev: This command installs + static XFS libraries, their headers and the corresponding documentation. + Currently, DMAPI + and xfsdump are + the only packages that use the installed libraries. + + + install -v ... and the three following commands + fix the installation of libhandle + libraries. @@ -119,14 +125,14 @@ ln -sv ../../lib/libhandle.so.1 /usr/lib/libhandle.so Installed Programs - Installed Library + Installed Libraries Installed Directory fsck.xfs, mkfs.xfs, xfs_admin, xfs_bmap, xfs_check, xfs_copy, xfs_db, xfs_freeze, xfs_growfs, xfs_info, xfs_io, xfs_logprint, - xfs_mkfile, xfs_ncheck, xfs_repair, and xfs_rtcp - libhandle.{so,a} + xfs_mkfile, xfs_ncheck, xfs_quota, xfs_repair, and xfs_rtcp + libdisk.a, libhandle.{so,a}, libxcmd.a, libxfs.a, and libxlog.a /usr/share/doc/xfsprogs @@ -317,13 +323,16 @@ ln -sv ../../lib/libhandle.so.1 /usr/lib/libhandle.so libhandle.so - contains functions to map filesystem handles to a - corresponding open file descriptor for that filesystem. + contains XFS-specific functions that provide a way to perform + certain filesystem operations without using a file descriptor to + access filesystem objects. libhandle.so + +