install-strip doesn't work

Leo Savernik l.savernik at aon.at
Thu Jan 8 00:42:16 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

Using the latest CVS admin dir, I tried to install-strip a kde package, but it 
failed with
admin/install-sh: -m4755 does not exist

The cause lies in the way install-strip invokes install:
install-strip:
        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
          INSTALL_STRIP_FLAG=-s \
          `test -z '$(STRIP)' || \
            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install

Here, there formerly assigned INSTALL_PROGRAM (/usr/bin/install) is reassigned 
the INSTALL_STRIP_PROGRAM which happens to point to admin/install-sh. This is 
no problem per se, but binaries invoke install like this:

$(INSTALL_PROGRAM) -m4755 ...

It's because install-sh simply cannot handle -m4755 (it should have been 
written as -m 4755), and therefore chokes.

Is this a problem of the KDE build system, or is this a problem of automake? 
(Or is it a mistake of my own?)

mfg
	Leo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE//Kduj5jssenUYTsRAvM0AJ9+q4jPS95JTDJbaapszjImnAMXAACgh8i5
fgMeMG/NOxPnYIuN/RJxgRU=
=CnlA
-----END PGP SIGNATURE-----





More information about the kde-core-devel mailing list