Hi Peter,
* Peter O'Gorman wrote on Thu, Nov 24, 2005 at 03:29:24PM CET:
> cd . && /bin/sh ./config.status libtool
> config.status: executing libtool commands
> cp ../libtool/libltdl/argz_.h libltdl/argz.h-t
> cp: cannot create regular file `libltdl/argz.h-t': No such file or directory
> make: *** [libltdl/argz.h] Error 1
>
> For a VPATH build in an empty dir. creating the libltdl dir allows things
> to continue (don't know how far...).
>
> I'm assuming it's something local for the moment.
Which compiler? Do you
--disable-dependency-tracking
perchance? Or does the Automake dependency tracking code not recognize
the one your compiler uses, or is it deemed "expensive"?
(In the last case, you can force-enable it by
--enable-dependency-tracking
). The reason I'm asking this is the dependency-tracking code will
generate libltdl/.deps and so on, thus libltdl should exist at the
time `make' starts to update libltdl/argz.h.
I can reproduce this in an empty directory with
../libtool/configure -C --disable-dependency-tracking
# edit config.cache to set all argz-related stuff to no, including
# error_t
./config.status --recheck
./config.status
make
Try the patch below. Good catch by the way!
Cheers,
Ralf
Index: libltdl/Makefile.inc
===================================================================
RCS file: /cvsroot/libtool/libtool/libltdl/Makefile.inc,v
retrieving revision 1.3
diff -u -r1.3 Makefile.inc
--- libltdl/Makefile.inc 14 Nov 2005 20:39:27 -0000 1.3
+++ libltdl/Makefile.inc 24 Nov 2005 16:31:13 -0000
@@ -138,6 +138,7 @@
# doesn't have one that works with the given compiler.
all-local $(lib_OBJECTS): libltdl/$(ARGZ_H)
libltdl/argz.h: libltdl/argz_.h
+ $(mkinstalldirs) libltdl
cp $(srcdir)/libltdl/argz_.h [EMAIL PROTECTED]
mv [EMAIL PROTECTED] $@
MOSTLYCLEANFILES += libltdl/argz.h \
_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool