Difference between revisions of "Ntfs-3g"

From CBLFS
Jump to navigationJump to search
m
m
Line 16: Line 16:
 
=== Optional ===
 
=== Optional ===
 
* [[FUSE]]
 
* [[FUSE]]
 +
 +
== Configuration Information ==
 +
 +
If you would like to compile with system [[FUSE]] add the following to the configure command:
 +
 +
--with-fuse=external
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 26: Line 32:
 
Install the package
 
Install the package
  
  make install &&
+
  make install
  mv -v /usr/lib/libntfs-3g.so.24* /lib &&
+
 
ln -sfv ../../lib/libntfs-3g.so.24.0.0 /usr/lib/libntfs-3g.so
+
  '''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 ==
 
== Multilib ==
Line 44: Line 51:
  
 
  make install &&
 
  make install &&
  mv -v /usr/lib/libntfs-3g.so.24* /lib &&
+
  mv -v /usr/lib/libntfs-3g.so.28* /lib &&
  ln -sfv ../../lib/libntfs-3g.so.24.0.0 /usr/lib/libntfs-3g.so
+
  ln -sfv ../../lib/libntfs-3g.so.28.0.0 /usr/lib/libntfs-3g.so
  
 
=== N32 ===
 
=== N32 ===
Line 59: Line 66:
  
 
  make install &&
 
  make install &&
  mv -v /usr/lib32/libntfs-3g.so.24* /lib32 &&
+
  mv -v /usr/lib32/libntfs-3g.so.28* /lib32 &&
  ln -sfv ../../lib32/libntfs-3g.so.24.0.0 /usr/lib32/libntfs-3g.so
+
  ln -sfv ../../lib32/libntfs-3g.so.28.0.0 /usr/lib32/libntfs-3g.so
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 74: Line 81:
  
 
  make install &&
 
  make install &&
  mv -v /usr/lib64/libntfs-3g.so.24* /lib64 &&
+
  mv -v /usr/lib64/libntfs-3g.so.28* /lib64 &&
  ln -sfv ../../lib64/libntfs-3g.so.24.0.0 /usr/lib64/libntfs-3g.so
+
  ln -sfv ../../lib64/libntfs-3g.so.28.0.0 /usr/lib64/libntfs-3g.so

Revision as of 11:01, 6 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

Required

Optional

Configuration Information

If you would like to compile with system 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