tuxera/ntfs-3g

README build instructions omit details

ChuckCottrill opened this issue · 4 comments

The README build instructions specify using ./configure, but the repo does not contain the ./configure file.
I have tried

  • autoconf
    error: configure.ac:36: error: possibly undefined macro: AM_INIT_AUTOMAKE If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation.

  • autoreconf -i
    again, error: configure.ac:337: warning: macro 'AM_PATH_LIBGCRYPT' not found in library configure.ac:199: error: possibly undefined macro: AC_PROG_LIBTOOL If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:246: error: possibly undefined macro: AC_MSG_ERROR configure.ac:337: error: possibly undefined macro: AM_PATH_LIBGCRYPT configure.ac:342: error: possibly undefined macro: AC_MSG_WARN autoreconf: /usr/bin/autoconf failed with exit status: 1

There is another issue closed in Nov 2022 that cited the same problem.
have tried autoconf, autoreconf, and now autogen.sh

  • autogen.sh
    configure.ac:199: error: possibly undefined macro: AC_PROG_LIBTOOL If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. autoreconf: /usr/bin/autoconf failed with exit status: 1

error: possibly undefined macro: AC_PROG_LIBTOOL

It would be nice to have a list of packages that this depends upon, so that one can ensure all dependencies are installed prior to build.

To regenerate the build system you need autoconf, automake, libtool, pkg-config (or pkgconf) and libfuse / libgcrypt development files (e.g. libfuse-dev / libgcrypt-dev packages on Debian/Ubuntu).

To 'make' (compile) and install the files offered as source files through the repository, firstly make sure you have the right environment to compile and create from source.

(On Ubuntu)
sudo apt install autoconf automake libtool pkgconf libgcrypt-dev libfuse-dev
sudo apt install libgcrypt20-doc

Run script:
./autogen.sh

Now ./configure and ./configure --help work as meant in the README file.

To fit my needs I added some options:
./configure --enable-extras --enable-posix-acls --enable-xattr-mappings

Next:
make

And finally:
sudo make install

will overwrite any pre-installed ntfs-3g modules. DO consider if you need the tools. The Windows tool 'ntfsusermap.exe' was not found to have been compiled through this extensive change!

NOTE: Trying to use the 'quick-install' instruction sent me on a 4,5 hour discovery tour though Linux universe. I ran into many interesting names, solutions and problems I will likely never need in my profession. I expect companions on this seemingly never ending trip to nowhere, to stumble upon this message in a bottle. I will express the hope for the future our information on Linux systems will improve as it did for a while since around 2017. "I will walk the fine line between time left in my projects and time wasted in the multiverse of Linux non-information, to add usefull, time-saving data". Sorry for the unintended column I ended up making here and in my recent issue in this thread.