[elinks-users] Compilation error on SunOS
Kalle Olavi Niemitalo
kon at iki.fi
Thu May 10 23:54:05 MDT 2007
Raffi Khatchadourian <khatchad at cse.ohio-state.edu> writes:
> gmake[3]: Entering directory `/home/0/khatchad/local/src/elinks-0.11.3/doc/man/man1'
> [INSTALL] doc/man/man1/elinks.1 -> /home/0/khatchad/local/man/man1
> /bin/bash: config/install-sh: No such file or directory
> gmake[3]: *** [install-default] Error 127
Oops, sorry. That is a separate bug and has already been fixed
in ELinks 0.12.GIT, but I forgot to make the same change in
0.11.3. Please apply the following patch.
------------------------------------------------------------------------
Prepend $(top_builddir) to @INSTALL@ if it is relative.
Reported to elinks-users on 2006-08-23.
---
commit 57a9871ea1c36f2a378dca139ff4fea8980bb1f6
tree 92501d21642f32970e620d651e753d301c087896
parent d1fb65120ddbfaf3be31a2bf883ce83fd51b3220
author Kalle Olavi Niemitalo <kon at iki.fi> Sun, 10 Sep 2006 08:57:55 +0300
committer Kalle Olavi Niemitalo <Kalle at Astalo.kon.iki.fi> Sun, 10 Sep 2006 08:57:55 +0300
Makefile.config.in | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/Makefile.config.in b/Makefile.config.in
index 8c245ac..b8cc68a 100644
--- a/Makefile.config.in
+++ b/Makefile.config.in
@@ -38,7 +38,10 @@ ACLOCAL = @ACLOCAL@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
-INSTALL = @INSTALL@
+# The INSTALL substituted by configure can be either absolute or
+# relative to the top build directory. Adjust it so that it can
+# be used in build subdirectories.
+INSTALL = $(if $(patsubst /%,,$(firstword @INSTALL@)),$(top_builddir)/)@INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
More information about the elinks-users
mailing list