Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure error: ntfs-3g can be built for Linux, FreeBSD, Mac OS X, NetBSD, and Solaris only. #98

Closed
xzoogen opened this issue Jan 21, 2024 · 2 comments

Comments

@xzoogen
Copy link

xzoogen commented Jan 21, 2024

on linux mint 21.2, i want to build ntfsusermap.exe
according to Readme and INSTALL inside release file ntfs-3g_ntfsprogs-2022.10.3 run

./configure --enable-extras --enable-posix-acls --enable-xattr-mappings --build=mingw64

But got the follow ERROR:

S ~/Downloads/ntfs-3g_ntfsprogs-2022.10.3
 % ./configure --enable-extras --enable-posix-acls --enable-xattr-mappings --build=mingw64
checking build system type... x86_64-pc-mingw64
checking host system type... x86_64-pc-mingw64
checking target system type... x86_64-pc-mingw64
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes

...
...
...

checking for sed... (cached) /usr/bin/sed
checking for ldconfig... /sbin/ldconfig
checking Windows OS... no
checking fuse compatibility... configure: error: ntfs-3g can be built for Linux, FreeBSD, Mac OS X, NetBSD, and Solaris only.
@xzoogen
Copy link
Author

xzoogen commented Jan 21, 2024

solved by linux ntfsusermap
first umount ntfs disk, then run

id
sudo ntfsusermap /dev/sdb4

after generate

  • You will have to move the file "UserMapping"
    to directory ".NTFS-3G" after mounting

/etc/fstab example

# mount a hard disk, with new files getting their protections
# the Windows way (a UserMapping file is required)
mount -t ntfs-3g -o inherit /dev/sda3 /mnt/shared

@xzoogen xzoogen closed this as completed Jan 21, 2024
@CodingKoopa
Copy link

CodingKoopa commented Mar 8, 2024

Just to clarify for anyone else stumbling on this issue: this error message is correct, since the driver part isn't supposed to work on Windows. You can get around this by passing the --disable-ntfs-3g argument to ./configure.

I have contributed some fixes for the Windows build in #106.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants