Subject: info/dir is empty with pkg_install-info
To: None <>
From: Jeremy C. Reed <>
List: tech-pkg
Date: 08/20/2003 11:27:36
My LOCALBASE is /usr. (And this is under Linux.)

I installed gmake and it installed dependency pkg_install-info-4.5nb2.

The gmake install said:

 install-info: /usr/info/dir: empty file

That file is zero bytes.

I can repeat that error with:
  pkg_install-info --info-dir=/usr/info /usr/info/

It should probably install a skeleton info/dir if it doesn't exist. (I
added one and it worked.)

I may send-pr this once I get some comments.

And today I installed gcc3-c and gcc3-c++ and the /usr/info/dir file is
still empty. I see that the INSTALL script has INFO_DIR="gcc3/info". I see
that the /usr/gcc3/info/dir is 782 bytes.

How does info(1) know about the /usr/gcc3/info/*.info files?

Maybe gcc3* should use --dir-file=${LOCALBASE}/info/dir ??

(I notice that package pkg_install-info has no documentation installed. It
may be useful if a share/doc/pkg_install-info/README or manual page for
pkg_install-info(1) was installed.)

   Jeremy C. Reed