develooper Front page | perl.qa | Postings from October 2008

Re: Can't locate version/vpp.pm in @INC

Thread Previous
From:
Randy J. Ray
Date:
October 15, 2008 01:51
Subject:
Re: Can't locate version/vpp.pm in @INC
Message ID:
35cda21d0810141920tc800ab0kebd26796df027d24@mail.gmail.com
On Thu, Sep 11, 2008 at 12:40 PM, Nicholas Clark <nick@ccl4.org> wrote:

> On Thu, Sep 11, 2008 at 12:34:18PM -0700, Randy J. Ray wrote:
> > * I built/updated version using the system-installed Perl
> > * I tried to use it from a second perl interpreter on the same system
> > * Second perl was no binary compatible (in this case, non-threaded vs.
> > threaded)
> > * As such, version.pm loaded but could not load the XS portion
>
> But that shouldn't happen, because modules containing XS should be
> installed
> to an architecture specific path, and the architecture name used differs
> for threaded versus unthreaded.
>

I might not have been clear-- when version was installed, it installed the
XS version and thus did not install the pure-perl version. When the second
interpreter tried to load it, it could not load the XS (because it was
tucked away in a different path). However, since the installation didn't
install the pure-perl version, it couldn't find it to fall back on. I had to
re-install it, forcing the build/install process to install the pure-perl
version.
(Of course, this was the point at which I learned that the two interpreters
were not in fact binary-compatible as I'd been told, so I made other
adjustments to the greater scope that have since rendered this specific
problem moot.)

Randy
-- 
Randy J. Ray / randy.j.ray@gmail.com
Silicon Valley Scale Modelers: http://www.svsm.org
Sunnyvale, CA


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About