This was my first attempt to use Crypt::Blowfish (or for that mattter any Crypt module). I ran into quite a few problems and thought it would be good idea to post it in case some other poor soul is looking for direction.

I had read in a node here on PM that ActiveState had dropped support for the Crypt::modules due to legal issues. See here on ASPN for details.

1. I could install the Crypt::CBC from ppm: ppm install Crypt-CBC

2. For windows, I installed nmake from: http://support.microsoft.com/kb/132084/en-us. and copied nmake.err and nmake.exe into my perl bin.

3. Next I needed the C compiler for Windows. I downloaded the free MS Visual C++ 2005 Express Edition from: http://msdn2.microsoft.com/en-us/express/aa975050.aspx

4. I then had to install the "Microsoft Platform SDK for Windows Server 2003 R2"

5. I believe you also need .Net framework which I already had.

6. Finally I could run the nmake, nmake install without any errors but when I tried to run a perl test with the Crypt::Blowfish module, it threw an error saying:
"The application has failed to start because MSVCR80.dll was not found"

I found the dll in one of the MS Visual studio directories and added that to the path but it threw different error:
"The procedure entry point _except_handler4_common could not be located in the dynamic link library MSVCR80.dll"

7. I then found a node which tells you to add perl.exe.manifest file to the same dir as perl.exe. I took out the dir which I added in the path for msvcr80.dll in step 6 above, added the manifest file and it worked!

<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1. +0"> <assemblyIdentity version="0.0.0.0" processorArchitecture="X86" name=" +Perl" type="win32" /> <description>Perl</description> <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.VC80.CRT" version="8.0.50215.4631" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"> </assemblyIdentity> </dependentAssembly> </dependency> </assembly>
-Rachna

Edit: g0n - removed pre tags


In reply to Installing Crypt Blowfish module by Rachna

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.