libtool-patches
[Top][All Lists]
Advanced

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

patch for `make install'


From: Eric Blake
Subject: patch for `make install'
Date: Wed, 20 Apr 2005 21:39:49 +0000

When installing branch-2-0 after a default `configure; make', bugs in 
Makefile.am cause the following interesting output:

[...]
rm -rf /usr/local/share/libtool
/home/eblake/libtool/config/install-sh -d /libltdl
( cd ./libltdl && /bin/bash /home/eblake/libtool/config/missing --run tar chf - 
COPYING.LIB README Makefile.am Makefile.in argz_.h argz.c configure.ac 
configure libltdl/lt__alloc.h libltdl/lt__dirent.h libltdl/lt__glibc.h 
libltdl/lt__private.h libltdl/lt__strl.h libltdl/lt_dlloader.h 
libltdl/lt_error.h libltdl/lt_system.h libltdl/slist.h loaders/dld_link.c 
loaders/dlopen.c loaders/dyld.c loaders/load_add_on.c loaders/loadlibrary.c 
loaders/preopen.c loaders/shl_load.c lt__alloc.c lt__dirent.c lt__strl.c 
lt_dlloader.c lt_error.c ltdl.c ltdl.h slist.c; ) \
  | ( umask 0 && cd /libltdl && /bin/bash /home/eblake/libtool/config/missing 
--run tar xf -; )
tar: configure: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
tar: configure: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
WARNING: I can't seem to be able to run `tar' with the given arguments.
         You may want to install GNU tar or Free paxutils, or check the
         command line arguments.
[...]

Whoops - we just installed to /libltdl instead of 
/usr/local/share/libtool/libltdl, and libltdl/configure doesn't exist.  The bug 
exists in HEAD also.  (If configure really should exist in libltdl, then there 
is a bigger bug in how to have Makefile.am ensure that it is created before 
`make install' is called, that I am not sure how to solve).

2005-04-20  Eric Blake  <address@hidden>  (tiny change)

        * Makefile.am (ltdldatadir): Fix typo.
        (ltdldatafiles): Skip configure.


Index: Makefile.am
===================================================================
RCS file: /cvsroot/libtool/libtool/Makefile.am,v
retrieving revision 1.130.2.11
diff -u -b -r1.130.2.11 Makefile.am
--- Makefile.am 4 Apr 2005 12:29:51 -0000       1.130.2.11
+++ Makefile.am 20 Apr 2005 21:30:37 -0000
@@ -184,11 +184,11 @@
 
 ## These are installed as a subdirectory of pkgdatadir so that
 ## libtoolize --ltdl can find them later:
-ltdldatadir            = $(pkgvdatadir)/libltdl
+ltdldatadir            = $(pkgdatadir)/libltdl
 ltdldatafiles          = COPYING.LIB README \
                          Makefile.am Makefile.in \
                          argz_.h argz.c \
-                         configure.ac configure \
+                         configure.ac \
                          libltdl/lt__alloc.h \
                          libltdl/lt__dirent.h \
                          libltdl/lt__glibc.h \

--
Eric Blake




reply via email to

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