Click to See Complete Forum and Search --> : Cygwin/CPAN/vi


Linux_cat
07-07-2006, 06:13 AM
I have just started to use Cywin instead of putty to access remote servers and do some perl scripting on my local machine...but i have a few issues:

1) when ssh onto a unix box im getting weird vi behaviour, i have set the TERM variable to match the one on the box, but when i open vi to edit an existing variable text suddenly appears when i move the cursor around. Its like some lines are invisible until u move accross them???. anyone know why??

2) im getting some errors when i am installing some cpan modules:


Running make test
/usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/base-1....Can't locate IO/Pty.pm in @INC (@INC contains: /cygdrive/h/.cpan/build/junoscript-perl-6.4I0/blib/lib /cygdr
ive/h/.cpan/build/junoscript-perl-6.4I0/blib/arch /usr/lib/perl5/5.8/cygwin /usr/lib/perl5/5.8 /usr/lib/perl5/site_perl/
5.8/cygwin /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/site_perl/5.8/cygwin /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/
vendor_perl/5.8/cygwin /usr/lib/perl5/vendor_perl/5.8 /usr/lib/perl5/vendor_perl/5.8/cygwin /usr/lib/perl5/vendor_perl/5
.8 .) at /cygdrive/h/.cpan/build/junoscript-perl-6.4I0/blib/lib/JUNOS/Access.pm line 41.
BEGIN failed--compilation aborted at /cygdrive/h/.cpan/build/junoscript-perl-6.4I0/blib/lib/JUNOS/Access.pm line 41.
Compilation failed in require at /cygdrive/h/.cpan/build/junoscript-perl-6.4I0/blib/lib/JUNOS/Device.pm line 45.
BEGIN failed--compilation aborted at /cygdrive/h/.cpan/build/junoscript-perl-6.4I0/blib/lib/JUNOS/Device.pm line 45.
Compilation failed in require at t/base-1.t line 12.
BEGIN failed--compilation aborted at t/base-1.t line 12.
t/base-1....dubious
Test returned status 2 (wstat 512, 0x200)
t/base-2....Can't locate IO/Pty.pm in @INC (@INC contains: /cygdrive/h/.cpan/build/junoscript-perl-6.4I0/blib/lib /cygdr
ive/h/.cpan/build/junoscript-perl-6.4I0/blib/arch /usr/lib/perl5/5.8/cygwin /usr/lib/perl5/5.8 /usr/lib/perl5/site_perl/
5.8/cygwin /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/site_perl/5.8/cygwin /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/
vendor_perl/5.8/cygwin /usr/lib/perl5/vendor_perl/5.8 /usr/lib/perl5/vendor_perl/5.8/cygwin /usr/lib/perl5/vendor_perl/5
.8 .) at /cygdrive/h/.cpan/build/junoscript-perl-6.4I0/blib/lib/JUNOS/Access.pm line 41.
BEGIN failed--compilation aborted at /cygdrive/h/.cpan/build/junoscript-perl-6.4I0/blib/lib/JUNOS/Access.pm line 41.
Compilation failed in require at /cygdrive/h/.cpan/build/junoscript-perl-6.4I0/blib/lib/JUNOS/Device.pm line 45.
BEGIN failed--compilation aborted at /cygdrive/h/.cpan/build/junoscript-perl-6.4I0/blib/lib/JUNOS/Device.pm line 45.
Compilation failed in require at t/base-2.t line 12.
BEGIN failed--compilation aborted at t/base-2.t line 12.
t/base-2....dubious
Test returned status 2 (wstat 512, 0x200)
FAILED--2 test scripts could be run, alas--no output ever seen
make: *** [test_dynamic] Error 2
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
Warning: Cannot install Bundle:NET:Ldap, don't know what it is.
Try the command

i /Bundle:NET:Ldap/

to find objects with matching identifiers.


again anyone know what the above means and how i may rectify it???....