The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to install expect rpm? eamani_sun Shell Programming and Scripting 1 05-14-2008 01:46 PM
Calling expect scripts from other expect scripts seva Shell Programming and Scripting 0 04-03-2008 10:45 AM
CPAN: using only wget to d/l modules? dangral Shell Programming and Scripting 2 07-12-2007 09:49 AM
Expect and auto expect command arun_v Shell Programming and Scripting 0 03-29-2006 04:31 AM
PERL & CPAN Intro for Newbies obitus Tips and Tutorials 0 06-15-2004 06:20 PM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-20-2005
Registered User
 

Join Date: Jul 2005
Posts: 1
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
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 07-20-2005
Moderator
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,422
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.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 05:10 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0