This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

understanding effects of moving addons from site_perl to vendor_perl


It's been a few weeks since I've used perl on my Win machine, but
noticed an error message about inability to find Win32.pm in my path
just for starting up perl.

It turned out in my env, I had one of the lib dirs set to /usr/local/lib/perl/5.8
and had it autoloading (not quite sure why at this point) the Win32.pm module
with "PERL5OPT=-MWin32".


Looking for Win32.pm, I find 3 copies and a 4th name-related copy:

/lib/perl5/5.8.5/ExtUtils/MM_Win32.pm
/lib/perl5/5.8.5/File/Spec/Win32.pm
/lib/perl5/site_perl/5.8.2/cygwin-thread-multi-64int/Win32.pm
/usr/local/lib/perl/5.8/URI/file/Win32.pm

Assuming I wanted to have the same autoload procedure in effect working,
what directory should be included?

One problem I see on my system seems to be that the perl distro's INC
path doesn't seem to include the 5.8.2 version files:

Can't locate Win32.pm in @INC (@INC contains: /usr/lib/perl5/5.8.5/cygwin-thread
-multi-64int /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/cygwin-thread-m
ulti-64int /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl
5/vendor_perl/5.8.5/cygwin-thread-multi-64int /usr/lib/perl5/vendor_perl/5.8.5 /
usr/lib/perl5/vendor_perl .).
BEGIN failed--compilation aborted.


Shouldn't the perl library and perl interpreter be at the same version?

Is this a mistake or is the library "behind" the interpreter?  I didn't
choose "experimental" releases, so I would have expected stuff in the main
line to work together, is this just happenstance?

Thanks,
-linda




-- In the marketplace of "Real goods", capitalism is limited by safety regulations, consumer protection laws, and product liability. In the computer industry, what protects consumers (other than vendor good will that seems to diminish inversely to their size)?



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]