Install and configure sheepdog
-
- Offline
- 2 years 3 months ago
- 2015-12-28
Hello Guys,
I have general question, do you have some guide how to setup sheepdog ("https://github.com/sheepdog/sheepdog") on Alpine, is this in plan on future releases?
I tried setup on Alpine 3.3, used next dependencies:
##########################################
apk add corosync userspace-rcu userspace-rcu-dev corosync-libs git yasm libtool make autoconf automake gcc bash g++ alpine-sdk musl libusb python linux-headers
##########################################
And did next steps:
- Installed dependencies described upper
- git clone https://github.com/sheepdog/sheepdog/ /usr/src/sheepdog
- cd /usr/src/sheepdog/
- ./autogen.sh - no errors in this case
- ./configure - no errors in this case
- make check - got next issue:
##########################################
/usr/src/sheepdog # make check
Making check in lib
make[1]: Entering directory '/usr/src/sheepdog/lib'
CC shared/libsheepdog_a-sheep.o
In file included from shared/sheepdog.h:23:0,
from shared/sheep.c:14:
../include/util.h:132:34: error: unknown type name 'mode_t'
int xmkdir(const char *pathname, mode_t mode);
^
../include/util.h:539:8: error: unknown type name 'mode_t'
extern mode_t sd_def_fmode;
^
../include/util.h:540:8: error: unknown type name 'mode_t'
extern mode_t sd_def_dmode;
^
Makefile:707: recipe for target 'shared/libsheepdog_a-sheep.o' failed
make[1]: *** [shared/libsheepdog_a-sheep.o] Error 1
make[1]: Leaving directory '/usr/src/sheepdog/lib'
Makefile:495: recipe for target 'check-recursive' failed
make: *** [check-recursive] Error 1
##########################################