Subject: | facilitating CPAN installation script with paths |
This is perl, v5.6.1 built for cygwin-multi
CYGWIN_NT-5.0 1.3.12(0.54/3/2) 2002-07-06 02:16 i686 unknown
When running
<<perl -MCPAN -e 'install DBD::Pg'>>
I get:
<<...
CPAN.pm: Going to build J/JB/JBAKER/DBD-Pg-1.13.tar.gz
Configuring Pg
Remember to actually read the README file !
please set environment variables POSTGRES_INCLUDE and POSTGRES_LIB !
Running make test
Make had some problems, maybe interrupted? Won't test
Running make install
Make had some problems, maybe interrupted? Won't install
rhauser@RHAUSERPCGF590K:~>>
My suggestion is:
1) provide the full path of the README, I have so many of them and I ran the perl command in my home directory and there, the file is definitely not present. (Apparently, there is a \lib\perl5\site_perl\5.6.1\cygwin-multi\DBD directory, but I don't find it there either.)
2) another feature to help win-oriented novices: name it README.txt
3) Couldn't it set some POSTGRES_INCLUDE and POSTGRES_LIB defaults at least for the test (if that was the reason for the reported problems)
4) There was no warning or error message before, couldn't make proved more specific input (since I don't think it was interrupted...)
What do you think?
Rgds r.