[OpenAFS] compiling afs on solaris2.6
Jeffrey Hutzelman
jhutz@cmu.edu
Fri, 28 Sep 2001 11:47:47 +0200 (CEST)
On Thu, 27 Sep 2001, Peter Huesser wrote:
> I tried to compile openafs-1.2.1 as well as version 1.2.0 using:
>
> ./configure --prefix=/afsautoclient
> make
> make install
>
> The first two steps run without any problem but executing the
> installation I get the following error message:
>
> No efs stuff for sun4x_56
> cd src; cd vol ; make install
> make[3]: Entering directory `/export/tmp/openafs-1.2.1/src/vol'
> /export/tmp/openafs-1.2.1/src/pinstall/pinstall vlib.a
> /afsautoclient/lib/afs/vlib.a
> /export/tmp/openafs-1.2.1/src/pinstall/pinstall vlib.a
> /afsautoclient/lib/afs/libvlib.a
> /export/tmp/openafs-1.2.1/src/pinstall/pinstall -s salvager
> /afsautoclient/libexec/openafs/salvager
> /export/tmp/openafs-1.2.1/src/pinstall/pinstall -s volinfo
> /afsautoclient/sbin/volinfo
> make[3]: *** No rule to make target `/afsautoclient/sbin/fs_conv_sol26',
> needed by `install'. Stop.
Sorry about this; I apparently screwed up the paths for certain platform
specific tools when I did the 'make install' support for 1.2.0. Apply the
following patch:
Index: vol/Makefile.in
===================================================================
RCS file: /cvs/openafs/src/vol/Makefile.in,v
retrieving revision 1.5
diff -u -r1.5 Makefile.in
--- vol/Makefile.in 2001/09/08 03:05:04 1.5
+++ vol/Makefile.in 2001/09/28 09:46:49
@@ -97,13 +97,13 @@
${DEST}/lib/afs/libvlib.a: vlib.a
${INSTALL} $? $@
-${DESTDIR}/${afssrvsbindir}/fs_conv_dux40D: fs_conv_dux40D
+${DESTDIR}${afssrvsbindir}/fs_conv_dux40D: fs_conv_dux40D
${INSTALL} -s $? $@
-${DESTDIR}/${afssrvsbindir}/xfs_size_check: xfs_size_check
+${DESTDIR}${afssrvsbindir}/xfs_size_check: xfs_size_check
${INSTALL} -s $? $@
-${DESTDIR}/${afssrvsbindir}/fs_conv_sol26: fs_conv_sol26
+${DESTDIR}${afssrvsbindir}/fs_conv_sol26: fs_conv_sol26
${INSTALL} -s $? $@
$(DEST)/root.server/usr/afs/bin/fs_conv_dux40D: fs_conv_dux40D