develooper Front page | perl.perl5.porters | Postings from October 2018

[perl #133590] Can't build perl out-of-source

Thread Next
From:
krichter@posteo.de
Date:
October 15, 2018 15:04
Subject:
[perl #133590] Can't build perl out-of-source
Message ID:
rt-4.0.24-20143-1539547681-614.133590-75-0@perl.org
# New Ticket Created by  krichter@posteo.de 
# Please include the string:  [perl #133590]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=133590 >


Building out-of-source, e.g. with `mkdir /tmp/perl-build && cd
/tmp/perl-build && /path/to/perl/Configure -de`, fails due to `make: ***
No rule to make target 'Makefile.SH', needed by 'Makefile'.  Stop.`. The
`Configure` script however exists with code 0 which is confusing.

The issue is reproduced on Travis CI, see
https://www.travis-ci.org/krichter722/perl5/builds/441360931 for
details. The usage of Travis is unclear to me as the source repository
contains a fully-functioning, non-trivial .travis.yml, but
https://travis-ci.org/Perl/perl5 is not activated (the activation would
be most welcome btw). The corresponding patch for the test expansion is
provided at https://github.com/Perl/perl5/pull/18.

If out-of-source builds are not supported, `Configure` should fail as
early as possible with a comprehensive and clear error message.


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About