On Sun, Nov 2, 2014 at 6:27 PM, Arno Bootsmann <boom...@icloud.com> wrote: > I am trying to compile Automake on mac os x 10.6.8, but get the following > error > message: > > forge:automake-1.14.1 boomaxx$ make > cd . && "/opt/src/automake-1.14.1/t/wrap/automake-1.14" --gnu --ignore-deps > Makefile > Can't locate /opt/src/automake-1.14.1/bin/automake in @INC (@INC contains: > /Library/Perl/Updates/5.10.0 > /System/Library/Perl/5.10.0/darwin-thread-multi-2level > /System/Library/Perl/5.10.0 /Library/Perl/5.10.0/darwin-thread-multi-2level > /Library/Perl/5.10.0 /Network/Library/Perl/5.10.0/darwin-thread-multi-2level > /Network/Library/Perl/5.10.0 /Network/Library/Perl > /System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level > /System/Library/Perl/Extras/5.10.0 .) at > /opt/src/automake-1.14.1/t/wrap/automake-1.14 line 27. > make: *** [Makefile.in] Error 2 >
I've managed to get a similar error message to appear under GNU/Linux, although not compiling from the released file directly with ./configure and make. It appears when the rule runs to regenerate the Makefile and the generated automake file ("bin/automake") is missing: $ tar xf automake-1.14.1.tar.xz $ cd automake-1.14.1 $ ./configure [...] $ make [...] This works successfully. Then: $ rm bin/automake rm: remove write-protected regular file 'bin/automake'? y $ touch Makefile.am $ make V=1 rm -f t/testsuite-part.tmp t/testsuite-part.am /usr/bin/perl ./gen-testsuite-part \ --srcdir . > t/testsuite-part.tmp chmod a-w t/testsuite-part.tmp mv -f t/testsuite-part.tmp t/testsuite-part.am cd . && "/home/g/extsrc/automake-1.14.1/t/wrap/automake-1.14" --gnu --ignore-deps Makefile Can't locate /home/g/extsrc/automake-1.14.1/bin/automake in @INC (@INC contains: /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at /home/g/extsrc/automake-1.14.1/t/wrap/automake-1.14 line 27. make: *** [Makefile.in] Error 2 I would guess there is something wrong with the timestamps causing the Makefile rebuilding rules to be run.