Changes between Initial Version and Version 1 of Ticket #56825, comment 1


Ignore:
Timestamp:
Jul 19, 2018, 12:25:37 AM (6 years ago)
Author:
chrstphrchvz (Christopher Chavez)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #56825, comment 1

    initial v1  
    11I was actually expecting this error, because a similar one occurred when I was making the p5-tcl-ptk port. Somehow I was able to install p5-tcl-tk yesterday without error; now after uninstalling and cleaning, I get this error.
    22
    3 I don't know what exactly is causing the error. There's a test in Makefile.PL that checks for Tcl/Tk and certain Tk extensions by tclsh with a script test-for-tk.tcl, but for some reason, Perl never gets any output from tclsh when run from MacPorts, whereas I can run Makefile.PL manually and it will work.
     3I don't know what exactly is causing the error. There's a test in Makefile.PL that checks for Tcl/Tk and certain Tk extensions by running tclsh with a script test-for-tk.tcl, but for some reason, Perl never gets any output from tclsh when run from MacPorts, whereas I can run Makefile.PL manually and it will work.
    44
    55The workaround I ended up using for p5-tcl-ptk was removing the test with a patch to Makefile.PL, and instead trusting MacPorts to properly install Tcl/Tk and tklib (cf. https://github.com/macports/macports-ports/pull/2036). I will probably apply the same workaround here if I can't figure out why there's no output from tclsh to Perl when MacPorts runs Makefile.PL.