Possible to compile on macOS/OSX?
Secure wiping/shredding of free disk space with many methods
Brought to you by:
bogdro
Hi, I was wondering if it's possible to compile it on macOS Sierra or OS X El Capitan. WFS does include HFS/HFS+ support, right?, and afaik there is no macOS tool (except the proprietary BCWipe) that can wipe slack space. I know it isn't really important, with the use of SSDs etc., but there are probably still some people with HDDs (like myself) who'd be willing to give it a shot on macOS, if (if) it's even possible.
Hi.
Yes, WFS supports HFS+, but not just on Mac OS / OS X. And just having a Mac OS / OS X is not enough to compile WFS with HFS+ support.
You need the "hfsplus" software, last known address: https://launchpad.net/ubuntu/+archive/primary/+files/hfsplus_1.0.4.orig.tar.gz (patched and installed as written in the README file in WFS). Apart from this, you just need whatever regular software you use to compile C programs (a C/C++ compiler - like gcc on Linux, a C library with all the C header files - on Linux, this would be glibc with glibc-devel or similar, a "make"-like program) and everything should work.
On the other hand, I don't have access to any real system of this kind (neither at work, nor at home), that's why I write "on Linux, it would be...". So as I say - "should work", but I didn't test it. If there are errors during configuration or compilation, just send me the details (error message, the generated config.h file and the generated config.log file) and I'll see what I can do. On the other hand, if it compiles as it is now, let me know, too, with the exact OS name and version. Positive information is also valuable.
I think I have everything necessary in terms of compilers etc., but I received lots of errors, both with the fast-track installer and the step-by-step approach. But I will continue to look into it.
Hi again.
Yes, it's been a while... But as time passes, new possibilities arise. A site called Travis CI provides a possibility to build software on various systems, including macOS. Thanks to them, I was able to fix the compilation problems.
A successful build is here: https://app.travis-ci.com/github/bogdro/wipefreespace and, in particular, a successful macOS build is here: https://app.travis-ci.com/github/bogdro/wipefreespace/jobs/581487955.
Version 2.6, which includes these fixes, has just been released. I hope it fixes your problems as well, if the issue is still relevant for you after 6 years.
B.
Closing the defect. Feel free to reopen or post another one, if needed.