bug-hello
[Top][All Lists]
Advanced

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

hello 2.3: installation failure on MacOS X 10.5


From: Bruno Haible
Subject: hello 2.3: installation failure on MacOS X 10.5
Date: Mon, 7 Apr 2008 08:46:06 +0200
User-agent: KMail/1.5.4

Hi,

hello-2.3 does not install correctly on MacOS X 10.5, when GNU coreutils
are not installed.

$ export 
PATH=.:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/X11R6/bin
$ ./configure --prefix=$HOME/data/local-macos
...
$ make
...
$ make install
Making install in contrib
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
Making install in gnulib/lib
make  install-am
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
Making install in po
../build-aux/install-sh -c -d /Users/bruno/data/local-macos/share
make[1]: execvp: ../build-aux/install-sh: Permission denied
make[1]: *** [install-data-yes] Error 127
make: *** [install-recursive] Error 1

The reason is that the install-sh script is not executable in the tarball.

$ ls -l build-aux/install-sh 
-rw-r--r--  1 bruno  staff  13620 Dec 26  2006 build-aux/install-sh
$ grep install-sh config.status 
MKDIR_P='build-aux/install-sh -c -d'
s,@install_sh@,|#_!!_#|$(SHELL) 
/Users/bruno/data/build/hello-2.3/build-aux/install-sh,g
s,@mkdir_p@,|#_!!_#|$(top_builddir)/build-aux/install-sh -c -d,g

The variable mkdir_p is set by AM_PROG_MKDIR_P, from automake.
Apparently automake requires that install-sh be executable.

See also [1], [2].

[1] http://lists.gnu.org/archive/html/bug-automake/2006-09/msg00002.html
[2] http://lists.gnu.org/archive/html/automake-patches/2006-09/msg00008.html





reply via email to

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