przemoc / metastore

Store and restore metadata from a filesystem.
http://software.przemoc.net/#metastore
GNU General Public License v2.0
171 stars 31 forks source link

Cygwin support #31

Closed ckclark closed 9 years ago

ckclark commented 9 years ago

When I install metastore on Cygwin. It will show the following error.

gcc  -g -Wall -pedantic -std=c99 -D_FILE_OFFSET_BITS=64 -O2  -o metaentry.o -c ./src/metaentry.c
./src/metaentry.c:35:24: fatal error: bsd/string.h: No such file or directory
 #include <bsd/string.h>
                        ^
compilation terminated.
Makefile:56: recipe for target 'metaentry.o' failed
make: *** [metaentry.o] Error 1

I think there could be more generic way to use string.h but not bsd/string.h?

przemoc commented 9 years ago

Metastore in this repository requires libbsd (since 7c7eabd), which is at least easily available in most Linux distributions. I'm sorry, I don't use cygwin, but maybe libbsd is in some cygwin repositories too?

In the worst case you can always go with 7c7eabd^, i.e. dbf59f5. You won't get dump action, but otherwise it should be ok, because commits after 7c7eabd were only cleanings-oriented.

ckclark commented 9 years ago

I found libbsd on cygwinports and followed the steps to install libbsd library. Now it works. Thanks.