FreeBSD: help2man perl module Locale::gettext required

This memo page is an English version of previous Japaese page. Some foreign people are accessing my page. So I added this page as English version. But not complete same as Japanese page.

I’m using portsnap maintenance while midnight automatically, and found “help2man” module was updated.

help2man-1.43.3             <  needs updating (port has 1.43.3_1)

I ordinary updated it by portupgarde command, then an error appeared as following.

checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for library containing dlsym... none required
checking for library containing bindtextdomain... none required
configure: error: perl module Locale::gettext required
===> Script "configure" failed unexpectedly.
Please report the problem to sunpoet@FreeBSD.org [maintainer] and attach the
"/usr/ports/misc/help2man/work/help2man-1.43.3/config.log" including the
output of the failure of your make command. Also, it might be a good idea to
provide an overview of all packages installed on your system (e.g. a
/usr/sbin/pkg_info -Ea).
*** Error code 1

Stop in /usr/ports/misc/help2man.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20131125-22851-3dwfbb env UPGRADE_TOOL=portupgrade UPGRADE_PORT=help2man-1.43.3 UPGRADE_PORT_VER=1.43.3 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! misc/help2man (help2man-1.43.3) (configure error)

“Locale::gettext” is not existing???
I believe gettext has been installed when I started this machine.

I tried to confirm if it is really existing. Executing “pkg_info” command from keyboard and confirmed the result. It already installed! Why is that error happened?

p5-Locale-gettext-1.05_3 Message handling functions

I suddenly remember the description of ports/UPDATING text. Some months ago, FreeBSD Perl modules directory structiure has been big changed.
The locale::gettext module may be leaving old structure directory…..

I tried that deleting the gettext and reinstall.

# cd devel/p5-Locale-gettext
# make deinstall reinstall clean

After this operation and tried again “portupgrade help2man-1.43.3”, help2man was build without any errors.

コメントを残す