Subject: pkg/7422: perl-package doesn't create/install/comes with perl-header files
To: None <>
From: None <Thilo.Manske@HEH.Uni-Oldenburg.DE>
List: netbsd-bugs
Date: 04/19/1999 10:35:59
>Number:         7422
>Category:       pkg
>Synopsis:       Missing *.ph files after perl-5.00404 installation
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 19 10:35:00 1999
>Originator:     Thilo Manske
Dies ist Thilos Unix Signature! Viel Spass damit.
>Release:        1.3.3 and -current
System: NetBSD WintelKiller 1.4_ALPHA NetBSD 1.4_ALPHA (WintelKiller) #104: Mon Apr 12 04:56:07 MEST 1999 root@WintelKiller:/usr/src/sys/arch/i386/compile/WintelKiller i386
And: NetBSD 1.3.3 (HEHOL) #22: Fri Mar 19 04:11:34 MET 1999     thilo@Server:/usr/src/sys/arch/i386/compile/HEHOL i386

Some perl modules need Perl header files (*.ph), eg. Sys::Syslog.
Perl header files are "perlified" c-header files and can be created and
installed with h2ph wich comes with Perl.

perl -e 'use Sys::Syslog'

A quick hack would be the addition of
  cd /usr/include
  ${LOCALBASE}/bin/h2ph * sys/* machine/*
to Makefile/post-install but those files won't get deinstalled with
pkg-delete I guess...

Maybe a little warning at the end of installation will be enough, something
like: "You will have to create some Perl header files manually to get all Perl
modules working. See h2ph(1)."