Ntfs-3g

From CBLFS
Revision as of 12:19, 6 May 2008 by Xep (talk | contribs)
Jump to navigationJump to search
Download Source: http://www.ntfs-3g.org/ntfs-3g-2014.2.15.tgz

Introduction to Ntfs-3g

The NTFS-3G driver is an open source, freely available read/write NTFS driver for Linux. It provides safe and fast handling of the Windows XP, Windows Server 2003, Windows 2000 and Windows Vista file systems. Most POSIX file system operations are supported, with the exception of full file ownership and access right support.

Project Homepage: http://www.ntfs-3g.org/

Dependencies

Required

Optional

Configuration Information

If you have installed FUSE add the following to the configure command:

--with-fuse=external

Non-Multilib

Compile the package:

./configure --prefix=/usr --libdir=/usr/lib &&
make

Install the package

make install
Note:
With Native Build libntfs-3g.so.* are moved to /lib and replaced with symlinks in libdir automatically if libdir != /lib. Must be tested for Multilib!

Multilib

32Bit

Compile the package:

sed -i "/PKG_CONFIG_PATH=/d" configure &&
CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure --prefix=/usr --libdir=/usr/lib &&
make

Install the package

make install &&
mv -v /usr/lib/libntfs-3g.so.28* /lib &&
ln -sfv ../../lib/libntfs-3g.so.28.0.0 /usr/lib/libntfs-3g.so

N32

Compile the package:

sed -i "/PKG_CONFIG_PATH=/d" configure &&
CC="gcc ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package

make install &&
mv -v /usr/lib32/libntfs-3g.so.28* /lib32 &&
ln -sfv ../../lib32/libntfs-3g.so.28.0.0 /usr/lib32/libntfs-3g.so

64Bit

Compile the package:

sed -i "/PKG_CONFIG_PATH=/d" configure &&
CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package

make install &&
mv -v /usr/lib64/libntfs-3g.so.28* /lib64 &&
ln -sfv ../../lib64/libntfs-3g.so.28.0.0 /usr/lib64/libntfs-3g.so