[OpenAFS] OpenAFS on OpenBSD
mcmer
mcmer@gmx.net
Thu, 03 Apr 2003 18:06:09 +0200
hi all,
after reading
http://www.deadly.org/article.php3?sid=20030214030848
and encountering lots of problems trying to get openafs to build on
openbsd 3.2 I have to ask for help... or is it just to early for guys
with limited (open-)bsd skills like me?
I read the november/december 2002 threads here on
openafs-info@openafs.org but couldn't find much helpful instructions...
stated below are my affords to compile...
================================================================
$ uname -vrs
OpenBSD 3.2 GENERIC#25
$
----------------------------------------------
snapshot
----------------------------------------------
$ cat openafs-snap-2003-04-03/README | grep obsd
i386_obsd31, i386_obsd32
$ ls openafs-snap-2003-04-03/src/config/ | grep obsd
param.i386_obsd29.h
param.i386_obsd29_usr.h
param.i386_obsd31.h
param.i386_obsd31_usr.h
param.i386_obsd32.h
$ ls openafs-snap-2003-04-03/configure
ls: openafs-snap-2003-04-03/configure: No such file or directory
$ cd openafs-snap-2003-04-03
$ autoconf
$ ls configure
configure
$ ./configure
creating cache ./config.cache
./configure[524]: syntax error: `openafs,devel' unexpected
$ cat ./configure | grep openafs,devel
AM_INIT_AUTOMAKE(openafs,devel)
$ vi ./configure
$ cat ./configure | grep openafs,devel
#AM_INIT_AUTOMAKE(openafs,devel)
$ ./configure > configure_log
./configure[749]: OPENAFS_CONFIGURE_COMMON: not found
sed: ./src/libafs/MakefileProto..in: No such file or directory
sed: ./src/libuafs/MakefileProto..in: No such file or directory
cat: ./src/config/afsconfig.h.in: No such file or directory
$ tail -n 15 configure_log
creating src/usd/Makefile
creating src/uss/Makefile
creating src/util/Makefile
creating src/util/test/Makefile
creating src/venus/test/Makefile
creating src/venus/Makefile
creating src/vfsck/Makefile
creating src/viced/Makefile
creating src/vlserver/Makefile
creating src/vol/Makefile
creating src/vol/test/Makefile
creating src/volser/Makefile
creating src/wsadmin.src/Makefile
creating src/xstat/Makefile
creating src/config/afsconfig.h
$ make > make_log
"Makefile", line 10: Could not find @TOP_OBJDIR@/src/config/Makefile.config
Fatal errors encountered -- cannot continue
----------------------------------------------
unstable
----------------------------------------------
$ cat openafs-1.3.2/README | grep obsd
$
$ ls openafs-1.3.2/src/config/ | grep obsd
param.i386_obsd29.h
param.i386_obsd29_usr.h
$ cd openafs-1.3.2
$ sh ./configure --with-afs-sysname=i386_obsd29 > configure_log
sed: ./src/libuafs/MakefileProto.OBSD.in: No such file or directory
$ tail -n 15 configure_log
creating src/usd/Makefile
creating src/uss/Makefile
creating src/util/Makefile
creating src/util/test/Makefile
creating src/venus/test/Makefile
creating src/venus/Makefile
creating src/vfsck/Makefile
creating src/viced/Makefile
creating src/vlserver/Makefile
creating src/vol/Makefile
creating src/vol/test/Makefile
creating src/volser/Makefile
creating src/wsadmin.src/Makefile
creating src/xstat/Makefile
creating src/config/afsconfig.h
$ make > make_log
In file included from ./mkvers.c:20:
/usr/include/malloc.h:4: warning: #warning "<malloc.h> is obsolete, use
<stdlib.h>"
./serverLog.c: In function `OpenLog':
./serverLog.c:220: warning: passing arg 1 of `localtime' from
incompatible pointer type
Including ./cmd.p.h at beginning of cmd.h file.
make: don't know how to make OBSD/rx_kmutex.c. Stop in
/home/asfer/usr/src/openafs/openafs-1.3.2/src/rx.
$ tail -n 15 make_log
/home/asfer/usr/src/openafs/openafs-1.3.2/src/pinstall/pinstall
rx_globals.c ../libafs/rx/rx_globals.c
/home/asfer/usr/src/openafs/openafs-1.3.2/src/pinstall/pinstall
rx_globals.h ../libafs/rx/rx_globals.h
/home/asfer/usr/src/openafs/openafs-1.3.2/src/pinstall/pinstall rx.h
../libafs/rx/rx.h
/home/asfer/usr/src/openafs/openafs-1.3.2/src/pinstall/pinstall
rx_kcommon.c ../libafs/rx/rx_kcommon.c
/home/asfer/usr/src/openafs/openafs-1.3.2/src/pinstall/pinstall
rx_kcommon.h ../libafs/rx/rx_kcommon.h
/home/asfer/usr/src/openafs/openafs-1.3.2/src/pinstall/pinstall
rx_kernel.h ../libafs/rx/rx_kernel.h
*** Error code 2
Stop in /home/asfer/usr/src/openafs/openafs-1.3.2 (line 130 of Makefile).
*** Error code 1
Stop in /home/asfer/usr/src/openafs/openafs-1.3.2 (line 462 of Makefile).
*** Error code 1
Stop in /home/asfer/usr/src/openafs/openafs-1.3.2 (line 33 of Makefile).
$ cat make_log | wc -l
277
$
----------------------------------------------
stable
----------------------------------------------
$ cat openafs-1.2.8/README | grep obsd
$
$ ls openafs-1.2.8/src/config/ | grep obsd
Makefile.i386_obsd29
Makefile.i386_obsd29.in
param.i386_obsd29.h
param.i386_obsd29_usr.h
$ cd openafs-1.2.8
$ sh ./configure --with-afs-sysname=i386_obsd29 > configure_log
sed: ./src/libuafs/MakefileProto.OBSD.in: No such file or directory
$ tail -n 15 configure_log
creating src/usd/Makefile
creating src/uss/Makefile
creating src/util/Makefile
creating src/util/test/Makefile
creating src/venus/test/Makefile
creating src/venus/Makefile
creating src/vfsck/Makefile
creating src/viced/Makefile
creating src/vlserver/Makefile
creating src/vol/Makefile
creating src/vol/test/Makefile
creating src/volser/Makefile
creating src/wsadmin.src/Makefile
creating src/xstat/Makefile
creating src/config/afsconfig.h
$ make > make_log
In file included from mkvers.c:20:
/usr/include/malloc.h:4: warning: #warning "<malloc.h> is obsolete, use
<stdlib.h>"
serverLog.c: In function `OpenLog':
serverLog.c:220: warning: passing arg 1 of `localtime' from incompatible
pointer type
Including cmd.p.h at beginning of cmd.h file.
$ tail -n 15 make_log
/home/asfer/usr/src/openafs/openafs-1.2.8/src/pinstall/pinstall xdr.h
/home/asfer/usr/src/openafs/openafs-1.2.8/include/rx/xdr.h
/home/asfer/usr/src/openafs/openafs-1.2.8/src/pinstall/pinstall
OBSD/*.[ch] ../libafs/rx
Can't open source file ``OBSD/*.[ch]'': No such file or directory
*** Error code 1
Stop in /home/asfer/usr/src/openafs/openafs-1.2.8/src/rx (line 158 of
Makefile).
*** Error code 1
Stop in /home/asfer/usr/src/openafs/openafs-1.2.8 (line 159 of Makefile).
*** Error code 1
Stop in /home/asfer/usr/src/openafs/openafs-1.2.8 (line 515 of Makefile).
*** Error code 1
Stop in /home/asfer/usr/src/openafs/openafs-1.2.8 (line 62 of Makefile).
$ cat make_log | wc -l
338
$