Problem concerning packages in executing make

Posted by daverogers on 2010-08-28 18:04
Forums: PPM | OS: Windows Vista

Running on 32-bit machine. Perl installed correctly.

I downloaded into C:\Users\David\Documents\Sanskrit and Devanagari\Material from Peter Scharf\SanskritTransliterate a tar file containing 5 packages: Sanskrit::Alphabetize, Sanskrit::Embed, Sanskrit::Syllabify, Sanskrit::Transliterate, Sanskrit::TransliterateVedic. Untarred them successfully. The installation instructions I received state to “Run the usual sequence of perl Makefile.PL;make;make test; and make install (the last as root).”

So, I ran perl Makefile.PL in the DOS box (Command Prompt on Windows). It came back with a message “It looks like you don’t have a C compiler on your PATH, so you will not be able to compile C or SX extension modules. You can install GCC from the MinGW package using the Perl Package Manager by running ppm install MinGW”. So I did; it gave following lines:

“Downloading MinGW-5.1.4.1…done
Downloading dmake-4.11.20080107…done
Unpacking MinGW-5.1.4.1…done
Generating HTML for MinGW-5.1.4.1…done
Generating HTML for dmake-4.11.20080107…done
Updating files in site area…done
1070 files installed.”

Next, I retried running perl Makefile.pl. It gave following lines:
“Set up gcc.environment – 3.4.5 (mingw-vista special173>
Writing Makefile for Sanskrit::Transliterate”

Next, I looked in the directory(the same as mentioned in the first paragraph above); it made a Makefile (25KB) (without extension PL); the first line in it was “#This Makefile is for Sanskrit::Transliterate extension to perl.” So, according to what little I remember about packages and learned by looking through my Perl books, everything is fine up to this point. Next I ran a simple one-word command, per the installation instructions I received: make. It gave an error message back: “’make’ is not recognized as an internal or external command, operable program or batch file”.

Then I found something on the internet that said to try dmake.

In the C:\Users\David\Documents\Sanskrit and Devanagari\Material from Peter Scharf\SanskritTransliterate folder I ran PATH, then Path %PATH%.
Then I ran dmake. It came back with:
cp Syllabify.pm blib/lib/Sanskrit/Syllabify.pm
cp Embed.pm blib/lib/Sanskrit/Embed.pm
cp Alphabetize.pm blib/lib/Sanskrit/Alphabetize.pm
cp TransliterateVedic.pm blib/lib/Sanskrit/TransliterateVedic.pm
cp Transliterate.pm blib/lib/Sanskrit/Transliterate.pm
AutoSplitting blib/lib/Sanskrit/Transliterate.pm (blib/lib/auto/Sanskrit/Transliterate)
As I remember UNIX, these are copy commands. It did not come back with “Manifying” commands like “Manifying blib/man/man3/Sanskrit::Syllabify.3pm” that were in the example that my friend sent me from his machine.

I tried to do a make test. It fails. So, I have done the perl Makefile.PL and dmake (instead of make). In the “Run the usual sequence of perl Makefile.PL;make;make test; and make install (the last as root).” I have done the first 2.
This is where I am at this point. What next?

Many thanks in advance.