ActiveState Powered by ActiveState

ActiveState Community


Perl Tutorial in Komodo

Posted by rudirame on 2008-01-05 02:16
OS: Windows

I just down loaded the KomodoIDE trial. I really want to learn perl. I have ActivePerl 5.10.0 build 1001 installed on my system. I tried out the perl tutorial that's included in the program. I followed it to the T (even successfully installing The Text::CSV_XS Perl module using ppm. However, I am unable to build the tutorial project. I keep getting a compilation error. It keeps complaining about the 4th line of the parse.pl file:

use Text::CSV_XS;

The exact build error message is the following:

Can't load 'C:/Perl/site/lib/auto/Text/CSV_XS/CSV_XS.dll' for module Text::CSV_XS: load_file:The specified module could not be found at C:/Perl/lib/DynaLoader.pm line 203.
at C:\Documents and Settings\Lisedey\Application Data\ActiveState\KomodoIDE\4.2\samples\perl_tutorials\parse.pl line 4
Compilation failed in require at C:\Documents and Settings\Lisedey\Application Data\ActiveState\KomodoIDE\4.2\samples\perl_tutorials\parse.pl line 4.
BEGIN failed--compilation aborted at C:\Documents and Settings\Lisedey\Application Data\ActiveState\KomodoIDE\4.2\samples\perl_tutorials\parse.pl line 4.

I have spent quite a bit of time trying to figure out what is wrong, but haven't had any luck. Any suggestions on how to go about fixing this would be greatly appreciated.

ericp | Mon, 2008-01-07 13:09

Here's what I see in my directory after doing the ppm install:

c:\Perl\site\lib\auto\Text\CSV_XS>dir
 Volume in drive C has no label.
 Volume Serial Number is 42BF-20F8

 Directory of c:\Perl\site\lib\auto\Text\CSV_XS

01/07/2008  12:07 PM              .
01/07/2008  12:07 PM              ..
01/07/2008  12:07 PM               256 .packlist
01/07/2008  12:07 PM                 0 CSV_XS.bs
01/07/2008  12:07 PM            28,790 CSV_XS.dll
01/07/2008  12:07 PM               812 CSV_XS.exp
01/07/2008  12:07 PM             2,180 CSV_XS.lib
               5 File(s)         32,038 bytes
               2 Dir(s)  183,764,942,848 bytes free

rudirame | Mon, 2008-01-07 21:50

C:\Perl\site\lib\auto\Text\CSV_XS>dir
Volume in drive C has no label.
Volume Serial Number is E0E6-A37A

Directory of C:\Perl\site\lib\auto\Text\CSV_XS

01/04/2008 04:28 PM .
01/04/2008 04:28 PM ..
01/04/2008 04:28 PM 256 .packlist
01/04/2008 04:28 PM 0 CSV_XS.bs
01/04/2008 04:28 PM 17,920 CSV_XS.dll
01/04/2008 04:28 PM 812 CSV_XS.exp
01/04/2008 04:28 PM 1,956 CSV_XS.lib
5 File(s) 20,944 bytes
2 Dir(s) 22,323,245,056 bytes free

Looks like my CSV_XS.dll and CSV_XS.lib are smaller in size. Do you think that might have something to do with it? I have tried to install the module again but it says that I have no missing modules to install. Any suggestions...???

~RDR

ericp | Tue, 2008-01-08 11:41

And can you run the tutorial program from the command-line?
If not, it isn't going to run within Komodo.

rudirame | Wed, 2008-01-09 19:36

And No. I can't run the tutorial from the command line. I enter parse.pl from the command line and I get the following error message:

This application has failed to start because MSVCR71.dll was not found. Re-installing the application may fix this problem.

I have tried reinstalling the program, however the same files still come up in the re-installed application. I think I am just going to move on and try different applications programming in perl. I was able to run some other examples ok. I just thought that the tutorial example was pretty cool. I appreciate you giving me a helping hand though.

Cheers,

~RDR

-->