Re: compiling btrfs-progs 4.17.1 gives error "reiserfs/misc.h: No such file or directory"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 07, 2018 at 12:51:54PM +0200, Jürgen Herrmann wrote:
> Am 7.9.2018 12:38, schrieb David Sterba:
> > On Fri, Sep 07, 2018 at 11:56:18AM +0200, Jürgen Herrmann wrote:
> >> I'm on linux mint 19, freshly installed on a new laptop about 6 weeks
> >> ago. So i wanted to compile latest btrfs-progs and latest stable 
> >> kernel
> >> first before reporting that here, BUT: I cannot compile btrfs-progs
> >> 4.17.1
> >> because of the following error:
> >> 
> >>      [CC]     convert/source-reiserfs.o
> >> In file included from convert/source-reiserfs.c:30:0:
> >> ./convert/source-reiserfs.h:23:10: fatal error: reiserfs/misc.h: No 
> >> such
> >> file or directory
> >>   #include <reiserfs/misc.h>
> >>            ^~~~~~~~~~~~~~~~~
> >> compilation terminated.
> >> Makefile:309: recipe for target 'convert/source-reiserfs.o' failed
> >> make: *** [convert/source-reiserfs.o] Error 1
> >> 
> >> A google search did not turn up any help nor does apt know of any
> >> reiserfs related libs that i could install.
> > 
> > The build dependencies are in the file INSTALL.
> 
> I admit that this was a noob mistake to not read that file :)

I partly blame the generic INSTALL file that's in GNU projects that is
useless and everybody now ignores it.

> There's no libreiserfscore on linux mint 19 though.

The distributions choose different names or packaging the libraries
separately from the base reiserfs package.

> Here's what apt finds for "reiser"
> 
> p   libguestfs-reiserfs                                 - guest disk 
> image management system - ReiserFS support
> p   libguestfs-reiserfs:i386                            - guest disk 
> image management system - ReiserFS support
> i   libreiser4-dev                                      - Reiser4's 
> filesystem access and manipulation library. Devel fi
> p   libreiser4-dev:i386                                 - Reiser4's 
> filesystem access and manipulation library. Devel fi
> p   reiser4progs                                        - administration 
> utilities for the Reiser4 filesystem
> p   reiser4progs:i386                                   - administration 
> utilities for the Reiser4 filesystem
> i   reiserfsprogs                                       - User-level 
> tools for ReiserFS filesystems
> p   reiserfsprogs:i386                                  - User-level 
> tools for ReiserFS filesystems
> 
> As you can see, libreiser4-dev is installed.

libbreiser4-dev is a different package and not the one expected for
build. You need the development package for the v3 of reisers, which
should be derived from 'reiserfsprogs'.



[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux