bug-automake
[Top][All Lists]
Advanced

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

cross-directory support does not work as claimed


From: Wong Ting Kit
Subject: cross-directory support does not work as claimed
Date: Wed, 6 Mar 2002 17:55:10 +0800 (CST)

I think the automake cross-directory support, as
stated in automake manual, does not work as claimed. I
am using automake 1.5 and autoconf 2.52. As stated in
the manual, found at
http://www.gnu.org/manual/automake, under the section
"An Alternative Approach to Subdirectories":

(QUOTE)

By default an installable file specified in a
subdirectory will have its directory name stripped
before installation. For instance, in this example,
the header file will be installed as
`$(includedir)/stdio.h': 

include_HEADERS = inc/stdio.h

(END QUOTE)

However, I met error when installing from a
distribution. I was working on a project named
"helloapp", and run these commands under the project
home directory to create the distribution:

(CODE)

aclocal
touch NEWS README AUTHORS ChangeLog
automake --add-missing
autoconf
./configure
make dist

(END CODE)

Then I login as another user and copy the distribution
tarball to somewhere else, and run these commands:

(CODE)

tar -zxvf helloapp-1.0.tar.gz
cd helloapp-1.0
./configure
make install

(END CODE)

Then I met the following errors:

(CODE)

make[1]: Entering directory `/root/helloapp-1.0'
/bin/sh ./mkinstalldirs /usr/local/bin
 /usr/bin/install -c speech/hello.sh
/usr/local/bin/speech/hello.sh
/usr/bin/install: cannot create regular file
`/usr/local/bin/speech/hello.sh': No such file or
directory
make[1]: *** [install-binSCRIPTS] Error 1
make[1]: Leaving directory `/root/helloapp-1.0'
make: *** [install-am] Error 2

(END CODE)

Attached is the project tarball, which is just a
simple "hello world". Please take a look, and see if
it's really a problem. Tell me when you need my help.
Thanks.


_________________________________________________________
Do You Yahoo!?
登記免費的 @yahoo.com 中文電子郵件 @ http://chinese.mail.yahoo.com
Get your free @yahoo.com address at http://chinese.mail.yahoo.com



reply via email to

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