MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 5 - Building the Base System Tools

Navigation    
« GNU LibIDN2 32-bit HOME Attr 32-bit »

Attr 64-bit

Name: Attr 64-bit
Summary: Utilities to administer the extended attributes of filesystem objects
License: GPL v2 or later
Version: 2.5.2
URL: https://download.savannah.nongnu.org/releases/attr/attr-2.5.2.tar.xz

Average Build Time: less than 0.1 SBU
Used Install Space: 4.1 MiB

Configuration

To configure Attr 64-bit for install into the build root, run the following command:

./configure --prefix=/usr           \
            --libdir=/usr/lib64     \
            --libexecdir=/usr/lib64 \
            --disable-static        \
            --sysconfdir=/etc       \
            --docdir=/usr/share/doc/attr-2.5.2

Compilation and Installation

To compile Attr 64-bit, run the following command:

make

Next, run the test suite:

make check

The root/getattr.test seems to fail if the host OS uses SELinux. For now, ignore this error, since it will be resolved later when SELinux functionality is added to the system.

Finally, to install Attr 64-bit into the build tree, run the following command:

make install
rm -fv /usr/lib64/libattr.la

NOTE: Do not delete the unpacked sources after build.

Contents

Contents  
Installed Programs attr, getfattr, and setfattr
Installed Libraries libattr.so
Installed Directories /usr/include/attr and /usr/share/doc/attr-2.5.2
Navigation    
« GNU LibIDN2 32-bit HOME Attr 32-bit »