From: Mark E. P. <me...@si...> - 2008-08-19 00:09:50
|
On 2008/08/18 08:35, JimMH wrote: > After doing some digging on this the solution to this seems to be fairly > straightforward. I may need to fiddle with the details but my basic plan is > to: > > Locate .h files with the same name, i.e. 'locate ttycom' for files on my > system or download them. > > Copy the files to a location included in @INC @INC has no role to play w.r.t. to locating .h files (i.e., items in @INC do not determine where h2ph looks for things; h2ph looks where your C compiler expects to find things or where specifically tell it to look). > > Run h2ph on the files to generate the needed .ph files Try 'h2ph -r' or 'h2ph -a' (check out 'man h2ph' for explanation why). In short, there's no compelling reason NOT to just generate .ph files for everything. Having them won't hurt anything, but missing something important by generating only specific ones can be. HTH, Mark |