in reply to Re: sfv checker sting crc32
in thread sfv checker sting crc32

Thanks! But prefer without cpan. Open Perl command line: 1. Makefile.PL Generating a dmake-style Makefile Writing Makefile for String::CRC32 Writing MYMETA.yml and MYMETA.json and tried with dmake give me an error "damke error : 'Makefile.PL' not found and can't be made Where i must extract the content of String-CRC32-1.5?

Replies are listed 'Best First'.
Re^3: sfv checker sting crc32
by Corion (Patriarch) on Oct 20, 2016 at 19:05 UTC

    Please first try to get things working the easy way before trying the hard way.

    Your error message makes no sense. The normal command sequence for a manual installation on Windows with dmake is:

    perl Makefile.PL dmake dmake test dmake install

    At no time, dmake should try to remake Makefile.PL, so please copy the exact error message instead of copying some vague interpretation of it. Also, please consider using <code>...</code> tags around the code and data you are pasting so your posts show up in a more readable way.

      I think i install it what i done, copy the folder String-CRC32-1.5 into C:\Strawberry\perl\bin\String-CRC32-1.5 then:Sorry about previous post codes. Please can you look to see if its ok

      C:\Users\UPSILON\Documents>cd D:\String-CRC32-1.5 C:\Users\UPSILON\Documents>cd D:\String-CRC32-1.5\ C:\Users\UPSILON\Documents>cd D:\String-CRC32-1.5\ C:\Users\UPSILON\Documents>perl Makefile.PK Can't open perl script "Makefile.PK": No such file or directory C:\Users\UPSILON\Documents>perl Makefile.PL Can't open perl script "Makefile.PL": No such file or directory C:\Users\UPSILON\Documents>"perl Makefile.PL" '"perl Makefile.PL"' is not recognized as an internal or external comm +and, operable program or batch file. C:\Users\UPSILON\Documents>%PATH% 'C:\Windows\system32' is not recognized as an internal or external com +mand, operable program or batch file. C:\Users\UPSILON\Documents>%PATH '%PATH' is not recognized as an internal or external command, operable program or batch file. C:\Users\UPSILON\Documents>PATH PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Window +s\System32 \WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\b +in\x86;C:\ Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files\Inte +l\WiFi\bin \;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files + (x86)\NVI DIA Corporation\PhysX\Common;C:\Delta Programs\UltraCompare;C:\Program + Files (x8 6)\Ipswitch\Common;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\ +Strawberry \perl\bin;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Fil +es\Intel\W irelessCommon\;C:\Delta Programs\IDM UltraEdit 22.10.0.12\;c:\delta pr +ograms\flu ent.inc\ntbin\ntx86 C:\Users\UPSILON\Documents>C:\Strawberry\perl\bin 'C:\Strawberry\perl\bin' is not recognized as an internal or external +command, operable program or batch file. C:\Users\UPSILON\Documents>cd C:\Strawberry\perl\bin C:\Strawberry\perl\bin>cd C:\Strawberry\perl\bin C:\Strawberry\perl\bin>perl Makefile.PL Can't open perl script "Makefile.PL": No such file or directory C:\Strawberry\perl\bin>cd C:\Strawberry\perl\bin\String-CRC32-1.5 C:\Strawberry\perl\bin\String-CRC32-1.5>Makefile.PL Checking if your kit is complete... Looks good Generating a dmake-style Makefile Writing Makefile for String::CRC32 Writing MYMETA.yml and MYMETA.json C:\Strawberry\perl\bin\String-CRC32-1.5>dmake cp CRC32.pod blib\lib\String\CRC32.pod cp CRC32.pm blib\lib\String\CRC32.pm Running Mkbootstrap for CRC32 () "C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e chmod -- 644 +"CRC32.bs" "C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command::MM -e cp_nonemp +ty -- CRC3 2.bs blib\arch\auto\String\CRC32\CRC32.bs 644 "C:\Strawberry\perl\bin\perl.exe" "C:\Strawberry\perl\lib\ExtUtils\xsu +bpp" -typ emap C:\STRAWB~1\perl\lib\ExtUtils\typemap -typemap C:\Strawberry\perl +\bin\Strin g-CRC32-1.5\typemap CRC32.xs > CRC32.xsc "C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e mv -- CRC32.x +sc CRC32.c gcc -c -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_ +SCRIPTS -D PERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fwrapv -fno-strict-aliasing + -mms-bitf ields -s -O2 -DVERSION=\"1.5\" -DXS_VERSION=\"1.5\" "-IC:\ST +RAWB~1\per l\lib\CORE" CRC32.c "C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Mksymlists \ -e "Mksymlists('NAME'=>\"String::CRC32\", 'DLBASE' => 'CRC32', 'D +L_FUNCS' = > { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);" g++ CRC32.def -o blib\arch\auto\String\CRC32\CRC32.xs.dll -mdll -s -L" +C:\STRAWB~ 1\perl\lib\CORE" -L"C:\STRAWB~1\c\lib" CRC32.o "C:\STRAWB~1\perl\lib +\CORE\libp erl524.a" -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 + -ladvapi3 2 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinm +m -lversio n -lodbc32 -lodbccp32 -lcomctl32 -Wl,--enable-auto-image-base "C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e chmod -- 755 +blib\arch\ auto\String\CRC32\CRC32.xs.dll C:\Strawberry\perl\bin\String-CRC32-1.5>dmake test "C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command::MM -e cp_nonemp +ty -- CRC3 2.bs blib\arch\auto\String\CRC32\CRC32.bs 644 "C:\Strawberry\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::H +arness" "- e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\ +arch')" t/ *.t t/crc.t .. ok All tests successful. Files=1, Tests=27, 1 wallclock secs ( 0.05 usr + 0.22 sys = 0.26 CP +U) Result: PASS C:\Strawberry\perl\bin\String-CRC32-1.5>dmake install "C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command::MM -e cp_nonemp +ty -- CRC3 2.bs blib\arch\auto\String\CRC32\CRC32.bs 644 Files found in blib\arch: installing files in blib\lib into architectu +re depende nt library tree Installing C:\STRAWB~1\perl\site\lib\auto\String\CRC32\CRC32.xs.dll Installing C:\STRAWB~1\perl\site\lib\String\CRC32.pm Installing C:\STRAWB~1\perl\site\lib\String\CRC32.pod Appending installation info to C:\STRAWB~1\perl\lib/perllocal.pod C:\Strawberry\perl\bin\String-CRC32-1.5
        cd D:\String-CRC32-1.5
        won't work. Either
        cd /d D:\String-CRC32-1.5
        (with "/d" Switch), or
        D: cd \String-CRC32-1.5
        should do.

        And installing modules under bin instead of lib seems a bad idea, too.

        Yes, except for the errors before you unpacked the distribution file and changed into the unpacked directory, that is as I'd expect, and it seems that all went well. Note, again, that this could have been done by using cpan String::CRC32 or, if you already downloaded the file, cpan String-CRC32-1.5.tar.gz.