dear perlmonks,

this poor pilgrim is at present travailing with the task of building perl on a Win2k box. why not just install ActivePerl or some other binary distro you might ask? the problem with distributions is always the same: the lack of ready-made packages for stuff one needs. - in my particular case, DBD::Sybase and DBD::Oracle.

so the goal is to have a source-based installation that allows me to /perl -MCPAN -e "install whatever"/

as per the instuctions in the perl source distribution, I've compiled and installed perl. when running the tests some stuff failed but in general everything seems to work.

however I'm now trying to build/install DBI. I have MSYS installed and used dmake to make perl.

the first thing that happens is I get:

cpan> install DBI Running install for module DBI Running make for T/TI/TIMB/DBI-1.46.tar.gz LWP not available Fetching with Net::FTP: ftp://ftp.dc.aleron.net/pub/CPAN/authors/id/T/TI/TIMB/DBI-1.46.tar.g +z CPAN: Digest::MD5 loaded ok LWP not available Fetching with Net::FTP: ftp://ftp.dc.aleron.net/pub/CPAN/authors/id/T/TI/TIMB/CHECKSUMS Checksum for C:\msys\1.0\home\ecalder\.cpan\sources\authors\id\T\TI\TI +MB\DBI-1.46.tar.gz ok Scanning cache C:\msys\1.0\home\ecalder\.cpan\build for sizes DBI-1.46/ DBI-1.46/Driver_xst.h DBI-1.46/DBI.xs /usr/bin/tar: Skipping to next header gzip: stdin: invalid compressed data--crc error /usr/bin/tar: 352 garbage bytes ignored at end of archive /usr/bin/tar: Error exit delayed from previous errors Uncompressed C:\msys\1.0\home\ecalder\.cpan\sources\authors\id\T\TI\TI +MB\DBI-1.46.tar.gz successfully Using Tar:C:\msys\1.0\bin\tar.EXE xvf C:\msys\1.0\home\ecalder\.cpan\s +ources\authors\id\T\TI\TIMB\DBI-1.46.tar: /usr/bin/tar: C\:\\msys\\1.0\\home\\ecalder\\.cpan\\sources\\authors\\ +id\\T\\TI\\TIMB\\DBI-1.46.tar: Cannot open: I/O error /usr/bin/tar: Error is not recoverable: exiting now Couldn't untar C:\msys\1.0\home\ecalder\.cpan\sources\authors\id\T\TI\ +TIMB\DBI-1.46.tar
however, I can do soemthing like:
# tar xzvf DBI-1.46.tar.gz
and that works... since that worked I cd into the directory and do /perl Makefile.PL/ and then /make/, which results in:
/bin/sh.exe: C:perlbinperl.exe: command not found make: *** [blib\lib\DBI\Changes.pm] Error 127
also /dmake/ yields:
dmake.exe: Error -- \bin\sh: No such file or directory
your wisdom is most valued.

- ekkis


In reply to perl on win2k by ekkis

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.