Difference between revisions of "Ntfs-3g"

From CBLFS
Jump to navigationJump to search
m
m
Line 10: Line 10:
  
 
== Dependencies ==
 
== Dependencies ==
 
=== Required ===
 
* [[Pkg-config]]
 
  
 
=== Optional ===
 
=== Optional ===
 
* [[FUSE]]
 
* [[FUSE]]
 +
* [[Pkg-config]]
  
 
== Configuration Information ==
 
== Configuration Information ==

Revision as of 18:00, 19 May 2008

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

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