This process doesn't replicate the environment; it only replicates the installed packages. Figuring out how to replicate necessary environment variables, etc., is left as an exercise for the reader.

The install process doesn't actually work. I get the error "'initdb' is not recognized as an internal or external command." Apparently, something needs to be installed on the target computer THAT WASN'T NEEDED ON THE SOURCE COMPUTER (maybe something called PostgreSQL??) Of course, the install process doesn't check first to see if things like that are present before charging ahead and then barfing later.

Maybe with a few days work the new computer will run my perl scripts.

UPDATE: The PostgreSQL dependency is only the tip of the iceberg.Now I get "Warning: corrupt .drectve at end of def file." Search indicates this is probably a library incompatibility somewhere in this garbage:

g++ Pg.def -o blib\arch\auto\DBD\Pg\Pg.xs.dll -shared -s -L"C:\STRAWB~ +1\perl\lib\CORE" -L"C:\STRAWB~1\c\lib" -L"C:\STRAWB~1\c\x86_64-w64-mi +ngw32\lib" -L"C:\STRAWB~1\c\lib\gcc\x86_64-w64-mingw32\13.2.0" Pg.o d +bdimp.o quote.o types.o "C:\STRAWB~1\perl\lib\CORE\libperl542.a" "C +:\PROGRA~1\POSTGR~1\18\lib\libpq.a" "C:\STRAWB~1\c\x86_64-w64-mingw32 +\lib\libm.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libsecur32.a" "C:\ +STRAWB~1\c\x86_64-w64-mingw32\lib\libmoldname.a" "C:\STRAWB~1\c\x86_6 +4-w64-mingw32\lib\libkernel32.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\li +b\libuser32.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libgdi32.a" "C:\ +STRAWB~1\c\x86_64-w64-mingw32\lib\libwinspool.a" "C:\STRAWB~1\c\x86_6 +4-w64-mingw32\lib\libcomdlg32.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\li +b\libadvapi32.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libshell32.a" +"C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libole32.a" "C:\STRAWB~1\c\x86_ +64-w64-mingw32\lib\liboleaut32.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\l +ib\libnetapi32.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libuuid.a" "C +:\STRAWB~1\c\x86_64-w64-mingw32\lib\libws2_32.a" "C:\STRAWB~1\c\x86_6 +4-w64-mingw32\lib\libmpr.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\lib +winmm.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libversion.a" "C:\STRA +WB~1\c\x86_64-w64-mingw32\lib\libodbc32.a" "C:\STRAWB~1\c\x86_64-w64- +mingw32\lib\libodbccp32.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libc +omctl32.a" -Wl,--enable-auto-image-base

I don't believe that the cpan bundle installation process works on a Windows Perl installation at all.


In reply to Re: Replicate Perl setup by freonpsandoz
in thread Replicate Perl setup by nikosv

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.