From: "Brian Ingerson" <[EMAIL PROTECTED]>

> * Binkley's Cygwin bugs could not be reproduced on the very latest
> Cygwin. I defer followup to himself or other Cygwin users. Leo, my
> oldest Inline friend: "Are you still tuned to this channel?"

My version of Cygwin is 1.3.1-1, with a "latest everything plus sources"
install using the setup.exe program at http://www.cygwin.com/setup.exe.
I download the tarball, unpack it with "tar zcvf
Inline-0.40-TRIAL4.tar.gz" in /tmp, and am on a binmode-mounted path.  I
then do the perl/make/test dance in the bash shell.

As a test, I unpacked the distribution under CMD.EXE in C:\Temp, and ran
perl/make/test from there in the Win2K command shell.  It also crapped
out in "make test", but with different errors.

I think I have a clue now: I see complaints about "^J".  That is a
redflag for line-ending conversion problems between \r\n & \n.  To test
the tarball itself, I ran a de-DOS-ifier on the code (it recursively
\r\n -> \n on files in a tree), but that made no difference.  I hadn't
expected it to, but I wasted to check.

Next, I mounted the sources in textmode, again to test:

  mount -u -t 'C:\cygwin\tmp\Inline-0.40-TRIAL4' /tmp/blah-blah

And did the perl/make/test dance.  Same problem, but this time the
complaints are about ^M^J instead of ^J.  More line ending troubles.

I took a gander through Data::Denter, but nothing in the source leapt
out at me.  Then I looked at Inline and Inline::denter -- Is there
anything non-portable about:

  local ($/, $") = ("\n", ' '); local ($\, $,);
  local $/ = "\n";

I wonder?  :-)  You sure play a lot of games with these!

I want to get time to test leaving $/ & $" alone in Inline &
Inline::denter (especially since pervar says their defaut values are
already end-on-line and space), but can't do that right now.


Cheers,
--binkley



Here is complete output:

boxley@BINKLEY2KLT /tmp/Inline-0.40-TRIAL4
$ perl Makefile.PL
Checking if your kit is complete...
Looks good

Inline::C is packaged with Inline.pm because it is the most commonly
used
Inline language module. See also: Inline::CPP (C++), ::Java, ::Python,
::Tcl, ::ASM, and ::CPR.

Config.pm indicates that your version of Perl was built with this C
compiler:

    gcc.exe

I have located this compiler on your system:

Do you want to install Inline::C? [y]
Writing Makefile for Inline::C::grammar
Writing Makefile for Inline::C
Writing Makefile for Inline::MakeMaker
Writing Makefile for Inline

boxley@BINKLEY2KLT /tmp/Inline-0.40-TRIAL4
$ make
cp Inline/Foo.pm blib/lib/Inline/Foo.pm
cp Inline-API.pod blib/lib/Inline-API.pod
cp Inline.pod blib/lib/Inline.pod
cp lib/Inline/denter.pm blib/lib/Inline/denter.pm
AutoSplitting blib/lib/Inline/denter.pm (blib/lib/auto/Inline/denter)
cp Inline-Support.pod blib/lib/Inline-Support.pod
cp Inline.pm blib/lib/Inline.pm
AutoSplitting blib/lib/Inline.pm (blib/lib/auto/Inline)
make[1]: Entering directory `/tmp/Inline-0.40-TRIAL4/C'
cp C-Cookbook.pod ../blib/lib/Inline/C-Cookbook.pod
cp C.pm ../blib/lib/Inline/C.pm
cp C.pod ../blib/lib/Inline/C.pod
make[2]: Entering directory `/tmp/Inline-0.40-TRIAL4/C/grammar'
cp grammar.pm ../../blib/lib/Inline/C/grammar.pm
make[2]: Leaving directory `/tmp/Inline-0.40-TRIAL4/C/grammar'
Manifying ../Inline.C-Cookbook.0
Manifying ../Inline.C.0
make[1]: Leaving directory `/tmp/Inline-0.40-TRIAL4/C'
make[1]: Entering directory `/tmp/Inline-0.40-TRIAL4/MakeMaker'
cp MakeMaker.pm ../blib/lib/Inline/MakeMaker.pm
make[1]: Leaving directory `/tmp/Inline-0.40-TRIAL4/MakeMaker'

boxley@BINKLEY2KLT /tmp/Inline-0.40-TRIAL4
$ make test
make[1]: Entering directory `/tmp/Inline-0.40-TRIAL4/C'
make[2]: Entering directory `/tmp/Inline-0.40-TRIAL4/C/grammar'
make[2]: Leaving directory `/tmp/Inline-0.40-TRIAL4/C/grammar'
make[1]: Leaving directory `/tmp/Inline-0.40-TRIAL4/C'
make[1]: Entering directory `/tmp/Inline-0.40-TRIAL4/MakeMaker'
make[1]: Leaving directory `/tmp/Inline-0.40-TRIAL4/MakeMaker'
PERL_DL_NONLAZY=1
/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.6.1/cygwin
 -I/usr/lib/perl5/5.6.1 -e 'use Test::Harness qw(&runtests $verbose);
$verbose=0
; runtests @ARGV;' t/*.t
t/00init............ok
t/01usages..........Error. You have specified '_CONFIG_' as an Inline
programmin
g language.

I currently only know about the following languages:
    C, C++, CPP, CPR, Cplusplus, Foo, c, c++, cplusplus, cpp, foo

If you have installed a support module for this language, try deleting
the
config file from the following Inline DIRECTORY, and run again:

    /tmp/Inline-0.40-TRIAL4/_Inline/

 at -e line 0
INIT failed--call queue aborted.
Uncaught exception from user code:
        Uncaught exception from user code:
        Failed to autogenerate
/tmp/Inline-0.40-TRIAL4/_Inline_test/config.

 at t/01usages.t line 18
        Carp::croak('Failed to autogenerate
/tmp/Inline-0.40-TRIAL4/_Inline_test
/conf...') called at blib/lib/Inline.pm line 665
        Inline::create_config_file('Inline=HASH(0xa233648)',
'/tmp/Inline-0.40-T
RIAL4/_Inline_test/') called at blib/lib/Inline.pm line 621
        Inline::check_config_file('Inline=HASH(0xa233648)') called at
blib/lib/I
nline.pm line 252
        Inline::glue('Inline=HASH(0xa233648)') called at
blib/lib/Inline.pm line
 131
        Inline::import('Inline', 'Foo', './t/file') called at
t/01usages.t line
18
        main::BEGIN() called at t/01usages.t line 18
        eval {...} called at t/01usages.t line 18
BEGIN failed--compilation aborted at t/01usages.t line 18.
t/01usages..........dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-7
        Failed 7/7 tests, 0.00% okay
t/02config..........Error. You have specified '_CONFIG_' as an Inline
programmin
g language.

I currently only know about the following languages:
    C, C++, CPP, CPR, Cplusplus, Foo, c, c++, cplusplus, cpp, foo

If you have installed a support module for this language, try deleting
the
config file from the following Inline DIRECTORY, and run again:

    /tmp/Inline-0.40-TRIAL4/_Inline/

 at -e line 0
INIT failed--call queue aborted.
Uncaught exception from user code:
        Uncaught exception from user code:
        Failed to autogenerate
/tmp/Inline-0.40-TRIAL4/_Inline_test/config.

 at t/02config.t line 17
        Carp::croak('Failed to autogenerate
/tmp/Inline-0.40-TRIAL4/_Inline_test
/conf...') called at blib/lib/Inline.pm line 665
        Inline::create_config_file('Inline=HASH(0xa233274)',
'/tmp/Inline-0.40-T
RIAL4/_Inline_test/') called at blib/lib/Inline.pm line 621
        Inline::check_config_file('Inline=HASH(0xa233274)') called at
blib/lib/I
nline.pm line 252
        Inline::glue('Inline=HASH(0xa233274)') called at
blib/lib/Inline.pm line
 131
        Inline::import('Inline', 'Foo', 'foo-sub test1 {^J    bar-return
$_[0] b
ar-eq \'test1\';^J}^J', 'ENABLE', 'BAR') called at t/02config.t line 17
        main::BEGIN() called at t/02config.t line 21
        eval {...} called at t/02config.t line 21
BEGIN failed--compilation aborted at t/02config.t line 21.
t/02config..........dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-2
        Failed 2/2 tests, 0.00% okay
t/03errors..........Error. You have specified '_CONFIG_' as an Inline
programmin
g language.

I currently only know about the following languages:
    C, C++, CPP, CPR, Cplusplus, Foo, c, c++, cplusplus, cpp, foo

If you have installed a support module for this language, try deleting
the
config file from the following Inline DIRECTORY, and run again:

    /tmp/Inline-0.40-TRIAL4/_Inline/

 at -e line 0
INIT failed--call queue aborted.
t/03errors..........ok 2/3Error. You have specified '_CONFIG_' as an
Inline prog
ramming language.

I currently only know about the following languages:
    C, C++, CPP, CPR, Cplusplus, Foo, c, c++, cplusplus, cpp, foo

If you have installed a support module for this language, try deleting
the
config file from the following Inline DIRECTORY, and run again:

    /tmp/Inline-0.40-TRIAL4/_Inline/

 at -e line 0
INIT failed--call queue aborted.
Uncaught exception from user code:
        Uncaught exception from user code:
        Undefined subroutine &Inline::Foo::usage_config called at
t/03errors.t l
ine 41.
        main::BEGIN() called at t/03errors.t line 42
        eval {...} called at t/03errors.t line 42
BEGIN failed--compilation aborted at t/03errors.t line 42.
t/03errors..........dubious
        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1, 3
        Failed 2/3 tests, 33.33% okay
t/04create..........Uncaught exception from user code:
        No source code in DATA section for Inline 'Foo' section.

 at t/04create.t line 0
        Carp::croak('No source code in DATA section for Inline \'Foo\'
section.^
J^J') called at blib/lib/Inline.pm line 305
        Inline::read_DATA('Inline=HASH(0xa24d31c)') called at
blib/lib/Inline.pm
 line 215
        Inline::init called at (eval 2) line 4
        Inline::INIT() called at t/04create.t line 0
        eval {...} called at t/04create.t line 0
INIT failed--call queue aborted, <DATA> line 1 (#1)
    (F) An untrapped exception was raised while executing a CHECK, INIT,
or
    END subroutine.  Processing of the remainder of the queue of such
    routines has been prematurely ended.

Uncaught exception from user code:
        Uncaught exception from user code:
        No source code in DATA section for Inline 'Foo' section.

 at t/04create.t line 0
        Carp::croak('No source code in DATA section for Inline \'Foo\'
section.^
J^J') called at blib/lib/Inline.pm line 305
        Inline::read_DATA('Inline=HASH(0xa24d31c)') called at
blib/lib/Inline.pm
 line 215
        Inline::init called at (eval 2) line 4
        Inline::INIT() called at t/04create.t line 0
        eval {...} called at t/04create.t line 0
INIT failed--call queue aborted, <DATA> line 1.
t/04create..........dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 1
        Failed 1/1 tests, 0.00% okay
Failed Test  Status Wstat Total Fail  Failed  List of Failed
------------------------------------------------------------------------
--------

t/01usages.t     255 65280     7    7 100.00%  1-7
t/02config.t     255 65280     2    2 100.00%  1-2
t/03errors.t       2   512     3    2  66.67%  1 3
t/04create.t     255 65280     1    1 100.00%  1
Failed 4/5 test scripts, 20.00% okay. 12/14 subtests failed, 14.29%
okay.
make: *** [test_dynamic] Error 2

boxley@BINKLEY2KLT /tmp/Inline-0.40-TRIAL4
$


Reply via email to