Jonathan wrote:

> Please could you help me, or put me in the right direction. 
> I set up my perl-cgi script on my windows computer, it uses the DBD::CSV.  
> All works well on my computer, but the moduels were not available on the server's 
>(unix) computer.

>  So I set up a directory in my CGI-Bin and uploaded the modules


Only some perl modules can be simply copied to a new directory.  Any 
module that includes compiled C (known as XS) will *need* to be compiled 
and not just copied.  In most cases it is best to use the CPAN module to 
install since it will install  not only the module but also everything 
required for the module.  If you can't do that, then start out by (big 
surprise coming) READING the README file.

The README for DBD::CSV mentions the prerequisites for DBD::CSV as 
SQL::Statement, DBI, and Text::CSV_XS.  These modules should be 
installed from CPAN either using the CPAN module or using the ftp/make 
process described in the README file.  You definitiely can NOT just copy 
the files for DBI and Text::CSV_XS, they must be compiled for the 
platform you are using them on.  If you absolutely can't compile modules 
on your platform you should really get a different ISP but if you can't 
do that, you can try to get pre-compiled binaries for the needed modules 
..  If you can't do that then you might want to switch to DBD::AnyData 
which works very similarly to DBD::CSV and does not have components that 
require compiling.

-- 
Jeff

Reply via email to