Help for an old man

software development

#1

a little help with installing ffileman . I have the following.

Home page : http://www.finethings4u.com
Path to Perl: /usr/bin/perl
Path to my Web or home directory: /home/users/web/b1263/hy.rlw
Secure : https://protected.hypermart.net/rlw/cgi-bin/

the script is in : /cgi-bin/v8
the .cgi files are in : cgi-bin/v8/bin
images are in : cgi-bin/v8/htdocs/images

uploaded .cgi files in ASCII mode and chmod 755 them.

To check what I have what do you give for the following :

$resim_dizin This is the full path of the directory where you upload the content of the “v8/htdocs” folder in the zip file. No trailing slash. ( ex. /home/firidin/public_html/images )

; $resim_url = This is the URL equivalent of the “$resim_dizin” variable. No trailing slash. ( ex. http://www.ffileman.com/images )

; $ana_dizin = This is the full path of the directory which you want to be the base directory for the listing. If you set this variable to a non-public level such as /home/firidin than the script will not work properly. No trailing slash. ( ex. /home/firidin/public_html )

; $ana_url = This is the URL equivalent of the “$ana_dizin” variable. No trailing slash. ( ex. http://www.ffileman.com )

When calling https://protected.hypermart.net/rlw/cgi-bin/v8/bin/ffileman.cgi I get an error page come up.

Can’t locate Archive/Zip.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/i686-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/i686-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl /usr/local/lib/perl/5.8.4 /usr/local/lib/site_perl .) at /home/users/web/b1263/hy.rlw/cgi-bin/v8/bin/ffileman.cgi line 25.
BEGIN failed–compilation aborted at /home/users/web/b1263/hy.rlw/cgi-bin/v8/bin/ffileman.cgi line 25.

Is the script supposed to make Archive/Zip.pm ? If so can I make this manually?
Thanks so much for your help.
Rick Williams


#2

Hi Rick,

Sorry for the late post…

Perl can’t find this module:

Archive/Zip.pm

Have you used CPAN to install this module?

If so, have you set the path in your .bash_profile to your local install of the module?