Has anyone successfully installed OpenChange on Linux? I am running Slackware distro 14.1, kernel version 3.10.17. I have successfully installed Samba4 (4.1.0) and have configured a working DC/AD with redirected folders.
I am having serious problems trying to install openChange on this system. First, when I try to `make samba` from the openChange build (in order to create necessary libraries) I get the error:
Checking getconf LFS_CFLAGS : -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
Checking getconf large file support flags work : not found
Checking for large file support without additional flags : not found
Checking for -D_FILE_OFFSET_BITS=64 : not found
Checking for -D_LARGE_FILES : not found
Samba requires large file support support, but not available on this platform: sizeof(off_t) < 8
Error in lib/talloc configure (error code 1)
make: *** [samba] Error 1
I am positively certain this "large file support ... not available on this platform" is wrong. I've formatted a 2TB ext4 partition using "-T largefiles". If there's something else that defines a large file system, I don't know what. I don't quite know what the message "Checking for -D_LARGE_FILES" means, but I've found no where to set these compile option in the makefile.
My next problem is trying to build openchange. I've set the requisite environment variables:
run the autogen.sh program (no errors), then `./configure --prefix=/usr/local/samba`
. This fails. In the config.log file is:
In file included from /usr/include/stdio.h:27:0,
/usr/include/features.h:375:25: fatal error: sys/cdefs.h: No such file or directory
# include <sys/cdefs.h>
configure:3793: $? = 1
./configure: line 3802: ./conftest: No such file or directory
configure:3804: $? = 127
configure:3811: error: in `/user/util/src/openchange-2.1-QUADRANT':
configure:3813: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
There is, in fact, no /usr/include/sys/cdefs.h. Linking the one from /usr/include/unistring/cde
fs.h doesn't work.
I haven't been able to find any kind of resolution to these problems any where. Has any one else experienced and figured this out?
I've tried everything I can think of and am about to look for an alternative other than openChange. I'm beginning to conclude that it's not ready for prime time.
This error is the subject of another EE question, but not in the context of openChange.