unable to make package for php-5.2.10

Stephen Montgomery-Smith stephen at missouri.edu
Sun Jul 12 18:28:59 UTC 2009

Anton - Valqk wrote:
> Hello everyone,
> I'm trying to portmaster -g php\* but I got error.
> I've tested to build package with
> make install package in /usr/ports/lang/php5
> same thing.
> I get:
> tar: man/man1/php-config.1.gz: Cannot stat: No such file or directory
> tar: man/man1/php.1.gz: Cannot stat: No such file or directory
> tar: Error exit delayed from previous errors.
> pkg_create: make_dist: tar command failed with code 256
> I've tried to make distclean php and refetch it - same stuff.
> It won't put in place these files.
> Is anyone aware of this problem and is there any simple solution?

Whenever I get a problem like this, I cheat.  I type
touch /usr/local/man/man1/php-config.1.gz
touch /usr/local/tar: man/man1/php.1.gz
or a variation thereof before doing the "make package" again.

More information about the freebsd-ports mailing list