How To Build xfstools, xfsprogs And xfsdump From Source On Ubuntu
2010-01-18 11:36
721 查看
This short guide explains how you can build xfstools, xfsprogs, and xfsdump from the sources on an Ubuntu system.
In certain instances, running the xfs_fsr utility from the packaged version of xfstools can cause corruption on an XFS filesystem.
This is by no means a catch-all solution, only a guide to help those who are having trouble installing the updated tools.
Install the prerequisites:
The install guide says to run make install-dev and make install-qa, but this did not add the needed libraries, libattr1-dev and libacl1-dev allow the build to complete.
# sudo apt-get install git-core libtool libattr1-dev libacl1-dev build-essential automake autoconf uuid-dev
Download the Git source trees:
# cd ~
# git clone git://oss.sgi.com/xfs/cmds/xfsprogs
# git clone git://oss.sgi.com/xfs/cmds/xfsdump
# git clone git://oss.sgi.com/xfs/cmds/xfstests
Compile source and install:
Install xfsprogs:
# cd ~/xfsprogs
# make
# make install
Install xfsdump:
# cd ~/xfsdump
# make
# make install
Install xfstests:
# cd ~/xfstests
# make
# make install
----------------------------
FATAL ERROR: could not find a valid UUID header.
Install the Universally Unique Identifiers development package.
A:
http://sourceforge.net/projects/e2fsprogs/ 下载并安装
In certain instances, running the xfs_fsr utility from the packaged version of xfstools can cause corruption on an XFS filesystem.
This is by no means a catch-all solution, only a guide to help those who are having trouble installing the updated tools.
Install the prerequisites:
The install guide says to run make install-dev and make install-qa, but this did not add the needed libraries, libattr1-dev and libacl1-dev allow the build to complete.
# sudo apt-get install git-core libtool libattr1-dev libacl1-dev build-essential automake autoconf uuid-dev
Download the Git source trees:
# cd ~
# git clone git://oss.sgi.com/xfs/cmds/xfsprogs
# git clone git://oss.sgi.com/xfs/cmds/xfsdump
# git clone git://oss.sgi.com/xfs/cmds/xfstests
Compile source and install:
Install xfsprogs:
# cd ~/xfsprogs
# make
# make install
Install xfsdump:
# cd ~/xfsdump
# make
# make install
Install xfstests:
# cd ~/xfstests
# make
# make install
----------------------------
FATAL ERROR: could not find a valid UUID header.
Install the Universally Unique Identifiers development package.
A:
http://sourceforge.net/projects/e2fsprogs/ 下载并安装
相关文章推荐
- 【转】How to build and install PHP 5.6.9 from source on Ubuntu 14.04 VPS
- How to compile and debug VLC player source code in eclipse IDE on Ubuntu 10.04 (lucid)
- This tip shows how to extract the width and height from a bitmap source file on disk.
- How to build ubuntu package from source? Useful for debugging ubuntu packages
- how to build and install vim from source code
- How to build the Robotics Library from source code on Windows
- How to build and run ARM Linux on QEMU from scratch
- How to build NCL and NCAR Graphics from source code
- How to build and run ARM Linux on QEMU from scratch
- How to build NCL and NCAR Graphics from source code
- Howto Write and build ROS program on Ubuntu
- How to compile and debug VLC player source code in eclipse IDE on Ubuntu 10.04 (lucid)?
- How to Install and Configure Nginx from Source on centos--转
- How to install PostGIS 2.0 on Ubuntu 11.10 (oneiric) from source
- How to export files from rpm file on ubuntu system
- How to Install Tomcat 8.0.27 on CentOS/RHEL and Ubuntu【转】
- How-To: Install Google’s Android Eclipse plugin (and/or adb) on 64-bit Debian/Ubuntu
- How to create a project from existing source in Eclipse and then find it?
- How to Install and Configure VNC on Ubuntu 14.04