nmake test giving error....help

Discussion in 'Perl Misc' started by siddharth, Oct 6, 2005.

  1. siddharth

    siddharth Guest

    Hi All,

    I have been trying to run a perl script since morning and now i am
    totally bugged up please help..... my problem is "i want to run a perl
    script in which a c function is called"

    this is how i went about it

    first thing i did was to try to install Inline-0.44. it reported that
    ParseRecDescent is required for it so i downloaded this module since it
    is a pure perl module i simply copied it to its respective directory
    thatis (lib/parse).
    then i again tried installing Inline-0.44 with following command
    c:\>perl makefile.pl
    c:\>nmake
    C:\>nmake test
    above command(third one) gave following error:
    ------------------------------------------------------------------
    Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
    Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

    D:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e"
    "test_harness(0, 'bl
    ib\lib', 'blib\arch')" t\00init.t t\01usages.t t\02config.t
    t\03errors.t t\04cre
    ate.t t\05files.t
    t\00init......ok
    t\01usages....ok
    t\02config....ok
    t\03errors....ok
    t\04create....ok
    t\05files.....skipped
    all skipped: no reason given
    All tests successful, 1 test skipped.
    Files=6, Tests=14, 11 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00
    CPU)
    D:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e"
    "test_harness(0, '..
    \blib\lib', '..\blib\arch')" t\00init.t t\01syntax.t t\02config.t
    t\03typemap.t
    t\04perlapi.t t\05xsmode.t
    t\00init.......ok
    t\01syntax.....Uncaught exception from user code:

    Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
    Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

    D:\Perl\bin\perl.exe D:\Perl\lib\ExtUtils/xsubpp -typemap
    D:\Perl\lib\E
    xtUtils\typemap -typemap D:\Inline-0.44\C\t\typemap
    _01syntax_t_6b3a.xs > _01sy
    ntax_t_6b3a.xsc && D:\Perl\bin\perl.exe -MExtUtils::Command -e mv
    _01syntax_t_6b
    3a.xsc _01syntax_t_6b3a.c
    cl -c -ID:/Inline-0.44/C/t -nologo -Gf -W3 -MD -Zi -DNDEBUG
    -O1 -DWIN3
    2 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DBUILT_BY_ACTIVESTATE
    -DNO_HASH_SEED
    -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
    -DUSE_PERLIO -D
    PERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.00\"
    -DXS_VERSION=\"0
    ..00\" "-ID:\Perl\lib\CORE" _01syntax_t_6b3a.c
    _01syntax_t_6b3a.c
    D:\Perl\lib\CORE\locale.h(30) : fatal error C1189: #error : ERROR: Use
    of C run time library internal header file.
    NMAKE : fatal error U1077: 'cl' : return code '0x2'
    Stop.

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

    The build directory was:
    D:\Inline-0.44\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 2 (wstat 512, 0x200)
    DIED. FAILED tests 1-5
    Failed 5/5 tests, 0.00% okay
    t\02config.....ok 1/3# Failed test 2 in t\02config.t at line 33
    # t\02config.t line 33 is: ok($@ =~ /not a valid config option/);
    t\02config.....NOK 2Uncaught 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....Uncaught exception from user code:

    Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
    Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

    D:\Perl\bin\perl.exe D:\Perl\lib\ExtUtils/xsubpp -typemap
    D:\Perl\lib\E
    xtUtils\typemap -typemap D:\Inline-0.44\C\t\typemap -typemap
    D:\Inline-0.44\C\t\
    typemap _03typemap_t_a52c.xs > _03typemap_t_a52c.xsc &&
    D:\Perl\bin\perl.exe -M
    ExtUtils::Command -e mv _03typemap_t_a52c.xsc _03typemap_t_a52c.c
    cl -c -ID:/Inline-0.44/C/t -nologo -Gf -W3 -MD -Zi -DNDEBUG
    -O1 -DWIN3
    2 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DBUILT_BY_ACTIVESTATE
    -DNO_HASH_SEED
    -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
    -DUSE_PERLIO -D
    PERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.00\"
    -DXS_VERSION=\"0
    ..00\" "-ID:\Perl\lib\CORE" _03typemap_t_a52c.c
    _03typemap_t_a52c.c
    D:\Perl\lib\CORE\locale.h(30) : fatal error C1189: #error : ERROR: Use
    of C run
    time library internal header file.
    NMAKE : fatal error U1077: 'cl' : return code '0x2'
    Stop.

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

    The build directory was:
    D:\Inline-0.44\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 2 (wstat 512, 0x200)
    t\04perlapi....Uncaught exception from user code:

    Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
    Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

    D:\Perl\bin\perl.exe D:\Perl\lib\ExtUtils/xsubpp -typemap
    D:\Perl\lib\E
    xtUtils\typemap -typemap D:\Inline-0.44\C\t\typemap
    _04perlapi_t_3c76.xs > _04p
    erlapi_t_3c76.xsc && D:\Perl\bin\perl.exe -MExtUtils::Command -e mv
    _04perlapi_t
    _3c76.xsc _04perlapi_t_3c76.c
    cl -c -ID:/Inline-0.44/C/t -nologo -Gf -W3 -MD -Zi -DNDEBUG
    -O1 -DWIN3
    2 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DBUILT_BY_ACTIVESTATE
    -DNO_HASH_SEED
    -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
    -DUSE_PERLIO -D
    PERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.00\"
    -DXS_VERSION=\"0
    ..00\" "-ID:\Perl\lib\CORE" _04perlapi_t_3c76.c
    _04perlapi_t_3c76.c
    D:\Perl\lib\CORE\locale.h(30) : fatal error C1189: #error : ERROR: Use
    of C run
    time library internal header file.
    NMAKE : fatal error U1077: 'cl' : return code '0x2'
    Stop.

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

    The build directory was:
    D:\Inline-0.44\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 2 (wstat 512, 0x200)
    DIED. FAILED test 1
    Failed 1/1 tests, 0.00% okay
    t\05xsmode.....Uncaught exception from user code:

    Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
    Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

    D:\Perl\bin\perl.exe D:\Perl\lib\ExtUtils/xsubpp -typemap
    D:\Perl\lib\E
    xtUtils\typemap -typemap D:\Inline-0.44\C\t\typemap xsmode.xs >
    xsmode.xsc && D
    :\Perl\bin\perl.exe -MExtUtils::Command -e mv xsmode.xsc xsmode.c
    Please specify prototyping behavior for xsmode.xs (see perlxs manual)
    cl -c -ID:/Inline-0.44/C/t -nologo -Gf -W3 -MD -Zi -DNDEBUG
    -O1 -DWIN3
    2 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DBUILT_BY_ACTIVESTATE
    -DNO_HASH_SEED
    -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
    -DUSE_PERLIO -D
    PERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.00\"
    -DXS_VERSION=\"0
    ..00\" "-ID:\Perl\lib\CORE" xsmode.c
    xsmode.c
    D:\Perl\lib\CORE\locale.h(30) : fatal error C1189: #error : ERROR: Use
    of C run
    time library internal header file.
    NMAKE : fatal error U1077: 'cl' : return code '0x2'
    Stop.

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

    The build directory was:
    D:\Inline-0.44\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 2 (wstat 512, 0x200)
    DIED. FAILED test 1
    Failed 1/1 tests, 0.00% okay
    Failed Test Stat Wstat Total Fail Failed List of Failed
    -------------------------------------------------------------------------------
    t\01syntax.t 2 512 5 10 200.00% 1-5
    t\02config.t 2 512 3 3 100.00% 2-3
    t\03typemap.t 2 512 ?? ?? % ??
    t\04perlapi.t 2 512 1 2 200.00% 1
    t\05xsmode.t 2 512 1 2 200.00% 1
    Failed 5/6 test scripts, 16.67% okay. 9/11 subtests failed, 18.18%
    okay.
    NMAKE : fatal error U1077: 'D:\Perl\bin\perl.exe' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    ----------------------------------------------------------------------

    even after getting so many error i went ahead and executed
    c:\>nmake install

    it gave following message
    ----------------------------------------------------------------
    Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
    Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

    Appending installation info to D:\Perl\lib/perllocal.pod
    -----------------------------------------------------------------

    then i tried running my perl script and as expectecd it konked up and
    gave following errors
    -----------------------------------------------------------
    Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
    Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

    D:\Perl\bin\perl.exe D:\Perl\lib\ExtUtils/xsubpp -typemap
    D:\Perl\lib\E
    xtUtils\typemap greet_txt_1f4b.xs > greet_txt_1f4b.xsc &&
    D:\Perl\bin\perl.exe
    -MExtUtils::Command -e mv greet_txt_1f4b.xsc greet_txt_1f4b.c
    cl -c -IE:/proj -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32
    -D_CONSOL
    E -DNO_STRICT -DHAVE_DES_FCRYPT -DBUILT_BY_ACTIVESTATE -DNO_HASH_SEED
    -DUSE_SITE
    CUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO
    -DPERL_MSVCRT
    _READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.00\"
    -DXS_VERSION=\"0.00\" "-ID
    :\Perl\lib\CORE" greet_txt_1f4b.c
    greet_txt_1f4b.c
    D:\Perl\lib\CORE\locale.h(30) : fatal error C1189: #error : ERROR: Use
    of C run
    time library internal header file.
    NMAKE : fatal error U1077: 'cl' : return code '0x2'
    Stop.

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

    The build directory was:
    E:\proj\_Inline\build\greet_txt_1f4b
    To debug the problem, cd to the build directory, and inspect the output
    files.

    at greet.txt line 1
    BEGIN failed--compilation aborted at greet.txt line 7.
    -----------------------------------------------------------------------------

    for your convenience i am copying out.make file below

    --------------------------------------------------------------

    Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
    Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

    D:\Perl\bin\perl.exe D:\Perl\lib\ExtUtils/xsubpp -typemap
    D:\Perl\lib\ExtUtils\typemap greet_txt_1f4b.xs > greet_txt_1f4b.xsc &&
    D:\Perl\bin\perl.exe -MExtUtils::Command -e mv greet_txt_1f4b.xsc
    greet_txt_1f4b.c
    cl -c -IE:/proj -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32
    -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DBUILT_BY_ACTIVESTATE
    -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT
    -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG
    -O1 -DVERSION=\"0.00\" -DXS_VERSION=\"0.00\" "-ID:\Perl\lib\CORE"
    greet_txt_1f4b.c
    greet_txt_1f4b.c
    D:\Perl\lib\CORE\locale.h(30) : fatal error C1189: #error : ERROR: Use
    of C runtime library internal header file.

    NMAKE : fatal error U1077: 'cl' : return code '0x2'
    Stop.

    --------------------------------------------------------------------------



    i have looked in this group, though there were similar kind of queries
    and replies. i tried all the suggestion but still i could not run my
    small script please help.

    please note that i am using windows 2000 professional and Activeperl
    5.8.7
    also note that same code is running fine in linux(FC3).

    thanks and regards
    siddharth.
     
    siddharth, Oct 6, 2005
    #1
    1. Advertising

  2. siddharth

    Sisyphus Guest

    "siddharth" <> wrote in message
    news:...
    > Hi All,
    >
    > I have been trying to run a perl script since morning and now i am
    > totally bugged up please help.....


    [snip]

    Did you first run vcvars32.bat ? (It's located in your compiler's bin
    folder.)

    If that's not the solution, try building Math::FFT from cpan - just to be
    sure that you have things configured correctly.
    If there are problems with that, post the error messages. If Math::FFT
    builds successfully but the same problem persists with Inline-0.44, then let
    us know.

    Cheers,
    Rob
     
    Sisyphus, Oct 6, 2005
    #2
    1. Advertising

  3. siddharth

    siddharth Guest

    just now i did following things.

    1)c:\Inline-0.44>nmake clean

    2) executed vcvars32.bat(located in d:\Program Files\Microsoft Visual
    studio\VC98\Bin)

    3) i tried compiling fft4g.c(from Math::fft) it gave no errors


    4) i tried building fft4g.c(from Math::fft) it gave following message
    ----------------------------------------------------------------------
    Deleting intermediate files and output files for project 'fft4g - Win32
    Debug'.
    --------------------Configuration: fft4g - Win32
    Debug--------------------
    Compiling...
    fft4g.c
    Linking...
    LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
    Debug/fft4g.exe : fatal error LNK1120: 1 unresolved externals
    Error executing link.exe.

    fft4g.exe - 2 error(s), 0 warning(s)

    --------------------------------------------------------------------------

    5) i tried installing inline once again by issuing following command

    c:\Inline-0.44>perl makefile.pl

    following is the output
    ----------------------------------------------------
    Checking if your kit is complete...
    Looks good

    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:

    cl.exe

    I have located this compiler on your system:

    Do you want to install Inline::C? [y]
    Writing Makefile for Inline::C
    Writing Makefile for Inline
    Fixing Makefile for MSWin32
    -------------------------------------------------

    c:\Inline-0.44>nmake

    following is the output

    --------------------------------------------------------------

    Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
    Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

    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
    ------------------------------------------------------------------
    so far it was alright but next command

    c:\Inline-0.44>nmake test

    gave similar errors as before( to keep this message short, i am not
    pasting it again )

    5) again i proceeded with 'nmake install' command.


    6) after 5th step i tried executing my perl script in which c function
    was being called and as expected it gave same errors....

    one thing i want to bring to your notice may be u might have also
    noticed it, among all the errors there is one error viz.
    ----------------------------------------------------
    D:\Perl\lib\CORE\locale.h(30) : fatal error C1189: #error : ERROR: Use
    of C runtime library internal header file.
    NMAKE : fatal error U1077: 'cl' : return code '0x2'
    Stop.
    -----------------------------------------------------------
    i suspect this "ERROR: Use of C runtime library internal header file."
    to be the main culprit.....what is this error??? do you have any idea
    about this particular error?????

    so ...above is complete list of what i did..please advice

    thanks
    siddharth.
     
    siddharth, Oct 7, 2005
    #3
  4. "siddharth" <> wrote in
    news::

    > just now i did following things.
    >
    > 1)c:\Inline-0.44>nmake clean
    >
    > 2) executed vcvars32.bat(located in d:\Program Files\Microsoft Visual
    > studio\VC98\Bin)


    I am using the free command line compiler from Microsoft. I also have
    the Platform SDK installed. My command prompt link first calls

    C:\opt\psdk\SetEnv.Bat

    then

    C:\opt\vc\vcvars32.bat

    Attempting to detect a Microsoft Visual Studio installation
    Targeting Windows XP 32 RETAIL

    C:\opt\psdk> cl /V
    Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for
    80x86

    Here is my log:

    D:\Dload\Inline-0.44> 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 Support Module (ILSM).
    ....
    Config.pm indicates that your version of Perl was built with this C
    compiler:

    cl.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

    D:\Dload\Inline-0.44> nmake -f Makefile

    No error/warning messages.

    D:\Dload\Inline-0.44> nmake -f Makefile test

    Microsoft (R) Program Maintenance Utility Version 1.60.5270
    Copyright (c) Microsoft Corp 1988-1995. All rights reserved.

    C:\opt\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e"
    "test_harness(0,
    'blib\lib', 'blib\arch')" t\00init.t t\01usages.t t\02config.t t
    \03errors.t t\0
    4create.t t\05files.t
    t\00init......ok
    t\01usages....ok
    t\02config....ok
    t\03errors....ok
    t\04create....ok
    t\05files.....skipped
    all skipped: no reason given
    All tests successful, 1 test skipped.
    Files=6, Tests=14, 12 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00
    CPU)
    C:\opt\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e"
    "test_harness(0,
    '..\blib\lib', '..\blib\arch')" t\00init.t t\01syntax.t t\02config.t t
    \03typema
    p.t t\04perlapi.t t\05xsmode.t
    t\00init.......ok
    t\01syntax.....ok
    t\02config.....ok
    t\03typemap....ok
    t\04perlapi....ok
    t\05xsmode.....ok
    All tests successful.
    Files=6, Tests=12, 29 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00
    CPU)

    D:\Dload\Inline-0.44> D:\Dload\Inline-0.44> nmake -f Makefile install
    ....
    No errors or warnings given.

    > i suspect this "ERROR: Use of C runtime library internal header file."
    > to be the main culprit.....what is this error??? do you have any idea
    > about this particular error?????


    I don't know. I could not reproduce this.

    Sinan
    --
    A. Sinan Unur <>
    (reverse each component and remove .invalid for email address)

    comp.lang.perl.misc guidelines on the WWW:
    http://mail.augustmail.com/~tadmc/clpmisc/clpmisc_guidelines.html
     
    A. Sinan Unur, Oct 7, 2005
    #4
  5. siddharth

    siddharth Guest

    In my last reply i mentioned that i executed fft4g.c (in VC++)but i
    think it was wrong way of trying to build fft....but now i did
    following things


    D:\MATH-F~2.28>perl makefile.pl

    and the output was
    ---------------------------------------------------------------------
    Checking if your kit is complete...
    Looks good
    Writing Makefile for Math::FFT
    ---------------------------------------------------------------------------


    D:\MATH-F~2.28>nmake

    and the output was
    --------------------------------------------------------------------------------
    Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
    Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

    cp FFT.pm blib\lib\Math\FFT.pm
    D:\Perl\bin\perl.exe D:\Perl\lib\ExtUtils/xsubpp -typemap
    D:\Perl\lib\E
    xtUtils\typemap -typemap typemap FFT.xs > FFT.xsc &&
    D:\Perl\bin\perl.exe -MExt
    Utils::Command -e mv FFT.xsc FFT.c
    cl -c -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32
    -D_CONSOLE -DNO_ST
    RICT -DHAVE_DES_FCRYPT -DBUILT_BY_ACTIVESTATE -DNO_HASH_SEED
    -DUSE_SITECUSTOMIZE
    -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO
    -DPERL_MSVCRT_READFIX
    -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.28\" -DXS_VERSION=\"0.28\"
    "-ID:\Perl\li
    b\CORE" FFT.c
    FFT.c
    D:\Perl\lib\CORE\locale.h(30) : fatal error C1189: #error : ERROR: Use
    of C run
    time library internal header file.
    NMAKE : fatal error U1077: 'cl' : return code '0x2'
    Stop.
    -----------------------------------------------------------------------------------

    i think this is the output which u want to see and not the one in my
    previous post.

    so now please advice

    thanks
    siddharth.
     
    siddharth, Oct 7, 2005
    #5
  6. "siddharth" <> wrote in
    news::

    > ---------------------------------------------------------------------
    > Checking if your kit is complete...
    > Looks good
    > Writing Makefile for Math::FFT
    > ----------------------------------------------------------------------


    Compiled fine after adding libc.lib to LDLOADLIBS in the generated
    Makefile. (To fix missing symbol error about __ftol2).

    D:\Dload\Math-FFT-1.28> nmake -f Makefile test

    Microsoft (R) Program Maintenance Utility Version 1.60.5270
    Copyright (c) Microsoft Corp 1988-1995. All rights reserved.

    C:\opt\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e"
    "test_harness(0,
    'blib\lib', 'blib\arch')" t\apps.t t\fft.t t\stats.t
    t\apps.....ok
    t\fft......ok
    t\stats....ok
    All tests successful.
    Files=3, Tests=48, 1 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00
    CPU)

    Sorry, still can't reproduce it.

    Sinan
    --
    A. Sinan Unur <>
    (reverse each component and remove .invalid for email address)

    comp.lang.perl.misc guidelines on the WWW:
    http://mail.augustmail.com/~tadmc/clpmisc/clpmisc_guidelines.html
     
    A. Sinan Unur, Oct 7, 2005
    #6
  7. siddharth

    Sisyphus Guest

    "siddharth" <>


    > D:\Perl\lib\CORE\locale.h(30) : fatal error C1189: #error : ERROR: Use
    > of C run
    > time library internal header file.


    Ummmm .... I don't think 'D:\Perl\lib\CORE\locale.h' should exist. I don't
    have it on any of my Win32 5.8.7 perls (though I don't specifically have
    ActiveState's build).

    What is it ? Where did it come from ? How did it get there ?

    I do have a 'locale.h' in my VC++ include folder. Have you placed the VC++
    includes in perl/lib/CORE ? (That would *not* be a good idea. Your VC++ and
    perl installations should be kept completely separate.)

    > NMAKE : fatal error U1077: 'cl' : return code '0x2'
    > Stop.
    > --------------------------------------------------------------------------

    ---------
    >
    > i think this is the output which u want to see and not the one in my
    > previous post.
    >


    Yes - that was what I wanted to see.

    Cheers,
    Rob
     
    Sisyphus, Oct 7, 2005
    #7
  8. siddharth

    siddharth Guest

    thanks Rob. i removed locale.h from perl/lib/CORE and now my perl
    script is working fine....thanks a lot
     
    siddharth, Oct 7, 2005
    #8
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. bagsmode

    nmake--installing modules

    bagsmode, Jul 25, 2003, in forum: Perl
    Replies:
    2
    Views:
    3,804
    bagsmode
    Jul 27, 2003
  2. NMAKE FATAL ERROR U1073

    , Feb 14, 2006, in forum: C Programming
    Replies:
    3
    Views:
    771
    Tim Prince
    Feb 14, 2006
  3. Replies:
    1
    Views:
    1,503
    Ian Collins
    Jun 20, 2007
  4. sixteenmillion

    The giving that keeps on giving

    sixteenmillion, Nov 19, 2007, in forum: C Programming
    Replies:
    0
    Views:
    461
    sixteenmillion
    Nov 19, 2007
  5. Mike

    Nmake Error Two Modules

    Mike, Nov 8, 2006, in forum: Perl Misc
    Replies:
    2
    Views:
    242
Loading...

Share This Page