The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 04:46 PM
Calling expect scripts from other expect scripts seva Shell Programming and Scripting 0 04-03-2008 01:45 PM
CPAN: using only wget to d/l modules? dangral Shell Programming and Scripting 2 07-12-2007 12:49 PM
Expect and auto expect command arun_v Shell Programming and Scripting 0 03-29-2006 07:31 AM
PERL & CPAN Intro for Newbies obitus Tips and Tutorials 0 06-15-2004 09:20 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-20-2005
white222 white222 is offline
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
  #2 (permalink)  
Old 07-20-2005
cbkihong cbkihong is offline Forum Advisor  
Advisor
  
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,624
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.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:44 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0