Difference between revisions of "Ntfs-3g"

From CBLFS
Jump to navigationJump to search
m
Line 19: Line 19:
 
Compile the package:
 
Compile the package:
  
  ./configure --prefix=/usr &&
+
  ./configure --prefix=/usr --libdir=/usr/lib &&
 
  make
 
  make
  
 
Install the package
 
Install the package
  
  make install
+
  make install &&
 +
mv -v /usr/lib/libntfs-3g.so.13* /lib &&
 +
ln -sfv ../../lib/libntfs-3g.so.13.0.0 /usr/lib/libntfs-3g.so
  
 
== Multilib ==
 
== Multilib ==
Line 39: Line 41:
 
Install the package
 
Install the package
  
  make install
+
  make install &&
 +
mv -v /usr/lib/libntfs-3g.so.13* /lib &&
 +
ln -sfv ../../lib/libntfs-3g.so.13.0.0 /usr/lib/libntfs-3g.so
  
 
=== N32 ===
 
=== N32 ===
Line 52: Line 56:
 
Install the package
 
Install the package
  
  make install
+
  make install &&
 +
mv -v /usr/lib32/libntfs-3g.so.13* /lib32 &&
 +
ln -sfv ../../lib32/libntfs-3g.so.13.0.0 /usr/lib32/libntfs-3g.so
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 65: Line 71:
 
Install the package
 
Install the package
  
  make install
+
  make install &&
 +
mv -v /usr/lib64/libntfs-3g.so.13* /lib64 &&
 +
ln -sfv ../../lib64/libntfs-3g.so.13.0.0 /usr/lib64/libntfs-3g.so

Revision as of 13:02, 20 October 2007

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

Non-Multilib

Compile the package:

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

Install the package

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

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.13* /lib &&
ln -sfv ../../lib/libntfs-3g.so.13.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.13* /lib32 &&
ln -sfv ../../lib32/libntfs-3g.so.13.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.13* /lib64 &&
ln -sfv ../../lib64/libntfs-3g.so.13.0.0 /usr/lib64/libntfs-3g.so