[OpenAFS] AFS 1.2.11 compile error on RHEL AS

Kelly Brown kbbrown@ucsd.edu
Fri, 23 Jul 2004 15:30:11 -0700


That got me over that hurtle.  Thank you so much for your help!

-K
Derek T. Yarnell wrote:

>[root@atlantis derek]# cat /etc/redhat-release 
>Red Hat Enterprise Linux AS release 3 (Taroon Update 2)
>[root@atlantis derek]# locate ncurses.h
>/usr/include/ncursesw/ncurses.h
>/usr/include/ncurses/ncurses.h
>/usr/include/ncurses.h
>
>[root@atlantis derek]# rpm -qf /usr/include/ncurses.h
>ncurses-devel-5.3-9.3
>
>You need to install ncurses-devel, just do this:
>
>up2date --get ncurses-devel
>
>cd /var/spool/up2date 
>
>rpm -ivh ncurses-devel-...
>
>On Fri, Jul 23, 2004 at 08:17:34AM -0700, Kelly Brown wrote:
>  
>
>>Hello all:
>>
>>I'm trying to build my first AFS server (ever) and I'm having a bit of a 
>>problem.  I'm trying to use RedHat Enterprise Linux AS and OpenAFS 
>>1.2.11.  When I tried using the rpms on the web I got errors when trying 
>>to load the kernel module.  So I decided to build from source instead.  
>>I think I'd rather build it myself anyway.  However, I've had no luck 
>>with this either.  I get a compile time error that looks like a code 
>>syntax error to me.  I didn't really want to poke around in the code 
>>without trying this list.  It seems strange that 1.2.11 wouldn't just 
>>compile first try.  Any insight would be appreciated.  I believe I've 
>>included all pertinent information below...
>>
>>cat /etc/redhat-release
>>Red Hat Enterprise Linux AS release 3 (Taroon Update 2)
>>
>>
>>./configure --with-afs-sysname=i386_linux24 
>>--with-linux-kernel-headers=/usr/src/linux-2.4 --enable-transarc-paths
>>
>>make
>>
>>...{does a bunch of stuff, takes quite awhile before the following error 
>>happens}
>>
>>
>>make[3]: Entering directory `/root/src/openafs-1.2.11/src/gtx'
>>cc  -I. -I/root/src/openafs-1.2.11/src/config 
>>-I/root/src/openafs-1.2.11/include 
>>-I/root/src/openafs-1.2.11/include/afs -O2   -c -o keymap.o keymap.c
>>cc  -I. -I/root/src/openafs-1.2.11/src/config 
>>-I/root/src/openafs-1.2.11/include 
>>-I/root/src/openafs-1.2.11/include/afs -O2   -c -o input.o input.c
>>In file included from input.c:23:
>>gtxcurseswin.h:18:47: ncurses.h: No such file or directory
>>In file included from input.c:23:
>>gtxcurseswin.h:28: syntax error before "WINDOW"
>>gtxcurseswin.h:28: warning: no semicolon at end of struct or union
>>gtxcurseswin.h:33: syntax error before '}' token
>>make[3]: *** [input.o] Error 1
>>make[3]: Leaving directory `/root/src/openafs-1.2.11/src/gtx'
>>make[2]: *** [gtx] Error 2
>>make[2]: Leaving directory `/root/src/openafs-1.2.11'
>>make[1]: *** [build] Error 2
>>make[1]: Leaving directory `/root/src/openafs-1.2.11'
>>make: *** [all] Error 2
>>
>>_______________________________________________
>>OpenAFS-info mailing list
>>OpenAFS-info@openafs.org
>>https://lists.openafs.org/mailman/listinfo/openafs-info
>>    
>>
>
>  
>