[elinks-users] Re: problem to compile (rdynamic) and install (install-sh) Elinks
Kalle Olavi Niemitalo
kon at iki.fi
Sun Sep 3 08:09:32 MDT 2006
yannick.le-ny at ifrance.com <yannick.le-ny at ifrance.com> writes:
> make[3]: Entering directory `/home/webadm/elinks-0.12-20060823/doc/man/man1'
> [INSTALL] doc/man/man1/elinks.1 -> /opt/parser/elinks-0.12-20060823/man/man1
> /bin/bash: config/install-sh: Ce fichier ou ce répertoire n'existe pas
It looks like this occurs if the configure script does not find
a suitable install program in the system. Then, @INSTALL@ is
relative to the top build directory (in your case, also the top
source directory), but the command is only run in subdirectories.
Does this patch fix the problem?
Can I mention your name or email address in the commit message?
diff --git a/Makefile.config.in b/Makefile.config.in
index 8c245ac..2b168c2 100644
--- a/Makefile.config.in
+++ b/Makefile.config.in
@@ -38,7 +38,7 @@ ACLOCAL = @ACLOCAL@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
-INSTALL = @INSTALL@
+INSTALL = $(if $(patsubst /%,,$(firstword @INSTALL@)),$(top_builddir)/)@INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://linuxfromscratch.org/pipermail/elinks-users/attachments/20060903/1f440834/attachment.bin
More information about the elinks-users
mailing list