./configure and install.sh

Running ./configure on a fresh head CVS copy of the OpenCascade source gives the following error message (on Linux):

configure: error: can not find install-sh or install.sh in ../cvs ../cvs/.. ../cvs/../..

(See below for the full details)

I suppose that since there's a configure file in CVS, everything it depends on should also already be present in the CVS repository. In case install.sh is supposed to just be a /usr/bin/install replacement, maybe configure shoudl be modified to find out if it's really needed on the target system.

I'd rather use the configure compile, as the adm/Linux/OCC.COMP has got the dependencies wrong (again, compiling a fresh CVS head copy).

The details:

vinsci:/work/opencascade/cvs > export CVSROOT=:pserver:anonymous@cvs.matra-dtv.fr:/www/cvs
vinsci:/work/opencascade/cvs > cvs login
vinsci:/work/opencascade/cvs > cvs -z3 co .
[...all files checked out...]
vinsci:/work/opencascade/cvs > mkdir ../build-head
vinsci:/work/opencascade/cvs > cd ../build-head
vinsci:/work/opencascade/cvs > ../cvs/configure --srcdir=../cvs --enable-static=no
creating cache ./config.cache
configure: error: can not find install-sh or install.sh in ../cvs ../cvs/.. ../cvs/../..

-- Leonard

Robert Boehne's picture

The install.sh script should be in $CASROOT/make/install.sh, if someone at Matra wants to check it in.
You can get a copy of Automake and copy the file there yourself if you like.