[OpenAFS-devel] make install fails on AIX 5.1 with 1.3.74

Alex Rolfe arolfe@mit.edu
9 Dec 2004 03:20:46 -0000


Trying to build either 1.3.74 or the 12/8 daily cvs snapshot on AIX 5.1
dies with:

        cd src && cd export && make install
make: Cannot find a rule to create target
/tmp/openafs-test-install/lib/openafs/export.ext from dependencies.

At quick, uneducated glance, it appears that the Makefile simply lacks
the rules to install that (and other files).  Adding the obvious rules
to install the 64 bit files (we're using a 64bit kernel, so I don't care
about the rest) lets the build proceed to:

Building in directory: MODLOAD-32
Target "aix_compdirs_afs.ext.32" is up to date.
Building in directory: MODLOAD-64
Target "aix_compdirs_afs.ext.64" is up to date.
        for m in 32 64 ; do  KDIR=MODLOAD-$m ;  echo Building in
directory: ${KDIR} ;  if [ "$m" = "32" ] ; then  KOPTS="-q32" ;
KLDOPTS="-b32" ;  KASOPTS="32" ;  TARG="afs.ext.32" ;  elif [ "$m" =
"64" ] ; then  KOPTS="-q64 -DAFS_64BIT_KERNEL -D__64BIT_KERNEL" ;
KLDOPTS="-b64" ;  KASOPTS="64" ;  TARG="afs.ext.64" ;  fi ;  cd ${KDIR}
;  make DEST="${DEST}" KOPTS="${KOPTS}"  KLDOPTS="${KLDOPTS}"
KASOPTS="${KASOPTS}" aix_instdirs_${TARG} || exit $?;  cd ../ ;  done
Building in directory: MODLOAD-32
make: Cannot find a rule to create target install_afs.ext.32 from
dependencies.
Stop.

I configured with "./configure --prefix=/tmp/openafs-test-install
--disable-pam".  I'm using the vendor cc/xlc_r.  Suggestions?  What
should I poke at?  I'm happy to work on this in real time over zephyr
(arolfe@ATHENA.MIT.EDU) if that'd be useful.


thanks,
Alex