Mac support #55
Replies: 6 comments
-
I'm really sorry, but I don't have Mac, so I cannot test it or support such platform.
After v1.1 release, which should be really soon, proper support for non-Linux platforms, like some BSDs may come in at some point in time, but I doubt Mac will be ever supported, because I don't plan to obtain such hardware. I think that in future I'll make metastore more modular, so it will be possible to build and use metastore without xattr support, then basic BSD compatibility should be enough for working in Mac. After releasing v1.1 I may prepare patch disabling xattrs support (not storing any to metadata file and ignoring already stored ones), though, so it should be possibly good enough for you then. |
Beta Was this translation helpful? Give feedback.
-
Two minor problems mentioned in my previous comment should be fixed with my 3 recent commits (f256eda, 58955dd, d534dd2) - I checked it on FreeBSD. xattr handling stuff remains to be revamped in future to support different OSes. From now on GNU make has to be used. On BSDs it goes by the name |
Beta Was this translation helpful? Give feedback.
-
Sorry for the confusion -- I just assumed it would build on Mac, and that would certainly be convenient. However, I'm also getting errors building on Linux (RH 6.5 -- see below), so I'm wondering exactly what platforms are supported? Or are there dependencies I'm not aware of? Thanks! /shared/metastore-master $ make
gcc -g -Wall -pedantic -std=c99 -D_FILE_OFFSET_BITS=64 -O2 -DMETASTORE_VER="\"v1.0.999\"" -o utils.o -c ./src/utils.c
gcc -g -Wall -pedantic -std=c99 -D_FILE_OFFSET_BITS=64 -O2 -DMETASTORE_VER="\"v1.0.999\"" -o metastore.o -c ./src/metastore.c
gcc -g -Wall -pedantic -std=c99 -D_FILE_OFFSET_BITS=64 -O2 -DMETASTORE_VER="\"v1.0.999\"" -o metaentry.o -c ./src/metaentry.c
./src/metaentry.c:39:25: error: bsd/string.h: No such file or directory
./src/metaentry.c: In function ‘mentries_dump’:
./src/metaentry.c:651: warning: implicit declaration of function ‘strmode’
make: *** [metaentry.o] Error 1
/shared/metastore-master $
|
Beta Was this translation helpful? Give feedback.
-
No problem. The only supported platform is Linux atm. Since 7c7eabd libbsd is required (for non-BSD OSes, to be precise) and this dependency is mentioned in NEWS file. In case of RedHat you'll need to install Please do not reuse the issue for things not related to Mac support in the future. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick reply! I have to admit to not reading the NEWS file — not sure if that’s where I’d expect to find dependencies, but with libbsd-devel installed it builds fine. If I make any progress getting it built on OSX I’ll be sure to let you know and/or submit a patch.
|
Beta Was this translation helpful? Give feedback.
-
Some work for Mac support has been done in PR #48. |
Beta Was this translation helpful? Give feedback.
-
Curious if this is as intended -- compiling on Mac gives following:
Thanks in advance for any help. Converting to git and cant live without mtime!
Beta Was this translation helpful? Give feedback.
All reactions