Hi
we’re using the commercial editiion of BK and want to switch to opensource version
i’m trying to compile the open source version, which is 5.4.6
when i download the source and try to compile, it fails like this :
$> make p
root: cannot find package root.
root: cannot find package root.
make CFLAGS=" -g -O2 -Wall -Wno-parentheses -Wno-char-subscripts -Wno-format-y2k -Wstrict-prototypes -Wchar-subscripts -Wredundant-decls -Wextra -Wno-pointer-sign -Wno-sign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wdeclaration-after-statement -Wpointer-arith " all
make[1]: Entering directory '/homes/dann/repository/packages/bitkeeper/source/bitkeeper-bk-5.4.1/src'
root: cannot find package root.
root: cannot find package root.
make[2]: Entering directory '/homes/dann/repository/packages/bitkeeper/source/bitkeeper-bk-5.4.1/src/libc'
fslayer/Makefile:7: fslayer/fslayer.makefile: No such file or directory
perl fslayer/gen_fslayer.pl
bk get -qS system.h
touch system.h
CC libc/fslayer/fslayer_open_stub.c
CC libc/fslayer/fslayer_close_stub.c
CC libc/fslayer/fslayer_read_stub.c
CC libc/fslayer/fslayer_write_stub.c
CC libc/fslayer/fslayer_lseek_stub.c
CC libc/fslayer/fslayer_lstat_stub.c
CC libc/fslayer/fslayer_fstat_stub.c
CC libc/fslayer/fslayer_stat_stub.c
CC libc/fslayer/fslayer_unlink_stub.c
CC libc/fslayer/fslayer_rename_stub.c
CC libc/fslayer/fslayer_chmod_stub.c
CC libc/fslayer/fslayer_link_stub.c
CC libc/fslayer/fslayer_symlink_stub.c
CC libc/fslayer/fslayer__getdir_stub.c
CC libc/fslayer/fslayer_access_stub.c
CC libc/fslayer/fslayer_utime_stub.c
CC libc/fslayer/fslayer_mkdir_stub.c
CC libc/fslayer/fslayer_rmdir_stub.c
CC libc/fslayer/fslayer_rmIfRepo_stub.c
CC libc/fslayer/fslayer_realBasename_stub.c
CC libc/hash/hash.c
CC libc/hash/hash_tostr.c
CC libc/hash/hash_tofile.c
CC libc/hash/memhash.c
CC libc/hash/wrapmdbm.c
CC libc/mdbm/mdbm.c
CC libc/mdbm/hash.c
CC libc/mdbm/debug.c
CC libc/mdbm/byte_order.c
mdbm/byte_order.c: In function ‘_htonl’:
mdbm/byte_order.c:56:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return (*(uint32 *)p);
^
CC libc/regex/regex.c
CC libc/regex/re_fail.c
make[2]: *** No rule to make target 'string/bzero.c', needed by 'string/bzero.o'. Stop.
make[2]: Leaving directory '/homes/dann/repository/packages/bitkeeper/source/bitkeeper-bk-5.4.1/src/libc'
Makefile:381: recipe for target 'libc/libc.a' failed
make[1]: *** [libc/libc.a] Error 2
make[1]: Leaving directory '/homes/dann/repository/packages/bitkeeper/source/bitkeeper-bk-5.4.1/src'
Makefile:285: recipe for target 'p' failed
make: *** [p] Error 2
some of the files are not even here in the package… is the tar.gz available has been tested ? i don’t think it will compile anywhere… is there any way to make this works ?
i have no issue compiling the latest version of bk but it’s not compatible with our tools.
thanks for your help !