Bug Report: VTK 3.1.2 IRIX install
Randall Hopper
aa8vb at yahoo.com
Wed Apr 26 11:00:43 EDT 2000
VTK built ok, but 'make install' failed. In vtk31/graphics/Makefile
it tries to run "./install-sh" (note the leading path), but install-sh
exists in vtk31/. So it fails to run this script.
Changing this line in system.make:
INSTALL = ./install-sh -c
to this:
INSTALL = $(VTK_OBJ)/install-sh -c
fixes it.
INSTALL is getting set wrong because $srcdir in configure is a relative
path (".") rather than an absolute one, and $srcdir is used to set INSTALL.
Either making $srcdir an absolute path in configure (see attached patch),
or using $(VTK_OBJ) as above when sed'ing @INSTALL@ into system.make would
work.
Of course once you know what the problem is, you can work around it by
invoking configure like this:
configure -srcdir `pwd` ... (csh/tcsh)
which forces $srcdir to be absolute.
--
Randall Hopper
aa8vb at yahoo.com
-------------- next part --------------
--- ORIG/configure Wed Apr 26 10:46:13 2000
+++ configure Wed Apr 26 10:45:47 2000
@@ -507,6 +507,12 @@
fi
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
+# Make srcdir absolute (finding install-sh depends on this)
+old_pwd=`pwd`
+cd $srcdir
+srcdir=`pwd`
+cd $old_pwd
+
# Prefer explicitly selected file to automatically selected ones.
if test -z "$CONFIG_SITE"; then
if test "x$prefix" != xNONE; then
More information about the vtkusers
mailing list