Entware / Entware-ng

Entware-ng
GNU General Public License v2.0
1.21k stars 152 forks source link

Package request: ntfs-3g #60

Closed amirotin closed 8 years ago

amirotin commented 8 years ago

Hi. Could you add ntfs-3g (http://www.tuxera.com/community/open-source-ntfs-3g/) to entware?

ryzhovau commented 8 years ago

Which feed are you using?

amirotin commented 8 years ago

I just install asuswrt-merlin for my router, don't know how to check which feed it is :)

amirotin commented 8 years ago

Mipsel platform i think.

zyxmon commented 8 years ago

asuswrt-merlin has commercial kernel space ntfs driver (paragon or tuxera). Why do you need a slow user space ntfs support provided by ntfs-3g?

amirotin commented 8 years ago

@zyxmon as i understand - ntfs-3g supports ntfs symlinks in linux. At this moment i can not access any data over symlink when i mount disk (or network share) with ntfs.

amirotin commented 8 years ago

Here is the main reason why i need ntfs-3g :) http://www.tuxera.com/community/ntfs-3g-advanced/junction-points-and-symbolic-links/

amirotin commented 8 years ago

I've tryed to compile package, but got this errors:

if [ ! "/opt/lib" -ef "/opt/lib" ]; then \
                /bin/mv -f "/home/digital/Entware-ng/build_dir/target-mipsel_mips32r2_uClibc-1.0.9/ntfs-3g-2015.3.14-1-fuseint/ipkg-install//opt/lib"/libntfs-3g.so* "/home/digital/Entware-ng/build_dir/target-mipsel_mips32r2_uClibc-1.0.9/ntf                                                                                   s-3g-2015.3.14-1-fuseint/ipkg-install//opt/lib";  \
        fi
/bin/mv: '/home/digital/Entware-ng/build_dir/target-mipsel_mips32r2_uClibc-1.0.9/ntfs-3g-2015.3.14-1-fuseint/ipkg-install//opt/lib/libntfs-3g.so' and '/home/digital/Entware-ng/build_dir/target-mipsel_mips32r2_uClibc-1.0.9/ntfs-3g-2015.3.14-1-fuseint/ipkg-install//opt/lib/libntfs-3g.so' are the same file
/bin/mv: '/home/digital/Entware-ng/build_dir/target-mipsel_mips32r2_uClibc-1.0.9/ntfs-3g-2015.3.14-1-fuseint/ipkg-install//opt/lib/libntfs-3g.so.86' and '/home/digital/Entware-ng/build_dir/target-mipsel_mips32r2_uClibc-1.0.9/ntfs-3g-2015.3.14-1-fuseint/ipkg-install//opt/lib/libntfs-3g.so.86' are the same file
/bin/mv: '/home/digital/Entware-ng/build_dir/target-mipsel_mips32r2_uClibc-1.0.9/ntfs-3g-2015.3.14-1-fuseint/ipkg-install//opt/lib/libntfs-3g.so.86.0.0' and '/home/digital/Entware-ng/build_dir/target-mipsel_mips32r2_uClibc-1.0.9/ntfs-3g-2015.3.14-1-fuseint/ipkg-install//opt/lib/libntfs-3g.so.86.0.0' are the same file
make[6]: *** [install-exec-hook] Error 1
make[6]: Leaving directory `/home/digital/Entware-ng/build_dir/target-mipsel_mips32r2_uClibc-1.0.9/ntfs-3g-2015.3.14-1-fuseint/libntfs-3g'
make[5]: *** [install-exec-am] Error 2
make[5]: Leaving directory `/home/digital/Entware-ng/build_dir/target-mipsel_mips32r2_uClibc-1.0.9/ntfs-3g-2015.3.14-1-fuseint/libntfs-3g'
make[4]: *** [install-am] Error 2
make[4]: Leaving directory `/home/digital/Entware-ng/build_dir/target-mipsel_mips32r2_uClibc-1.0.9/ntfs-3g-2015.3.14-1-fuseint/libntfs-3g'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/home/digital/Entware-ng/build_dir/target-mipsel_mips32r2_uClibc-1.0.9/ntfs-3g-2015.3.14-1-fuseint'
make[2]: *** [/home/digital/Entware-ng/build_dir/target-mipsel_mips32r2_uClibc-1.0.9/ntfs-3g-2015.3.14-1-fuseint/.built] Error 2
make[2]: Leaving directory `/home/digital/Entware-ng/feeds/packages/utils/ntfs-3g'
make[1]: *** [package/feeds/packages/ntfs-3g/compile] Error 2
make[1]: Leaving directory `/home/digital/Entware-ng'
make: *** [package/ntfs-3g/compile] Ошибка 2

and this if i comment mv command

rm -rf /home/digital/Entware-ng/tmp/stage-ntfs-3g
mkdir -p /home/digital/Entware-ng/tmp/stage-ntfs-3g/host /home/digital/Entware-ng/staging_dir/target-mipsel_mips32r2_uClibc-1.0.9/packages /home/digital/Entware-ng/staging_dir/host/packages
install -d -m0755 /home/digital/Entware-ng/tmp/stage-ntfs-3g/usr/include
cp -fpR /home/digital/Entware-ng/build_dir/target-mipsel_mips32r2_uClibc-1.0.9/ntfs-3g-2015.3.14-1-fuseint/ipkg-install/usr/include/ntfs-3g /home/digital/Entware-ng/tmp/stage-ntfs-3g/usr/include/
cp: cannot stat '/home/digital/Entware-ng/build_dir/target-mipsel_mips32r2_uClibc-1.0.9/ntfs-3g-2015.3.14-1-fuseint/ipkg-install/usr/include/ntfs-3g': No such file or directory
make[2]: *** [/home/digital/Entware-ng/staging_dir/target-mipsel_mips32r2_uClibc-1.0.9/stamp/.ntfs-3g_installed] Error 1
make[2]: Leaving directory `/home/digital/Entware-ng/feeds/packages/utils/ntfs-3g'
make[1]: *** [package/feeds/packages/ntfs-3g/compile] Error 2
make[1]: Leaving directory `/home/digital/Entware-ng'
make: *** [package/ntfs-3g/compile] Ошибка 2
zyxmon commented 8 years ago

Try these packages - http://pkg.entware.net/binaries/mipsel/test/ Feedback needed

amirotin commented 8 years ago

seems to work fine. thx!

Choongkyu commented 8 years ago

I was looking for this as well and saw that the link is dead. Would I be able to get these packages as well?

zyxmon commented 8 years ago

@zebralight - the packages are in repo

Choongkyu commented 8 years ago

awesome! Thank you! I didn't see it here http://entware.wl500g.info/binaries/entware/Packages.html but installing it blindly did it.