Jim Meyering wrote:
> Jim Meyering wrote:
>
>> Jim Meyering wrote:
>> ...
>>> No problem.
>>> Next step, "make distcheck".  First failure is because inclusion of
>>> version.h fails in the non-srcdir build:
>> ...
>>> This fixes it:
>>>
>>> diff --git a/src/local.mk b/src/local.mk
>>
>> FYI, here's another make distcheck problem,
>> in case someone else can get to it before I do
>> (it'll soon be dinner time here):
>>
>>   make[2]: Entering directory 
>> `/h/j/w/co/cu/coreutils-8.19.68-ea804-dirty/_build'
>>     CC       src/uname-arch.o
>>     CC       src/hostname.o
>>     CCLD     src/arch
>>     CCLD     src/hostname
>>     GEN      man/arch.1
>>     GEN      man/hostname.1
>>   mkdir: cannot create directory 'man/arch.td': No such file or directory
>>   make[2]: *** [man/arch.1] Error 1
>>   make[2]: *** Waiting for unfinished jobs....
>>   mkdir: cannot create directory 'man/hostname.td': No such file or directory
>>   make[2]: *** [man/hostname.1] Error 1
>>   make[2]: Leaving directory 
>> `/h/j/w/co/cu/coreutils-8.19.68-ea804-dirty/_build'
>>   make[1]: *** [dist] Error 2
>>   make[1]: Leaving directory 
>> `/h/j/w/co/cu/coreutils-8.19.68-ea804-dirty/_build'
>>   make: *** [distcheck] Error 1
>
> For the record, here's another infelicity I've noticed:
>
>   checking whether _sys_siglist is declared... (cached) yes
>   checking whether __sys_siglist is declared... (cached) no
>   checking for library containing __gmpz_init... (cached) -lgmp
>   checking whether this is an ELF system... yes
>   ./configure: line 64019: EXEEXT: command not found
...
> And here's another:
...
>   make[3]: *** No rule to make target `Makefile'.  Stop.
>   make[3]: Entering directory
> /h/j/w/co/cu/tests/torture/coreutils/test/coreutils-8.19.68-ea804-dirty'
>   Making distclean in lib
>   make[4]: Entering directory
> /h/j/w/co/cu/tests/torture/coreutils/test/coreutils-8.19.68-ea804-dirty/lib'

And here's one more, so I don't forget:

  rm -rf src/.deps
  rm -f Makefile
  ERROR: files left in build directory after distclean:
  ./man/arch.1
  ./man/hostname.1
  make[1]: *** [distcleancheck] Error 1
  make[1]: Leaving directory `/h/j/w/co/cu/coreutils-8.19.68-ea804-dirty/_build'
  make: *** [distcheck] Error 1

Reply via email to