sgan81 / apfs-fuse

FUSE driver for APFS (Apple File System)
GNU General Public License v2.0
1.78k stars 164 forks source link

Can't install! zlib.h dependency not included in install instructions. #100

Open AMDphreak opened 5 years ago

AMDphreak commented 5 years ago

Fix README.md

zlib dependency:

ryan@ADATA-PC:~/apfs-fuse/build$ make
[ 16%] Built target lzfse
[ 18%] Building CXX object CMakeFiles/apfs.dir/ApfsLib/Util.cpp.o
/home/ryan/apfs-fuse/ApfsLib/Util.cpp:36:10: fatal error: 'zlib.h' file not
      found
#include <zlib.h>          <-------------------------IT'S RIGHT HERE
         ^~~~~~~~
1 error generated.
CMakeFiles/apfs.dir/build.make:734: recipe for target 'CMakeFiles/apfs.dir/ApfsLib/Util.cpp.o' failed
make[2]: *** [CMakeFiles/apfs.dir/ApfsLib/Util.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/apfs.dir/all' failed
make[1]: *** [CMakeFiles/apfs.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
AMDphreak commented 5 years ago

Whoever fixes this, here's some help: https://stackoverflow.com/questions/18148075/compilation-error-missing-zlib-h

AMDphreak commented 5 years ago

Submitted PR #102

ubunchu commented 4 years ago

For me " sudo apt-get install libz-dev " fixed it, from the link you provided. Thanks.