From: tcbarrett <tcbarr...@gmail.com>
Date: Wed, 4 Feb 2009 02:30:48 -0800 (PST)
Local: Wed, Feb 4 2009 5:30 am
Subject: Unable to open '/../../lib/Storable.pm' for reading: No such file or directory.
NYTProf version:
## $Id: NYTProf.pm 665 2009-01-05 23:05:37Z tim.bunce $ our $VERSION = '2.07'; Running on MacOSX, Perl 5.8.9
Most of my time is spent in Storable
Detail
I've tried adding nytprofhtml --lib /opt/local/lib/perl5/5.8.9/
Any suggestions on where to go from there? You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
From: Adam Kaplan <akap...@nytimes.com>
Date: Wed, 4 Feb 2009 09:08:56 -0500
Local: Wed, Feb 4 2009 9:08 am
Subject: Re: [develnytprof-dev: 1052] Unable to open '/../../lib/Storable.pm' for reading: No such file or directory.
Off the top if my head, and without access to the code, I'd guess the
path to Storable.pm is the problem. The prefix "../../lib" added to the library include path you provided would result in something like "perl/lib/lib/" It's been a while since I looked at this stuff and I am on a train.
On 02/04/2009, tcbarrett <tcbarr...@gmail.com> wrote:
Adam J. Kaplan Duct Tape Specialist & Software Engineer The New York Times Company You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
From: Tim Bunce <Tim.Bu...@pobox.com>
Date: Thu, 5 Feb 2009 15:47:56 +0000
Local: Thurs, Feb 5 2009 10:47 am
Subject: Re: [develnytprof-dev: 1053] Re: Unable to open '/../../lib/Storable.pm' for reading: No such file or directory.
It's caused by AutoSplit being run on Storable.pm before it's installed
by perl. AutoSplit adds #line directives to the auto-split files but those #line directives have relative paths that bear little relation to where the files end up. It's probably possible to work-around it. If someone wants to volunteer
Tim.
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
From: Nicholas Clark <n...@ccl4.org>
Date: Fri, 6 Feb 2009 15:49:14 +0000
Local: Fri, Feb 6 2009 10:49 am
Subject: Re: [develnytprof-dev: 1056] Re: Unable to open '/../../lib/Storable.pm' for reading: No such file or directory.
On Thu, Feb 05, 2009 at 03:47:56PM +0000, Tim Bunce wrote: Going forwards, it should also be possible to improve AutoSplit to solve > It's caused by AutoSplit being run on Storable.pm before it's installed > It's probably possible to work-around it. If someone wants to volunteer this properly. But it would require passing in the correct final install location to it. The code is here: http://perl5.git.perl.org/perl.git/blob/HEAD:/lib/AutoSplit.pm Nicholas Clark You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
From: tcbarrett <tcbarr...@gmail.com>
Date: Thu, 5 Mar 2009 05:00:06 -0800 (PST)
Local: Thurs, Mar 5 2009 8:00 am
Subject: Re: Unable to open '/../../lib/Storable.pm' for reading: No such file or directory.
I have just built a CentOS box, and am having the same problems.
I'd be happy to volunteer what little skills I have. On Feb 5, 3:47 pm, Tim Bunce <Tim.Bu...@pobox.com> wrote:
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
From: Coke <wcol...@gmail.com>
Date: Thu, 5 Mar 2009 13:21:37 -0800 (PST)
Local: Thurs, Mar 5 2009 4:21 pm
Subject: Re: Unable to open '/../../lib/Storable.pm' for reading: No such file or directory.
Anyone have a workaround for the Storable issue yet? (I have the same
issue with a fresh 5.10 install on OS X 10.4.11) I am able to generate an nytprof.out file, but get a similar Storable
Tim - any guidance welcome.
--
On Feb 5, 10:47 am, Tim Bunce <Tim.Bu...@pobox.com> wrote:
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
| ||||||||||
From: Tim Bunce <Tim.Bu...@pobox.com>
Date: Thu, 5 Mar 2009 23:16:55 +0000
Local: Thurs, Mar 5 2009 6:16 pm
Subject: Re: Unable to open '/../../lib/Storable.pm'
On Thu, Mar 05, 2009 at 01:21:37PM -0800, Coke wrote:
You and 'tcbarrett' seem keen, great!
> Anyone have a workaround for the Storable issue yet? (I have the same
> I am able to generate an nytprof.out file, but get a similar Storable
> Tim - any guidance welcome.
Here's a summary of the problem and what we can do about it...
AutoLoader (or rather, AutoSplit, http://search.cpan.org/perldoc?AutoSplit)
From NYTProf's perspective, with trace=2, we see this sequence of fids
> New fid 2 (after 1:7 ) 2 e0:0 /usr/lib/perl5/5.8.8/i386-linux-thread-multi/POSIX.pm (there are two paths on that last line because the filename perl has is
> New fid 5 (after 3:159 ) 2 e0:0 /usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/POSIX/autosplit.ix > New fid 6 (after 3:961 ) 2 e0:0 ../../lib/POSIX.pm /tmp/t/../../lib/POSIX.pm relative, so NYTProf tries to determine the absolute path by prepending the current working directory.) I'll ignore the autosplit.ix as it's not a problem.
The problem is that the foo.al files contain a #line directive like
So NYTProf see the filename as
What we really want to happen is for get_file_id() in NYTProf.xs to
A slight complication is that get_file_id needs to be _very_ fast.
Here's a sketch of the steps I'd take (possibly wrong and probably
[... deleted ...]
I did write it out but then I figured it would be easier to do the
See r694
Now all you need to do is write find_autosplit_parent() :-)
That needs to iterate over the hash, like write_cached_fids() does,
I guess you can decide between yourselves who writes the code and who
Tim.
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
From: Will Coleda <w...@coleda.com>
Date: Tue, 10 Mar 2009 14:27:06 -0400
Local: Tues, Mar 10 2009 2:27 pm
Subject: Re: [develnytprof-dev: 1095] Re: Unable to open '/../../lib/Storable.pm'
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
From: Tim Bunce <Tim.Bu...@pobox.com>
Date: Thu, 12 Mar 2009 10:17:56 +0000
Local: Thurs, Mar 12 2009 6:17 am
Subject: Re: [develnytprof-dev: 1133] Re: Unable to open '/../../lib/Storable.pm'
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
From: Will Coleda <w...@coleda.com>
Date: Thu, 12 Mar 2009 09:27:53 -0400
Local: Thurs, Mar 12 2009 9:27 am
Subject: Re: [develnytprof-dev: 1138] Re: Unable to open '/../../lib/Storable.pm'
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
| Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy |
| ©2013 Google |