[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: install-strip and bin_SCRIPTS

From: Emil Ong
Subject: Re: install-strip and bin_SCRIPTS
Date: Wed, 20 Jun 2001 12:22:15 -0500 (CDT)

Ok, sure.  I made a directory called am-test and put these files in it:

---- ----------
bin_SCRIPTS = myscript

---- ---------
AM_INIT_AUTOMAKE(am-test, 1.0)

---- myscript -------------

echo "Hello, World"

Then I ran:

% aclocal
% automake --add-missing --copy --foreign
automake: installing `./install-sh'
automake: installing `./mkinstalldirs'
automake: installing `./missing'
% autoconf
% ./configure --prefix=/sandbox/onge/am-test-install
creating cache ./config.cache        
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
% make
make: Nothing to be done for `all'.
% make install-strip
make  INSTALL_PROGRAM="/bin/sh `CDPATH=: && cd . && pwd`/install-sh -c
-s" \
  `test -z '' || \
    echo "INSTALL_PROGRAM_ENV=STRIPPROG=''"` install
make[1]: Entering directory `/sandbox/onge/am-test'
make[2]: Entering directory `/sandbox/onge/am-test'
/bin/sh ./mkinstalldirs /sandbox/onge/am-test-install/bin
 /bin/sh /sandbox/onge/am-test/install-sh -c -s myscript
strip: /sandbox/onge/am-test-install/bin/#inst.7992#: File format not
make[2]: *** [install-binSCRIPTS] Error 1
make[2]: Leaving directory `/sandbox/onge/am-test'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/sandbox/onge/am-test'
make: *** [install-strip] Error 2


On 20 Jun 2001, Tom Tromey wrote:

> >>>>> "Emil" == Emil Ong <address@hidden> writes:
> Emil> I'm sorry, I'm using the latest CVS.  I just updated this
> Emil> morning.  I'm still getting the same error (File format not
> Emil> recognized) with install-strip.
> Ok, there's definitely something wrong here.
> But without a test case I don't know what it could be.
> Could you make a relatively simple test case?
> Tom

reply via email to

[Prev in Thread] Current Thread [Next in Thread]