Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Inline::Java install on Windows (nmake problem)

by Lion-Tiger (Novice)
on Nov 17, 2011 at 23:45 UTC ( #938709=note: print w/ replies, xml ) Need Help??


in reply to Re: Inline::Java install on Windows (nmake problem)
in thread Inline::Java install on Windows (nmake problem)

Of course I tried to install it, but with cpan it can't be installed:

>cpan Inline CPAN: CPAN::SQLite loaded ok (v0.199) Database was generated on Thu, 17 Nov 2011 14:54:34 GMT Running install for module 'Inline' Running make for S/SI/SISYPHUS/Inline-0.48.tar.gz CPAN: Digest::SHA loaded ok (v5.61) CPAN: Compress::Zlib loaded ok (v2.034) Checksum for C:\strawberry\cpan\sources\authors\id\S\SI\SISYPHUS\Inlin +e-0.48.tar .gz ok CPAN: Archive::Tar loaded ok (v1.76) CPAN: File::Temp loaded ok (v0.22) CPAN: CPAN::Meta loaded ok (v2.110930) CPAN.pm: Going to build S/SI/SISYPHUS/Inline-0.48.tar.gz Checking if your kit is complete... Looks good Inline::C is packaged with Inline.pm because it is the most commonly u +sed 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 co +mpiler: gcc 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 Could not read metadata file. Falling back to other methods to determi +ne prerequ isites CPAN: Module::CoreList loaded ok (v2.46) 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 dmake.EXE: Error code 197, while making 'subdirs' SISYPHUS/Inline-0.48.tar.gz C:\strawberry\c\bin\dmake.EXE -- NOT OK CPAN: YAML loaded ok (v0.73) Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible
I'll try installing it from source....

That's result:
>cmd.exe Microsoft Windows [Version 6.1.7601] (c) Корпораци&#1 +103; Майкрософ& +#1090; (Microsoft Corp.), 2009. Все пр& +#1072;ва защище&#1085 +;ы. H:\Subst\Disk_M\Ivan Documents\MyDocs\Ivan\Maxthon Downloads\Inline-0. +48>perl Ma kefile.pl Checking if your kit is complete... Looks good Inline::C is packaged with Inline.pm because it is the most commonly u +sed 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 co +mpiler: gcc 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 >nmake Microsoft (R) Program Maintenance Utility Version 10.00.30319.01 Copyright (C) Microsoft Corporation. All rights reserved. syntax error at -e line 1, next char ) Missing right curly or square bracket at -e line 1, at end of line Execution of -e aborted due to compilation errors. NMAKE : fatal error U1077: 'C:\strawberry\perl\bin\perl.exe' : return +code '0xff ' Stop.

I think it's problem with nmake...


Comment on Re^2: Inline::Java install on Windows (nmake problem)
Select or Download Code
Re^3: Inline::Java install on Windows (nmake problem)
by marto (Chancellor) on Nov 18, 2011 at 08:05 UTC

    "Of course I tried to install it, but with cpan it can't be installed:"

    Silly me, for assuming that since you the details you posted included the message "Warning: prerequisite Inline 0.44 not found." and no mention of an attempt to install the module that this was a worth while suggestion. We are not mind readers, consider reading How do I post a question effectively?.

    Strawberry Perl uses dmake, not nmake. When planning on installing modules please read and understand the documentation, including the README file, which in this case mentions the ppm installation route also.

      Yep, sorry for this mistake, I installed Inline through ppm, but this didn't effect on installing Inline::Java:

      ====================
      My mistake, it helped - got some troubles with path variable, so it took the wrong dmake.....

      Inline::Java installed, thanks to ALL! =)

        ">nmake"

        What happens if you use dmake as previously advised?

Re^3: Inline::Java install on Windows (nmake problem)
by Anonymous Monk on May 31, 2012 at 13:57 UTC
    Hi, To solve the below error:

    "syntax error at -e line 1, next char ) Missing right curly or square bracket at -e line 1, at end of line Execution of -e aborted due to compilation errors. NMAKE : fatal error U1077: 'C:\strawberry\perl\bin\perl.exe' : return +code '0xff"

    Nmake to be executed successfully, needs an another supporting file cl.exe which is found in the bin or lib folder of the Visual C++ installation, please set the path of bin path or lib path in the environment variables. Make sure that Nmake.exe and cl.exe is at the same folder and this path has to set in the environment variable PATH.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://938709]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (11)
As of 2014-09-22 17:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (198 votes), past polls