-
Notifications
You must be signed in to change notification settings - Fork 29
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
Mac OS X Support #7
Comments
I had to change one thing on the configure.mk file: the line for "$(call PKG_CONFIG_CHK,fuse,-I/usr/local/include/osxfuse/fuse,-L/usr/local/lib -lfuse)" is actually "$(call PKG_CONFIG_CHK,fuse,-I/usr/local/include/osxfuse/fuse,-L/usr/local/lib - On OS X 10.8.2, after following your instructions, "sudo make install" fails with the message: make: *** No rule to make target I'm clueless as to how to fix this. Can you help me out? |
I had this issue on macOS Sierra (10.12), and was able to fix it with @mkuron did, with one minor modification: instead of adding |
|
@skandragon, this was so long ago that I don't actually have that particular install of OS X anymore, so I can't check, unfortunately! I'd like to think that I just mistyped |
I tried to compile vmfs-tools on Mac OS X 10.6.8. In its current state, it fails, but fixing it is rather simple:
Missing u_char typedef:
#include <sys/types.h>
Missing strnlen():
#define strnlen(s, maxlen) (strlen (s) < maxlen ? strlen (s) : maxlen)
Missing timersub() and gettimeofday():
#include <sys/time.h>
Missing libuuid: Download e2fsprogs,
./configure
it,cd lib/uuid
,make
, copy the uuid folder to vmfs-tools. (e2fsprogs from MacPorts does not help as it gets built without libuuid)FUSE: Install osxfuse
Below is a diff file for these changes. The changes to C code have ifdef around them and could thus easily go into the official code. The changes required to configure.mk to find fuse and uuid are more invasive; I don't know much about automake, but I'm sure you could wrap some kind of if-clause around it.
Now everything compiles without warnings or errors. debugvmfs works fine on test.img, but I have not tested yet whether vmfs-fuse works on an actual volume (as far as I can tell, it does not mount bitmap files like test.img, so I can't test it right now). If someone sends me a dd image of a VMFS, I can test that and the other tools.
The text was updated successfully, but these errors were encountered: