FedFsUtilsBuild0.9

From Linux NFS

(Difference between revisions)
Jump to: navigation, search
Line 13: Line 13:
== Introduction ==
== Introduction ==
-
If you are running Fedora 19, you can install a packaged version of fedfs-utils-0.9.  On other distributions, build fedfs-utils from scratch.  
+
Follow these steps if your distribution does not provide a packaged version of fedfs-utils.
-
=== Pre-packaged install ===
+
# Download the fedfs-utils-0.9 release tarball (provide link on release).
 +
# Unpack the fedfs-utils-0.9 tarball somewhere convenient.
 +
# Run ./configure in the fedfs-utils top-level directory.
 +
## By default ./configure installs under /usr/local.  Specify "--prefix=/usr" to install fedfs-utils in the usual places.
 +
## If you are on a 64-bit platform, be sure to specify "--libdir=/usr/lib64".
 +
## The ./configure script may find missing libraries or headers such as libcap, libtirpc, libuuid, and graphviz.  Install these components using your distributions installation tool to allow the ./configure script to complete successfully.
 +
# Use "make" to build the package.
 +
# As root run "make install"
 +
# Use "make doxy" to build Doxygen web pages
-
fedfs-utils is split into several packages so you don't have to install all fedfs-utils components on every host.  But for convenience, you can install everything with this command:
+
Before running any FedFS commands, create a "fedfs" user ID:
-
  # yum install fedfs-utils
+
  # useradd -c "FedFS Administrator" -s /sbin/nologin fedfs
-
 
+
-
=== Build from scratch ===
+
-
 
+
-
1. Download the fedfs-utils-0.9 release tarball from [http://git.linux-nfs.org/?p=cel/fedfs-releases.git;a=summary].
+
-
 
+
-
2. Unpack the fedfs-utils-0.9 tarball somewhere convenient.
+
-
 
+
-
3. Run ./configure.  If you are on a 64-bit platform, be sure to specify "--libdir=/usr/lib64".
+
-
 
+
-
The ./configure script may find missing package dependencies.  Typical ones are: libcap-devel, libtirpc-devel, libuuid, uriparser-devel, and graphviz.  Install these to allow the ./configure script to complete successfully.
+
-
 
+
-
4. Once ./configure completes successfully, use "make" to build the package.
+
-
 
+
-
5. If the build worked, as root run "make install"
+

Revision as of 17:36, 9 January 2013

Project: fedfs-utils

[ Project Home | News | Downloads | Docs | Mailing Lists | Source Control | Issues ]


Introduction

Follow these steps if your distribution does not provide a packaged version of fedfs-utils.

  1. Download the fedfs-utils-0.9 release tarball (provide link on release).
  2. Unpack the fedfs-utils-0.9 tarball somewhere convenient.
  3. Run ./configure in the fedfs-utils top-level directory.
    1. By default ./configure installs under /usr/local. Specify "--prefix=/usr" to install fedfs-utils in the usual places.
    2. If you are on a 64-bit platform, be sure to specify "--libdir=/usr/lib64".
    3. The ./configure script may find missing libraries or headers such as libcap, libtirpc, libuuid, and graphviz. Install these components using your distributions installation tool to allow the ./configure script to complete successfully.
  4. Use "make" to build the package.
  5. As root run "make install"
  6. Use "make doxy" to build Doxygen web pages

Before running any FedFS commands, create a "fedfs" user ID:

# useradd -c "FedFS Administrator" -s /sbin/nologin fedfs
Personal tools