first shot perl
Charles Wilson
cwilson@ece.gatech.edu
Mon Aug 20 23:24:00 GMT 2001
Very nice. I too am confused with the cgywin-multi. Did you build
using --with-multiplicity -- could that be it? (If multiplicity is the
reason for the cygwin-multi dir but you did not explicitly specify it,
it's possible that multiplicity is now the default?)
(From perldoc perlcygwin):
"-Dusemultiplicity
Multiplicity is required when embedding perl in a C program and using
more than one interpreter instance. This works with the cygwin port."
BTW, you have to manually munge the /usr/bin/ld2 file, or end-users
won't be able to build their own XC packages (mailer probably wrapped
the second '-' line)
--- ld2 Mon Aug 20 20:05:18 2001
+++ /usr/bin/ld2 Thu Dec 21 16:50:28 2000
@@ -1,15 +1,15 @@
#!/bin/sh
#
# ld wrapper for building dynamic lib version of perl;
-# passes all args to perlld
+# passes all args to /usr/bin/perlld
#
# own miniperl is first candidate 'cause it doesn not lock libperl.dll
-for trythis in /src/perl/CYGWIN-PATCHES/perl-5.6.1-gph-1/miniperl
/src/perl/CYGWIN-PATCHES/perl-5.6.1-gph-1/perl perl
+for trythis in /usr/bin/perl
do
if [ -x $trythis ]
then
- $trythis /src/perl/CYGWIN-PATCHES/perl-5.6.1-gph-1/perlld "$@"
+ $trythis /usr/bin/perlld "$@"
exit $?
fi
done
> I got one test failure with the op/groups.test:
> ===================
> Failed Test Status Wstat Total Fail Failed List of Failed
> ----------------------------------------------------------------------
> op/groups.t 2 1 50.00% 1
> 8 tests and 94 subtests skipped.
> Failed 1/275 test scripts, 99.64% okay. 1/12830 subtests failed, 99.99% okay.
Hmmm....this sounds familiar. Check the archives, I think there's an
obvious explanation for this but I can't remember it right now.
Finally, every now and again an interesting perl bug report (e.g.
*actual details* !!! on the textmode/binmode thing) comes across the
cygwin mailing list. I've filed those away on occasion, and can send
you an mbox-format archive of "perl-pending" issues, if you're
interested. I don't guarantee that I've saved EVERY bug report, but it
could be a place to start. there are 9 or 10 post-5.6.1 threads.
(Maybe you or perl5-porters have already fixed them, I dunno...remember
that "our" current cygwin is based on 5.6.1-TRIAL1, not even on
5.6.1-release)
--Chuck
More information about the Cygwin-apps
mailing list