Groups | Search | Server Info | Login | Register
| Newsgroups | perl.tcltk |
|---|---|
| Path | csiph.com!xmission!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!nntp.perl.org |
| Return-Path | <chrischavez@gmx.us> |
| Mailing-List | contact tcltk-help@perl.org; run by ezmlm |
| Delivered-To | mailing list tcltk@perl.org |
| X-Spam-Checker-Version | SpamAssassin 3.3.1 (2010-03-16) on mx3.develooper.com |
| X-Spam-Status | No, score=-2.6 required=6.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,URIBL_BLOCKED autolearn=ham version=3.3.1 |
| To | tcltk@perl.org |
| Subject | Error running Makefile.PL on Windows |
| Message-ID | <d72d04f7-7f03-689f-293c-4e478f0afd12@gmx.us> (permalink) |
| Date | Mon, 20 Aug 2018 11:05:41 -0500 |
| User-Agent | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.0 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8; format=flowed |
| Content-Language | en-US |
| Content-Transfer-Encoding | 8bit |
| X-Antivirus | Avast (VPS 180820-2, 08/20/2018), Outbound message |
| X-Antivirus-Status | Clean |
| X-Provags-ID | V03:K1:e0A3IHkKde5noOSyvkKqqvDiV/O5p1Q7t/sBY1I1N78SQr6Mr1Q Eg9HSvBVYVSmxZBAHqDG43sLLURdEme0q4ZN3F876j5XUsIeyG588fj6AdgsVj8l95M/Alj OtvP9sSTd36HRU8wVFyYWFD5olQBDHHfZgTPLANAOyAXYAuQCNsyudyR6qBu1lcA2UE7G4U p6UW5KuIDpjaHwR6ytL6A== |
| X-UI-Out-Filterresults | notjunk:1;V01:K0:0eQaEs4f35M=:n+OQocjpJVBGZjCC+UvZ4C gJ/i1ftiBj6ceGG+kSAdSXUua9Hbe/vdgJZHzXWPv1RZhzQ7/7VjNiNr4yQxyYAl2TKXGjvpZ MLX2Yh27krpu8Uo+N51pJRbwRJsGAlJDaiYqqphLfInAp1dH7dvhaOlSqRZS00xrL0Wh29icu phDiDzUP4XtDK/fbhBwOx06vwK6Feg4IWW9QHQiGtrC9tuy1PNBWCc/W9Ssm1Q/O3KCT+lbC4 sobmBRiJKS4Z4AHw0RXdMBjnn1yKpowC9kJAVUObczgXvqU9fHtQEb+wXTqVGu9XUQHlCKowm sUeB+gpiIe57ZTHIiJpM6cdYgSGZQICisULF3P8o6L0Md5mK9A0P92AVuB67czg91xGfzr6F4 asBL75YRwwvJ+TvhS/kkePMFDiuxP6AAFi60t0eZZp0FpbYVHX+QtEIuzB56jS/rS0Oj036na m1xXagklywmk0iuxrd78kImXvMd+LfE8ip8i3F9tLuLrO6Zn1K6Gc0ydselAghqLYdeDC6J1e 8jI63XyMIstQZvw+1WIqiPCAXxeTXPdUQYHkMsqwY/3JAuCoJmgiCWm6twSdNU1i3VvDnRKNT WwjaNU3KgbHIm69lmhidUFdrqgQ7yJNpzbqXBhw62APiMqaD3soBxPzWlVk/Kg+uIqsSuAFQn WpT9fFrHFO+ew20bGoti08XL6DIqhDz9OZe5VUm/ws/tVGA1ib84zjPeJlwejK34bIcCuzcyA vubFXQjWQ/GJ+OaNSEwL8jbQVwJU8McazbyTsP1kXSeQDKMtM0kv3r8UqIh8R3vRvO9qHhJCD Jfr29xx |
| X-PMX-Version | 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2018.8.20.155416 |
| X-PMX-Spam | Gauge=IIIIIIII, Probability=8%, Report=' FROM_US_TLD 0.1, HTML_00_01 0.05, HTML_00_10 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1500_1599 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, DATE_TZ_NA 0, NO_URI_HTTPS 0, SINGLE_URI_IN_BODY 0, SPF_PASS 0, URI_WITH_PATH_ONLY 0, __ANY_URI 0, __AVAST_URI_ONLY 0, __CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __FRAUD_MONEY_CURRENCY 0, __FRAUD_MONEY_CURRENCY_DOLLAR 0, __FRAUD_WEBMAIL 0, __FRAUD_WEBMAIL_FROM 0, __HAS_FROM 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_TEXT_P 0, __MIME_TEXT_P1 0, __MIME_VERSION 0, __MOZILLA_USER_AGENT 0, __NO_HTML_TAG_RAW 0, __PHISH_SPEAR_STRUCTURE_1 0, __PHISH_SPEAR_SUBJ_ALERT 0, __SANE_MSGID 0, __SINGLE_URI_TEXT 0, __SUBJ_ALPHA_END 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __URI_IN_BODY 0, __URI_NOT_IMG 0, __URI_NO_MAILTO 0, __URI_NS , __URI_WITH_PATH 0, __USER_AGENT 0, __blackholes.mail-abuse.org_TIMEOUT , __zen.spamhaus.org_ERROR ' |
| Approved | news@nntp.perl.org |
| From | chrischavez@gmx.us (Christopher Chavez) |
| Lines | 38 |
| Xref | csiph.com perl.tcltk:507 |
Show key headers only | View raw
I have a machine with Windows 10 64-bit 1803, ActivePerl* 5.24.3, and
ActiveTcl 8.6.7.
*(Uses dmake and doesn't have gnu make. I'm not constrained to
ActivePerl; I just didn't know about Strawberry until recently.)
I tried installing Tcl.pm 1.25 from cpanm as well as running the latest
tcl.pm/Makefile.PL on git, but get errors:
> error starting tclsh: $?=-1; $!=Inappropriate I/O control operation
> error writing "stdout": broken pipe
> while executing
> "puts "tclsh=[info nameofexecutable]""
> (file "tclcfg.tcl" line 1)
I.e. from the first error it appears to be dying at line 115:
_die "error starting $tclsh: \$?=$?; \$!=$!\n" if $?!=0;
and the second error is just stderr from tclsh (complaining it couldn't
write to stdout because Perl died)…
But running `tclsh tclcfg.tcl` both manually and from Perl seems to give
the correct output. In fact if I comment out line 115 (`_die … if
$?!=0`), then the tclsh output gets put in $tclcfg, and Makefile.PL
seems to finish as expected.
I'm not sure what's wrong here. The only thing that seems strange to me
is that $?=-1 for opening a command pipe on Windows (I can get $?=-1 for
something like `open(my $fh, "echo hello |")`) but not on other OSes
(e.g. macOS, where $?=0 when open() works). I have not found if/where
this is explained in `perldoc open` or `perldoc perlipc`.
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
Back to perl.tcltk | Previous | Next — Next in thread | Find similar
Error running Makefile.PL on Windows chrischavez@gmx.us (Christopher Chavez) - 2018-08-20 11:05 -0500
RE: Error running Makefile.PL on Windows Vadim.Konovalov@dell.com ("Konovalov, Vadim") - 2018-08-20 19:36 +0000
RE: Error running Makefile.PL on Windows Vadim.Konovalov@dell.com ("Konovalov, Vadim") - 2018-08-20 20:39 +0000
csiph-web