![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#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 |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
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. |
|||
| Google The UNIX and Linux Forums |