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:
however, I can do soemthing like: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
and that works... since that worked I cd into the directory and do /perl Makefile.PL/ and then /make/, which results in:# tar xzvf DBI-1.46.tar.gz
also /dmake/ yields:/bin/sh.exe: C:perlbinperl.exe: command not found make: *** [blib\lib\DBI\Changes.pm] Error 127
your wisdom is most valued.dmake.exe: Error -- \bin\sh: No such file or directory
- ekkis
In reply to perl on win2k by ekkis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |