Welcome to the Reiser4 Wiki, the Wiki for users and developers of the ReiserFS and Reiser4 filesystems.

For now, most of the documentation is just a snapshot of the old Namesys site (archive.org, 2007-09-29).

There was also a Reiser4 Wiki (archive.org, 2007-07-06) once on pub.namesys.com.

Reiser4progs

From Reiser4 FS Wiki
(Difference between revisions)
Jump to: navigation, search
(+explain)
(--with-libaal instead of cflags/ldflags)
Line 17: Line 17:
 
  tar -xzf reiser4progs-1.0.7.tar.gz
 
  tar -xzf reiser4progs-1.0.7.tar.gz
 
  cd reiser4progs-1.0.7
 
  cd reiser4progs-1.0.7
  CFLAGS="-I/opt/libaal/include" LDFLAGS="-L/opt/libaal/lib" ./configure --prefix=/opt/reiser4progs
+
  ./configure --prefix=/opt/reiser4progs ''--with-libaal=/opt/libaal''
 
  make && sudo make install
 
  make && sudo make install
  
Note:
+
Note: if <tt>libaal</tt> has been installed from a distribution package (<tt>libaal-dev</tt> resp. <tt>libaal-devel</tt>), the <tt>--with-libaal</tt> flag can be omitted!
* Use ''<tt>LDFLAGS="-L/opt/libaal/lib"</tt>'' for 64 bit systems!
+
* If <tt>libaal</tt> has been installed from a distribution package (<tt>libaal-dev</tt> resp. <tt>libaal-devel</tt>), the <tt>CFLAGS</tt> and <tt>LDFLAGS</tt> can be omitted!
+
  
 
[[category:Reiser4]]
 
[[category:Reiser4]]

Revision as of 22:54, 24 September 2012

The tools to maintain a Reiser4 filesystem are called reiser4progs and can be found on Sourceforge. If your distribution does not ship a pre-compiled package, we have to build this manually.

To compile reiser4progs, we'll need libaal too:

wget http://downloads.sourceforge.net/project/reiser4/reiser4-utils/libaal/libaal-1.0.5.tar.gz
tar -xzf libaal-1.0.5.tar.gz
cd libaal-1.0.5
./configure --prefix=/opt/libaal
make && sudo make install

Now we can build reiser4progs:

sudo apt-get install libreadline-dev uuid-dev            # Debian, Ubuntu
sudo apt-get install readline-devel  libuuid-devel       # openSUSE, Fedora

wget http://downloads.sourceforge.net/project/reiser4/reiser4-utils/reiser4progs/reiser4progs-1.0.7.tar.gz
tar -xzf reiser4progs-1.0.7.tar.gz
cd reiser4progs-1.0.7
./configure --prefix=/opt/reiser4progs --with-libaal=/opt/libaal
make && sudo make install

Note: if libaal has been installed from a distribution package (libaal-dev resp. libaal-devel), the --with-libaal flag can be omitted!

Personal tools