cyrusimap / cyrus-sasl

Other
134 stars 150 forks source link

"make install" fails when using the supplied install-sh script #363

Open brong opened 12 years ago

brong commented 12 years ago

From: Magnus Johansson Bugzilla-Id: 3614 Version: 2.1.25 Owner: Ken Murchison

brong commented 12 years ago

From: Magnus Johansson

When building sasl on a platform without a native install script, the supplied config/install-sh will be used. The following is an excerpt from that file:

This script is compatible with the BSD install script, but was written

from scratch. It can only install one file at a time, a restriction

shared with many OS's install programs.

Despite this, "make install" tries to install many files using this script, silently resulting in an incomplete installation.

I solved this by using a more recent version of install-sh from GNU coreutils. The one supplied seems to be from 1991. I was bitten by this on hpux 11.1, 11.23, solaris 8,9,10, and AIX 5.3, 6.1, 7.1.