Ticket #4399 (closed defect: fixed)

Opened 20 months ago

Last modified 20 months ago

Add support for cross-compilation with PERL path different between --build and --host

Reported by: slyfox Owned by: andrew_b
Priority: major Milestone: 4.8.29
Component: mc-core Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: merged Votes for changeset: committed-master

Description

NixOS (and some other cross-OS cases, or using localy-built perl) have different paths to build-time perl (--build) and run-time perl (--host). Build system does not distinguish between those. As a result build fails as (if we use ./configure PERL=${runtime}/perl):

install: cannot stat './mc.hlp.es': No such file or directory

The proposed change adds PERL_FOR_BUILD variable (similar to autoconf's CC_FOR_BUILD and friends) to fix the build for such special cases.

Attachments

0001-configure.ac-introduce-PERL_FOR_BUILD.patch (2.8 KB) - added by slyfox 20 months ago.
0001-configure.ac-introduce-PERL_FOR_BUILD.patch

Change History

Changed 20 months ago by slyfox

0001-configure.ac-introduce-PERL_FOR_BUILD.patch

comment:1 Changed 20 months ago by andrew_b

  • Status changed from new to accepted
  • Owner set to andrew_b
  • Branch state changed from no branch to on review
  • Milestone changed from Future Releases to 4.8.29

Thanks!

Branch: 4399_perl_for_build
changeset:6b67d231a2f447cf5f33180c618c2a67849e6d15

comment:2 Changed 20 months ago by andrew_b

  • Votes for changeset set to andrew_b
  • Branch state changed from on review to approved

comment:3 Changed 20 months ago by andrew_b

  • Status changed from accepted to testing
  • Votes for changeset changed from andrew_b to committed-master
  • Resolution set to fixed
  • Branch state changed from approved to merged

comment:4 Changed 20 months ago by andrew_b

  • Status changed from testing to closed
Note: See TracTickets for help on using tickets.