On Mon, 16 Jun 2008 11:07:33 -0600
"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

Hi Philip,

Hm... I don't have the base43.tgz package since I recompiled the whole base 
system
from a previous release. 

$ locate ttycom.ph
/usr/libdata/perl5/site_perl/i386-openbsd/sys/ttycom.ph

$ cd /usr/include; h2ph -r -l .

Now it works but for some reasons I had to run h2ph as
above. Otherwise 'locate' would find the file but apparently
it was still not in a usable state.

Thanks!
Etienne

Reply via email to