[OpenAFS] compiling for SuSE 7.1

Matthew Easton matthew@sublunar.com
Tue, 19 Jun 2001 14:43:48 -0700


Hello,

I just subscribed to the list moments ago.  I do computer network consulting 
for small businesses and nonprofit organizations in Southern California 
(Windows, Macintosh, and increasingly, Linux).  

I have a client who wants to make a share available across a WAN link.  I 
think openafs may be the solution to their needs.

I am compiling openafs-1.0.4 on SuSE Linux 7.1.  The machine is a dual 
processor PIII. Kernel is 2.4.0 SMP.  ( I've looked through the list archive 
and see that dual processors aren't particularly beneficial for a production 
machine but this will do for a basic test ).  

I had to install kernel sources, flex and bison; and I needed to do : 

 ln -s /usr/src/linux-2.4.0  /usr/src/linux-2.4.0-64GB-SMP

so the installation script could find the correct kernel source.  

Now, I'm getting some new errors and don't know what to do about them (see 
below). 

pam-0.72-169 is installed from rpm,  do I need also to install source rpms 
for PAM?

...

+ cd obj
+ cd pam
+ make install SYS_NAME=i386_linux24 DESTDIR=/home/matthew
/afs/afs-src/i386_linux24/dest/ SRCDIR=/home/matthew/afs/a
fs-src/i386_linux24/dest/
make[3]: Entering directory `/home/matthew/afs/afs-src/i38
6_linux24/obj/pam'
cc   -I/home/matthew/afs/afs-src/i386_linux24/dest/include
 -I/usr/include -I/usr/include/sys -O2 -Dlinux -DLINUX_PAM
 -fPIC   -c -o afs_auth.o afs_auth.c
afs_auth.c:10: security/pam_appl.h: No such file or direct
ory
afs_auth.c:11: security/pam_modules.h: No such file or dir
ectory
make[3]: *** [afs_auth.o] Error 1
make[3]: Leaving directory `/home/matthew/afs/afs-src/i386
_linux24/obj/pam'
make[2]: *** [login] Error 2
make[2]: Leaving directory `/home/matthew/afs/afs-src'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/matthew/afs/afs-src'
make: *** [all] Error 2



Thank you.