Skip Menu |

This queue is for tickets about the perlindex CPAN distribution.

Report information
The Basics
Id: 16371
Status: open
Priority: 0/
Queue: perlindex

People
Owner: ULPFR [...] cpan.org
Requestors: jpierce [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.500
Fixed in: (no value)



Trying to look at what had been indexed I did perlindex camel, selected option 1 (perlbook) And: Running pod2man /mit/belg4mit//afs/.athena.mit.edu/contrib/perl5/arch/share/perl5.8.4/pod/perlbook.pod Can't open /mit/belg4mit//afs/.athena.mit.edu/contrib/perl5/arch/share/perl5.8.4/pod/perlbook.pod for reading: No such file or directory at /mit/belg4mit/arch/sun4x_59/bin/pod2man line 60 It apparently makes some assumptions about directory structure, it's also not clear why it doesn't use the existing man pages... or use perldoc
[JPIERCE - Thu Dec 8 20:37:19 2005]: /mit/belg4mit//afs/.athena.mit.edu/contrib/perl5/arch/share/perl5.8.4/pod/perlbook.pod perlindex is a very simple demo program. It traverses the file system and creates adn index for the fiels it finds. If you move the files after the indexing run you are out of luck. AFS seems to do just that. If you use some permament path names in the index run you should be fine. If my guesses about your problem were wrong, please provide more information about how exactly you arrived at the problem. Ulrich
You may also may run into a bug reported by another user. When indexing files outside the configured prefix the prefix is added before trying to display the file. Here is a workaround: --- orig/perlindex.PL +++ mod/perlindex.PL @@ -372,7 +372,7 @@ system 'man', $sect, $page; } else { my ($path) = ($selection =~ m:(\S+)$:); - $path = $prefix.'/'.$path; + $path = $prefix.'/'.$path unless -f $path; print STDERR "Running pod2man $path\n"; system "pod2man --official $path | $nroff -man | $pager"; }