----- Original Message ----- 
From: "Hicks, Robert"
.
.
>
> I do a "perl Makefile.pl" and I get:
>
> C:\Documents and Settings\BLHicks2\Desktop\Inline-0.44_01>perl
> Makefile.PL
> Set up gcc environment - 3.4.2 (mingw-special)
>
> Inline::C is packaged with Inline.pm because it is the most commonly
> used
> Inline Language Support Module (ILSM).
>
> See also: Inline::ASM, ::Awk, ::BC, ::Basic, ::Befunge, ::CPP (C++),
> ::CPR,
>           ::Foo, ::Guile, ::Java, ::Octave, ::PERL, ::Python, ::Ruby,
> ::TT,
>           ::Tcl and ::WebChat.
>
> 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] y
> Writing Makefile for Inline::C
> Writing Makefile for Inline
> Fixing Makefile for MSWin32
>
> C:\Documents and Settings\BLHicks2\Desktop\Inline-0.44_01>
>
> Then I do a make using MinGW's version:
>
> C:\Documents and Settings\BLHicks2\Desktop\Inline-0.44_01>mingw32-make
> mingw32-make: *** No rule to make target `C:\Perl\libConfig.pm', needed
> by `make
> file'.  Stop.
>

The fix may be as simple as grabbing 'dmake' from
http://search.cpan.org/dist/dmake/ and using 'dmake' instead of
'mingw32-make'. (It's normal to use 'dmake' instead of 'mingw32-make' wrt
*perl* and MinGW.)

Even if that doesn't fix the error, stick with 'dmake' - don't revert to
'mingw32-make'.

Installation of 'dmake' is simple enough - but be sure to do it right or it
won't work :-)
 From the 'README.txt':
"So, to install it, just copy DMAKE.EXE and the startup subdirectory to some
location on your path"

Then, of course, add the location of 'dmake.exe' to your sytem's 'PATH'
environment variable.

I'm thinking that won't fix the problem, however. The original error is that
`C:\Perl\libConfig.pm' can't be found - which doesn't surprise (as it
doesn't exist). It should be trying to find `C:\Perl\lib\Config.pm' (which
*does*, presumably, exist) - and I think that error may still persist even
when you switch to 'dmake'. If it does persist, can you find any cause for
it ? Did you get the same problem with Inline-0.44 ? Does the same problem
arise when you try to build other perl extensions (say, Math::FFT) ?

Assuming that you're using ActiveState perl:
I find some problems with Inline-0.44_01 on build 817 using MinGW and dmake
(but not the one you reported). 'dmake' proceeds fine, but 'dmake test'
throws up a number of warnings and error messages - full output below my
sig. (Eric - I'm happy to take a closer look, if needed - just ask away.) On
the same platform, Inline-0.44 builds and tests flawlessly for me - though
you'll note that I avoid directories whose names contain spaces.

Robert, when you post again could you include the output of 'perl -V' ?
(And if, by chance, you are using ActiveState's build 816, please update to
build 817 as there are a number of bugs in build 816.)

Cheers,
Rob

E:\comp_817\Inline-0.44_01>dmake test
cp Inline.pod blib\lib\Inline.pod
cp lib/Inline/MakeMaker/Changes blib\lib\Inline\MakeMaker\Changes
cp lib/Inline/denter.pm blib\lib\Inline\denter.pm
AutoSplitting blib\lib\Inline\denter.pm (blib\lib\auto\Inline\denter)
cp Inline.pm blib\lib\Inline.pm
AutoSplitting blib\lib\Inline.pm (blib\lib\auto\Inline)
cp lib/Inline/Foo.pm blib\lib\Inline\Foo.pm
cp Inline-API.pod blib\lib\Inline-API.pod
cp lib/Inline/MakeMaker.pm blib\lib\Inline\MakeMaker.pm
cp Inline-FAQ.pod blib\lib\Inline-FAQ.pod
cp Inline-Support.pod blib\lib\Inline-Support.pod
cp lib/Inline/C/ParseRegExp.pm ..\blib\lib\Inline\C\ParseRegExp.pm
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
cp lib/Inline/C/ParseRecDescent.pm ..\blib\lib\Inline\C\ParseRecDescent.pm
E:\Perl817\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib\l
b', 'blib\arch')" t/*.t
t/00init......ok
t/01usages....Argument "0.44_01" isn't numeric in numeric ge (>=) at
blib\lib\I
line.pm
        (autosplit into blib\lib\auto\Inline\check_config_file.al) line 703
(#1

    (W numeric) The indicated string was fed as an argument to an operator
    that expected a numeric value instead.  If you're fortunate the message
    will identify which operator was so unfortunate.

Set up gcc environment - 3.4.4 (mingw special)
t/01usages....ok
t/02config....Argument "0.44_01" isn't numeric in numeric ge (>=) at
blib\lib\I
line.pm
        (autosplit into blib\lib\auto\Inline\check_config_file.al) line 703
(#1

    (W numeric) The indicated string was fed as an argument to an operator
    that expected a numeric value instead.  If you're fortunate the message
    will identify which operator was so unfortunate.

Set up gcc environment - 3.4.4 (mingw special)
t/02config....ok
t/03errors....Argument "0.44_01" isn't numeric in numeric ge (>=) at
blib\lib\I
line.pm
        (autosplit into blib\lib\auto\Inline\check_config_file.al) line 703
(#1

    (W numeric) The indicated string was fed as an argument to an operator
    that expected a numeric value instead.  If you're fortunate the message
    will identify which operator was so unfortunate.

t/03errors....ok
t/04create....Argument "0.44_01" isn't numeric in numeric ge (>=) at
blib\lib\I
line.pm
        (autosplit into blib\lib\auto\Inline\check_config_file.al) line 703
(#1

    (W numeric) The indicated string was fed as an argument to an operator
    that expected a numeric value instead.  If you're fortunate the message
    will identify which operator was so unfortunate.

Set up gcc environment - 3.4.4 (mingw special)
t/04create....ok
t/05files.....skipped
        all skipped: no reason given
All tests successful, 1 test skipped.
Files=6, Tests=14, 15 wallclock secs ( 0.00 cusr +  0.00 csys =  0.00 CPU)
E:\Perl817\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0,
'..\bli
\lib', '..\blib\arch')" t/*.t
t/00init.......ok
t/01syntax.....Argument "0.44_01" isn't numeric in numeric ge (>=) at
blib\lib\
nline.pm
        (autosplit into blib\lib\auto\Inline\check_config_file.al) line 703
(#1

    (W numeric) The indicated string was fed as an argument to an operator
    that expected a numeric value instead.  If you're fortunate the message
    will identify which operator was so unfortunate.

Uncaught exception from user code:
        mkdir 'E:\: Invalid argument at E:/Perl817/lib/ExtUtils/Install.pm
line
112
dmake:  Error code 150, while making 'pure_site_install'

A problem was encountered while attempting to compile and install your
Inline
C code. The command that failed was:
  dmake pure_install > out.make_install 2>&1

The build directory was:
E:\comp_817\Inline-0.44_01\C\_Inline_test\build\_01syntax_t_6b3a

To debug the problem, cd to the build directory, and inspect the output
files.

 at t/01syntax.t line 28
BEGIN failed--compilation aborted at t/01syntax.t line 37.
 at t/01syntax.t line 37
t/01syntax.....dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-5
        Failed 5/5 tests, 0.00% okay
t/02config.....Argument "0.44_01" isn't numeric in numeric ge (>=) at
blib\lib\
nline.pm
        (autosplit into blib\lib\auto\Inline\check_config_file.al) line 703
(#1

    (W numeric) The indicated string was fed as an argument to an operator
    that expected a numeric value instead.  If you're fortunate the message
    will identify which operator was so unfortunate.

t/02config.....NOK 2# Failed test 2 in t/02config.t at line 33
#  t/02config.t line 33 is:     ok($@ =~ /not a valid config option/);
Uncaught exception from user code:
        Invalid value '_Inline_test' for config option DIRECTORY

 at t/02config.t line 38
BEGIN failed--compilation aborted at t/02config.t line 40.
 at t/02config.t line 40
t/02config.....dubious
        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 2-3
        Failed 2/3 tests, 33.33% okay
t/03typemap....Argument "0.44_01" isn't numeric in numeric ge (>=) at
blib\lib\
nline.pm
        (autosplit into blib\lib\auto\Inline\check_config_file.al) line 703
(#1

    (W numeric) The indicated string was fed as an argument to an operator
    that expected a numeric value instead.  If you're fortunate the message
    will identify which operator was so unfortunate.

Uncaught exception from user code:
        mkdir 'E:\: Invalid argument at E:/Perl817/lib/ExtUtils/Install.pm
line
112
dmake:  Error code 150, while making 'pure_site_install'

A problem was encountered while attempting to compile and install your
Inline
C code. The command that failed was:
  dmake pure_install > out.make_install 2>&1

The build directory was:
E:\comp_817\Inline-0.44_01\C\_Inline_test\build\_03typemap_t_a52c

To debug the problem, cd to the build directory, and inspect the output
files.

 at t/03typemap.t line 0
INIT failed--call queue aborted.
 at t/03typemap.t line 0
t/03typemap....dubious
        Test returned status 255 (wstat 65280, 0xff00)
t/04perlapi....Argument "0.44_01" isn't numeric in numeric ge (>=) at
blib\lib\
nline.pm
        (autosplit into blib\lib\auto\Inline\check_config_file.al) line 703
(#1

    (W numeric) The indicated string was fed as an argument to an operator
    that expected a numeric value instead.  If you're fortunate the message
    will identify which operator was so unfortunate.

Uncaught exception from user code:
        mkdir 'E:\: Invalid argument at E:/Perl817/lib/ExtUtils/Install.pm
line
112
dmake:  Error code 150, while making 'pure_site_install'

A problem was encountered while attempting to compile and install your
Inline
C code. The command that failed was:
  dmake pure_install > out.make_install 2>&1

The build directory was:
E:\comp_817\Inline-0.44_01\C\_Inline_test\build\_04perlapi_t_3c76

To debug the problem, cd to the build directory, and inspect the output
files.

 at t/04perlapi.t line 0
INIT failed--call queue aborted.
 at t/04perlapi.t line 0
t/04perlapi....dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 1
        Failed 1/1 tests, 0.00% okay
t/05xsmode.....Argument "0.44_01" isn't numeric in numeric ge (>=) at
blib\lib\
nline.pm
        (autosplit into blib\lib\auto\Inline\check_config_file.al) line 703
(#1

    (W numeric) The indicated string was fed as an argument to an operator
    that expected a numeric value instead.  If you're fortunate the message
    will identify which operator was so unfortunate.

Uncaught exception from user code:
        mkdir 'E:\: Invalid argument at E:/Perl817/lib/ExtUtils/Install.pm
line
112
dmake:  Error code 150, while making 'pure_site_install'

A problem was encountered while attempting to compile and install your
Inline
C code. The command that failed was:
  dmake pure_install > out.make_install 2>&1

The build directory was:
E:\comp_817\Inline-0.44_01\C\_Inline_test\build\xsmode

To debug the problem, cd to the build directory, and inspect the output
files.

 at t/05xsmode.t line 0
INIT failed--call queue aborted.
 at t/05xsmode.t line 0
t/05xsmode.....dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 1
        Failed 1/1 tests, 0.00% okay
Failed Test   Stat Wstat Total Fail  Failed  List of Failed
----------------------------------------------------------------------------
---
t/01syntax.t   255 65280     5   10 200.00%  1-5
t/02config.t     2   512     3    3 100.00%  2-3
t/03typemap.t  255 65280    ??   ??       %  ??
t/04perlapi.t  255 65280     1    2 200.00%  1
t/05xsmode.t   255 65280     1    2 200.00%  1
Failed 5/6 test scripts, 16.67% okay. 9/11 subtests failed, 18.18% okay.
dmake:  Error code 255, while making 'test_dynamic'

Reply via email to