|
CD for Perl won't run on Win7-64 and XAMPP |
Posted by Olev on Jan-16-2012 04:37 |
|
Hi Peter -
My configuration is:
Windows 7 Home Premium SP1 64-bit
Perl 5.10.1 included with XAMPP
chartdir_perl_win64.zip version 5.0.3
In the debugger, I get the error message:
Can't locate loadable object for module perlchartdir510mt in @INC (@INC contains:
C:\\Program Files (x86)\\ActiveState Komodo IDE 6\\lib\\support\\dbgp\\perllib
C:/xampp/perl/site/lib/ChartDirector/lib C:/xampp/perl/lib C:/xampp/perl/site/lib
C:/xampp/perl/lib C:/xampp/perl/site/lib .) at
C:/xampp/perl/site/lib/ChartDirector/lib/perlchartdir.pm line 9
...propagated at C:/xampp/perl/site/lib/ChartDirector/lib/perlchartdir.pm line 20.
Compilation failed in require at C:\\Users\\Olev\\Desktop\\splineline.pl line 2.
BEGIN failed--compilation aborted at C:\\Users\\Olev\\Desktop\\splineline.pl line 2.
What am I doing wrong here?
Thanks!
Olev |
Re: CD for Perl won't run on Win7-64 and XAMPP |
Posted by Peter Kwan on Jan-17-2012 02:08 |
|
Hi Olev,
Would you mind to double check if you are really using 64-bit Perl? (Try "perl -V")
Although you are using 64-bit Windows, it is possible the Perl from your XAMPP is 32-bit, because 64-bit Windows can also run 32-bit programs. In 64-bit Windows, 32-bit programs may install at "C:\\Program Files (x86)" (64-bit programs should install at "c:\\Program Files"), and in your case, your "ActiveState Komodo IDE 6" does install at "C:\\Program Files (x86)". It is not sure if your XAMPP is 32-bit or 64-bit by looking at the directory, as it is neither in "C:\\Program Files (x86)" nor "c:\\Program Files".
If your Perl is 32-bit, it would not be capable of loading 64-bit Perl extension. In this case, please use the 32-bit Perl extension instead (ChartDirector for Perl for Win32).
If the above still cannot solve the problem, would you mind to inform me of the following information?
(a) The result of "perl -V" for the Perl interpreter that you are using.
(b) Open a command shell, then issue the following command. Please kindly inform me of the result.
cd c:/xampp/perl/site/lib/ChartDirector/lib
dir
Regards
Peter Kwan |
Re: CD for Perl won't run on Win7-64 and XAMPP |
Posted by Olev on Jan-20-2012 14:54 |
|
That was it, Peter. I thought that the installer for XAMPP had loaded 64 bit Perl.
I might have had an easier time detecting the problem if there had been some sort of error
message, but from the command line it just returned silently.
Thanks again! |
|