On Sat, 05 Jan 2008, Octavian Rasnita wrote:
> I've tried to install ActivePerl-5.8.8.820-MSWin32-x86-274739.msi under
> Windows XP, but after the installation process finished successfully, I've
> seen that under the site/lib directory there is a single file named
> sitecustomize.pl.
That is correct. All bundled modules are installed into the lib tree and the
site/lib tree is initially empty. The order of lib and site/lib have also been
reversed so that site/lib will be searched first.
This will make it possible to update any of the bundled modules by installing
newer versions into site/lib without overwriting the bundled modules.
[...]
> Well, I have VS.net 2005 and VS 6 installed, and I think perl should have
> asked me if I want to choose other settings, but it didn't do that. Well, I
> don't need those settings, but I've seen that it doesn't ask me anymore so
> there should be something strange here.
ActivePerl will locate your C compiler using the PATH, so you need to
invoke vcvars32 or vsvars32 or whatever the script is called in VS2005
to set up PATH, LIB and INCLUDE for your compiler before you build additional
XS modules locally.
> I put Windows to make all the updates so I think some of them might have
> done something that doesn't allow me to install perl correctly.
>
> Do you have any idea if I can do something to make it work?
What exactly seems to be broken? So far everything seems to be as it should.
[...]
> search_paths: Can't open E:\usr\site\lib\Config\Any\E:\INI.pm: Invalid
> argument at E:/usr/site/lib/Module/Pluggable/Object.pm line 162.
> Compilation failed in require at E:/usr/site/lib/Catalyst/Test.pm line 90.
> BEGIN failed--compilation aborted at E:\web\MyTest\script\mytest_test.pl
> line 9.
Config::Any is not part of ActivePerl; it sounds like it is not being
used correctly.
> And when I've tried to install Catalyst::Runtime it gave some errors, like:
>
> Can't locate Win32.pm in @INC (@INC contains:
> E:\usr\cpan\build\Catalyst-Runtime-5.7012\blib\lib
> E:\usr\cpan\build\Catalyst-Runtime-5.7012\blib\arch) at E:/usr/lib/Cwd.pm
> line 663.
It looks like @INC is missing all the standard locations ('E:\usr\site\lib',
'E:\usr\lib' and '.' in your case).
> BEGIN failed--compilation aborted.
>
> ...although I know that I have the module Win32.pm.
Yes, it should be in 'E:\usr\lib\Win32.pm'.
Cheers,
-Jan
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs