On 08/04/2012 12:45 PM, illusionoflife wrote: > Hello. I just encountered following bug: > I have folloing configure.ac: > AC_PREREQ([2.69]) > AC_INIT([FULL-PACKAGE-NAME], [VERSION], [BUG-REPORT-ADDRESS]) > AC_PROG_CXX > AC_OUTPUT > > Now I run `autoreconf -fi` and then ./configure. > All okay. And now focus: `mkdir core`
Don't do that. The name 'core' is reserved for core dump regular files, and creating a directory by the same name will interfere with years of traditional handling of regular files for core dumps. > Now ./configure returns following: > > checking for g++... g++ > checking whether the C++ compiler works... yes > checking for C++ compiler default output file name... a.out > checking for suffix of executables... > checking whether we are cross compiling... no > checking for suffix of object files... o > checking whether we are using the GNU C++ compiler... rm: cannot remove > 'core': Is a directory > yes This is evidence of you violating common assumptions by creating a directory named 'core'. > If I rename `core' to `foo', for example, all okay. I bet, Yep. You need to pick a different name. Autoconf is probably not going to change to work around your one-off naming. -- Eric Blake ebl...@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature