in reply to What are .ph and .al files for ?

.ph files are produced from C header files by the h2ph utility. They are perl files which have #defines, constants and whatever else perl may use translated into perl. The are important for using the syscall builtin.

.al files are produced by AutoSplit and used by AutoLoader. They also contain small perl wrappers for library calls.

After Compline,
Zaxo

Replies are listed 'Best First'.
Re^2: What are .ph and .al files for ?
by Anonymous Monk on Aug 12, 2004 at 13:16 UTC
    Thanks Zaxo, I can now read up on what's going on there.
Re^2: What are .ph and .al files for ?
by Anonymous Monk on Aug 13, 2004 at 01:44 UTC
    Okay, I installed all the modules I need and ran h2ph in /usr/lib.
    If displays require '_h2ph_pre.ph'; and no warnings 'redefine'; then hangs.
    ????????? I can't find any explanations online, there seem to have been packages referring to it in RPMFind in the past but the links are dead.
      It's not hanging. It's waiting for you to type something because you ran it with no arguments and it defaults to reading from STDIN. If you want to convert C header files you should
      • be in /usr/include
      • run "h2ph *"
      Running "man h2ph" would have told you this.
        Thanks, h2ph * works fine. I was in fact in /usr/include before, but h2ph -r -l still hangs. What does * do that's different |?