[OpenAFS-devel] Re: pinstall on AIX 5.1

Matt Bacchi mbacchi@gmavt.net
Fri, 04 Jul 2003 23:49:25 -0400


 > Using only "configure --enable-transarc-paths" and "make dest" I 
never > ran into this problem. But recomiling

Actually, I was doing a "make dest" when I ran into this problem with 
pinstall.

The suggestions regarding utilizing the system install seem logical.  I 
always figured there was some reason for writing your own version. 
Would this change be achieved by simply modifying the 
src/config/Makefile.config at line 115, or is there a need to write a 
autoconf rule to determine if the system install exists, and is usable?

Finally, Hartmut has already posted the diffs that I was going to send, 
but the one for src/vol/vnode.h is related to Lindsay Todd's work on 
largefile support.  It might be easier to add the correct prototype that 
will be coming from his patches eventually.  Only portions of them 
appear to have been committed to date.  Try this:



# diff -c vnode.h.bak vnode.h
*** vnode.h.bak Thu Jul  3 11:27:41 2003
--- vnode.h     Thu Jul  3 11:27:47 2003
***************
*** 205,212 ****
   extern VInitVnodes_r();
   extern Vnode *VGetVnode();
   extern Vnode *VGetVnode_r();
! extern VputVnode();
! extern VputVnode_r();
   extern VVnodeWriteToRead();
   extern VVnodeWriteToRead_r();
   extern Vnode *VAllocVnode();
--- 205,212 ----
   extern VInitVnodes_r();
   extern Vnode *VGetVnode();
   extern Vnode *VGetVnode_r();
! extern void VPutVnode(Error *ec, register Vnode *vnp);
! extern void VPutVnode_r(Error *ec, register Vnode *vnp);
   extern VVnodeWriteToRead();
   extern VVnodeWriteToRead_r();
   extern Vnode *VAllocVnode();


-Matt