when I run "perl ftpsync.pl" I get an error message complaining that
FILE::LISTING is missing.
This is a module from the wwwlib-perl library, and a look to the script
suggests that other modules from that library are needed as well.
How do I install a module in perl under os2/eCS?
the generic (non wwwlib-specific) howto at
http://theoryx5.uwinnipeg.ca/CPAN/perl/pod/perlmodinstall.html
says:
If you're on OS/2,
Get the EMX development suite and gzip/tar, from either Hobbes (
http://hobbes.nmsu.edu ) or Leo ( http://www.leo.org ), and then follow
the instructions for Unix.
instructions or unix are:
====
If you're on a Unix or Linux system,
You can use Andreas Koenig's CPAN module (
http://www.cpan.org/modules/by-module/CPAN ) to automate the following
steps, from DECOMPRESS through INSTALL.
A. DECOMPRESS
Decompress the file with gzip -d yourmodule.tar.gz
You can get gzip from ftp://prep.ai.mit.edu/pub/gnu/
Or, you can combine this step with the next to save disk space:
gzip -dc yourmodule.tar.gz | tar -xof -
B. UNPACK
Unpack the result with tar -xof yourmodule.tar
C. BUILD
Go into the newly-created directory and type:
perl Makefile.PL
make
make test
or
perl Makefile.PL PREFIX=/my/perl_directory
to install it locally. (Remember that if you do this, you'll have to put
use lib "/my/perl_directory"; near the top of the program that is to use
this module.
D. INSTALL
While still in that directory, type:
make install
Make sure you have the appropriate permissions to install the module in
your Perl 5 library directory. Often, you'll need to be root.
That's all you need to do on Unix systems with dynamic linking. Most
Unix systems have dynamic linking -- if yours doesn't, or if for another
reason you have a statically-linked perl, and the module requires
compilation, you'll need to build a new Perl binary that includes the
module. Again, you'll probably need to be root.
===
is all that correct?
Does it imply that I need some compiler installed besides perl?
thanks,
piesse
Bad luck. AFAIK, there is no such module. And there never will be...
If you mean File::Listing, then it is included in the "standard"
binary distribution:
perl5.8.2 -MFile::Listing -wle0
(5.8.2 is the latest "standard binary" released, AFAIK). I'm working
on releasing 5.8.8 - but well, I hope to release it RSN for several
years already...
Yours,
Ilya