[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patch] bash 2.05a: make install fails when stripping
From: |
Maciej W. Rozycki |
Subject: |
[patch] bash 2.05a: make install fails when stripping |
Date: |
Fri, 18 Jan 2002 17:41:07 +0100 (MET) |
Configuration Information:
Machine: i386
OS: linux-gnu
Compiler: i386-linux-gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-pc-linux-gnu'
-DCONF_VENDOR='pc' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -pipe
-O2 -fomit-frame-pointer -mcpu=i486
uname output: Linux macro 2.4.17 #1 Wed Jan 9 13:16:36 CET 2002 i686 unknown
Machine Type: i386-pc-linux-gnu
Bash Version: 2.05a
Patch Level: 0
Release Status: release
Description:
Bashbug is installed by INSTALL_PROGRAM. Since current GNU
fileutils are strict on install errors, the installation fails
if INSTALL_PROGRAM is set to invoke strip.
Repeat-By:
INSTALL_PROGRAM='${INSTALL} -s' ./configure
make
make install
Fix:
Bash now requires autoconf 2.50 which includes support for
installing scripts. Hence the fix is trivial:
bash-2.05a-install_script.patch
diff -up --recursive --new-file bash-2.05a.macro/Makefile.in
bash-2.05a/Makefile.in
--- bash-2.05a.macro/Makefile.in Mon Nov 12 16:42:45 2001
+++ bash-2.05a/Makefile.in Thu Dec 20 22:28:14 2001
@@ -59,6 +59,7 @@ RANLIB = @RANLIB@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_DATA = @INSTALL_DATA@
INSTALLMODE= -m 0755
INSTALLMODE2 = -m 0555
@@ -628,7 +629,7 @@ installdirs:
install: .made installdirs
$(INSTALL_PROGRAM) $(INSTALLMODE) $(Program)
$(DESTDIR)$(bindir)/$(Program)
- $(INSTALL_PROGRAM) $(INSTALLMODE2) bashbug $(DESTDIR)$(bindir)/bashbug
+ $(INSTALL_SCRIPT) $(INSTALLMODE2) bashbug $(DESTDIR)$(bindir)/bashbug
-( cd $(DOCDIR) ; $(MAKE) $(MFLAGS) \
man1dir=$(man1dir) man1ext=$(man1ext) \
man3dir=$(man3dir) man3ext=$(man3ext) \
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [patch] bash 2.05a: make install fails when stripping,
Maciej W. Rozycki <=