[OpenAFS] apenafs 1.0.0 linux compile problems

Brian Kosick bkosick@nacs.net
Tue, 07 Nov 2000 15:14:49 -0500


Hello all,

I'm trying to compile open afs on two linux boxes:
1)  Intel P200MMX 128MB RAM 10G IDE HD running fresh install of RH7.0 
kernel 2.2.16-22
2)  AMD k6-2 500 128MB RAM 4G IDE, 6G IDE, 2 x 3G SCSI Raid 0 running RH6.2 
kernel 2.2.15

I have downloaded, and compiled kernel 2.2.14 on both, so I could get some 
valid headers for open afs, the kernel is compiled, but NOT running.

I've gotten past a few other small obsticles, and am now stuck these errror 
messages
for the rh6.2 box
------------------------------------------------------------------------------------------------------
make[3]: Entering directory `/usr/local/afs/i386_linux22/obj/gtx'
cc  -o gtxtest gtxtest.o libgtx.a 
/usr/local/afs/i386_linux22/dest/lib/librx.a 
/usr/local/afs/i386_linux22/dest/lib/liblwp.a 
/usr/local/afs/i386_linux22/dest/lib/afs/libsys.a 
/usr/local/afs/i386_linux22/dest/lib/afs/libcmd.a 
/usr/local/afs/i386_linux22/dest/lib/afs/libkauth.a 
/usr/local/afs/i386_linux22/dest/lib/afs/libauth.a 
/usr/local/afs/i386_linux22/dest/lib/librxkad.a 
/usr/local/afs/i386_linux22/dest/lib/libdes.a 
/usr/local/afs/i386_linux22/dest/lib/afs/libcom_err.a 
/usr/local/afs/i386_linux22/dest/lib/afs/util.a /usr/lib/libncurses.so 
/usr/local/afs/i386_linux22/dest/lib/afs/libtermlib.a
cc: /usr/lib/libncurses.so: No such file or directory
make[3]: *** [gtxtest] Error 1
make[3]: Leaving directory `/usr/local/afs/i386_linux22/obj/gtx'
make[2]: *** [gtx] Error 2
make[2]: Leaving directory `/usr/local/afs'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/usr/local/afs'
make: *** [all] Error 2

---------------------------------------------------------------------------
/usr/lib/libncurses.so IS installed

ls /usr/lib/libncurses.
libncurses.a       libncurses.so      libncurses.so.5    libncurses.so.5.0

=============================================================
and these errors for box 2 (rh7.0)
=============================================================
---------------------------------------------------------------------------------------------------------------------
In file included from ../afs/sysincludes.h:125,
from ../afs/afs_analyze.c:14:
/usr/include/pthread.h:270: parse error before `0'
make[4]: *** [../UAFS/afs_analyze.o] Error 1
make[4]: Leaving directory `/usr/local/afs/i386_linux22/obj/libuafs/UAFS'
make[3]: *** [UAFS/libuafs.a] Error 2
make[3]: Leaving directory `/usr/local/afs/i386_linux22/obj/libuafs'
make[2]: *** [libuafs] Error 2
make[2]: Leaving directory `/usr/local/afs'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/usr/local/afs'
make: *** [all] Error 2
------------------------------------------------------------------------------

Any ideas?

I'm really looking foward to trying afs, I've heard many Good Things about it.

Thanks in advance
Brian Kosick