Maybe I'm misreading the path in the OP, but it looks just as likely that
the @INC path is missing "/usr/libdata/perl5/site_perl/i386-openbsd/" as it
is that "/usr/libdata/perl5/site_perl/i386-openbsd/sys/ttycom.ph" is
missing.

In any case, should be fairly straightforward to determine which is the
problem.

On Mon, Jun 16, 2008 at 10:07 AM, Philip Guenther <[EMAIL PROTECTED]>
wrote:

> On Mon, Jun 16, 2008 at 10:18 AM, Etienne Robillard
> <[EMAIL PROTECTED]> wrote:
> > I'm using OpenBSD 4.3 with Perl 5.8.8, but somehow
> > I cannot remove packages anymore:
> >
> > $ sudo pkg_delete -F dependencies opera-9.27
> > Can't locate sys/ttycom.ph in @INC (did you run h2ph?) (@INC contains:
> /usr/libdata/perl5/i386-openbsd/5.8.8
> /usr/local/libdata/perl5/i386-openbsd/5.8.8 /usr/libdata/perl5
> /usr/local/libdata/perl5 /usr/local/libdata/perl5/site_perl/i386-openbsd
> /usr/libdata/perl5/site_perl/i386-openbsd /usr/local/libdata/perl5/site_perl
> /usr/libdata/perl5/site_perl /usr/local/lib/perl5/site_perl .) at
> /usr/libdata/perl5/OpenBSD/ProgressMeter.pm line 49.
> >
> > Any ideas what could cause this, or do I need to recompile Perl
> > from the base distribution ?
>
> The necessary file is part of the base install:
>
> $ tar tzf base43.tgz  | grep ttycom.ph
> ./usr/libdata/perl5/site_perl/i386-openbsd/sys/ttycom.ph
>
> (So something running as root removed a file that it shouldn't have.)
>
>
> Philip Guenther
>
>


-- 
Systems Programmer, Principal
Electrical & Computer Engineering
The University of Arizona
[EMAIL PROTECTED]

Reply via email to