CYGWIN/CPAN install of Expect.pm


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers CYGWIN/CPAN install of Expect.pm
# 1  
Old 07-20-2005
CYGWIN/CPAN install of Expect.pm

I am attempting to install a Perl Expect module via the CPAN . CPAN goes through the process but nothing happens, sample perl scripts can not find the Expect Module. CPAN was configured via the Default process " Are you ready for manual configuration? [yes]" answered "no". CPAN install seemed to find all of the modules needed(gzip, tar, unzip,make,lynx,wget,ncftp,gpg,less etc). Evironment: Windos XP PRO, No proxys needed.

From the Cpan prompt:

cpan> install Expect
Running install for module Expect
Running make for R/RG/RGIERSIG/Expect-1.15.tar.gz
Checksum for /cygdrive/c/Documents and Settings/joe/.cpan/sources/authors/id/R/R
G/RGIERSIG/Expect-1.15.tar.gz ok
gzip: and.gz: No such file or directory
gzip: Settings/joe/.cpan/sources/authors/id/R/RG/RGIERSIG/Expect-1.15.tar.gz: No
such file or directory
Package seems to come without Makefile.PL.
(The test -f "/cygdrive/c/Documents and Settings/joe/.cpan/build/RGIERSIG002/M
akefile.PL" returned false.)
Writing one on our own (setting NAME to Expect)

CPAN.pm: Going to build R/RG/RGIERSIG/Expect-1.15.tar.gz

Writing Makefile for Expect
/usr/bin/make -- OK
Running make test
No tests defined for Expect extension.
/usr/bin/make test -- OK
Running make install
Writing /usr/lib/perl5/site_perl/5.8/cygwin/auto/Expect/.packlist
Appending installation info to /usr/lib/perl5/5.8/cygwin/perllocal.pod
/usr/bin/make install -- OK

cpan>


Any Suggestions?

Joe
# 2  
Old 07-20-2005
Sounds like the CPAN module (or external tools like gzip) doesn't enjoy folder names with intervening spaces, and is therefore confused!

Try to set your CPAN build directory to a path with no intervening spaces, and try again. You ought to be able to use the "o conf" command in CPAN to do this:

e.g.

o conf build_dir /path/to/build/dir/with/no/spaces

Probably you may also need to change the values for options "keep_source_where", "cpan_home" as well.

If you change any of these, you will need an "o conf commit" before you terminate the CPAN shell to save the change. Read the CPAN manpage if in doubt.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to install CPAN without using yum on Linux?

Hi all, I am on Linux box where CPAN is not working for downloading any perl modules. When I try "perl -MCPAN -e shell" as root as well as a user, I get following error: Can't locate CPAN.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl... (2 Replies)
Discussion started by: pat_pramod
2 Replies

2. Programming

How to automatically install all modules required by a script from CPAN?

Having a script.pl how can I automatically download from CPAN all required modules and install and update as required? Something like "emerge -uDNav world" for the perl? ---------- Post updated at 05:38 PM ---------- Previous update was at 05:28 PM ---------- Doesn't matter I've found it ... (6 Replies)
Discussion started by: Tribe
6 Replies

3. Shell Programming and Scripting

Unable to install module using cpan

Hi, I am unable to install module using cpan. It says 407 Proxy Authentication Required I did setup proxy server and given username and password in .bashrc file and apt.conf file. export http_proxy=http://username:password@proxyserver:portno/ However, still unable to install... (1 Reply)
Discussion started by: Anjan1
1 Replies

4. OS X (Apple)

Unable to install Perl module via CPAN

Hi, I am trying to install Unicode::String from the cpan shell, and here is what I get: Checking if your kit is complete... Looks good Writing Makefile for Unicode::String cp String.pm blib/lib/Unicode/String.pm cp lib/Unicode/CharName.pm blib/lib/Unicode/CharName.pm... (3 Replies)
Discussion started by: psychomachine
3 Replies

5. UNIX for Dummies Questions & Answers

Trying to install UCSF DOCK on Cygwin

I'm trying to install DOCK 6.3 on my computer. I'm using the latest version of both DOCK for the install and Cygwin. Following the directions outlined here DOCK 6.3 User Manual I type in the prompt ./configure Makefile and it creates a header file titled config.h I then type in make... (6 Replies)
Discussion started by: newuser1
6 Replies

6. UNIX for Dummies Questions & Answers

Cygwin/X install help

Hi All, Not sure if this is the right forum but hope someone has the answer. I installed Cygwin/X and usually use the 'startxwin.bat' to start xwin. However, I recently updated to Windows 7 and noticed that 'startxwin.bat' is not in the normal path (normally its in /usr/X11/bin). Anyone know... (1 Reply)
Discussion started by: ScKaSx
1 Replies

7. Shell Programming and Scripting

Error while trying to install from CPAN

Hi i was trying to install Text::CSV from cpan... it seemed to have downloaded everythign properly but was not able to run the make file... do u have any idea as to why this happened?? Install: ============================= If you install Text::CSV_XS v.0.70, it makes Text::CSV faster. ... (5 Replies)
Discussion started by: VGR
5 Replies

8. Shell Programming and Scripting

[Perl] How to install with CPAN specified version of module

Hello all, i am searching how to install a module but the question is : howto specify CPAN to install a determined version of the module ? In my case i want to install DBD:Oracle1.14 and not version 1.23 proposed ! Any idea welcome ! :rolleyes: Thanks ! (1 Reply)
Discussion started by: sun_cracker
1 Replies

9. UNIX for Advanced & Expert Users

Install ksh93 for cygwin

Hi, Does anyone know where can I get ksh93 for installation on CYGWIN. Thanks? (1 Reply)
Discussion started by: devtakh
1 Replies

10. UNIX for Dummies Questions & Answers

How to install Cygwin on Windows XP SP2

Please can anyone help me with how to install cygwin on a windows Xp SP2 platform, I cant seem to get it to work? (1 Reply)
Discussion started by: jimoney
1 Replies
Login or Register to Ask a Question