ekkis has asked for the wisdom of the Perl Monks concerning the following question:
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: perl on win2k
by JSchmitz (Canon) on Nov 30, 2004 at 21:10 UTC | |
by ekkis (Initiate) on Dec 01, 2004 at 01:37 UTC | |
by Anonymous Monk on Dec 02, 2004 at 12:25 UTC | |
by ekkis (Initiate) on Dec 01, 2004 at 01:52 UTC | |
by ekkis (Initiate) on Nov 30, 2004 at 23:24 UTC | |
by DaWolf (Curate) on Dec 01, 2004 at 06:13 UTC | |
|
Re: perl on win2k
by olivierp (Hermit) on Nov 30, 2004 at 21:16 UTC | |
by ekkis (Initiate) on Nov 30, 2004 at 23:43 UTC | |
by mpeppler (Vicar) on Dec 01, 2004 at 07:41 UTC | |
by Anonymous Monk on Dec 02, 2004 at 12:27 UTC | |
|
Re: perl on win2k
by osunderdog (Deacon) on Dec 01, 2004 at 03:37 UTC | |
by Anonymous Monk on Dec 02, 2004 at 12:29 UTC | |
by osunderdog (Deacon) on Dec 02, 2004 at 14:48 UTC | |
|
Re: perl on win2k
by Anonymous Monk on Dec 02, 2004 at 12:34 UTC |