[adding bug-automake] On 07/23/2010 05:31 PM, Sam Silla wrote: > Hi, > > I'm getting the following error: > > cd && /bin/sh ./config.status Makefile > /bin/sh: ./config.status: No such file or directory > > It seems the configure file is changing directories to home, which isn't > correct. Any ideas what's wrong? I'm guessing the srcdir variable isn't > being set properly. Which package was this where you encountered the problem? Perhaps it is a problem specific to that package? At any rate, I think the problem is more likely to be in automake than in autoconf, since this is a case of bad quoting in the Makefile, which is not under autoconf's control. In particular, I note that automake generates the following: cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ If, for some reason, $(top_builddir) didn't get defined correctly, then that would explain your symptoms. Automake could protect itself a bit better by using cd '$(top_builddir)' && ... since "cd" will succeed but "cd ''" will fail, but that still doesn't explain the root cause for $(top_builddir) not expanding correctly. Or maybe the package you are compiling didn't use automake, and it is a bug in their hand-written Makefile.in? -- Eric Blake eblake@xxxxxxxxxx +1-801-349-2682 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf