[MacPorts] #24862: help2man: perl module Locale::gettext required (was: help2man install failure (sudo port -d upgrade outdated) on Snow Leopard)
MacPorts
noreply at macports.org
Wed May 12 21:58:51 PDT 2010
#24862: help2man: perl module Locale::gettext required
-------------------------------+--------------------------------------------
Reporter: dxjones@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.2
Keywords: | Port: help2man
-------------------------------+--------------------------------------------
Changes (by ryandesign@…):
* cc: dxjones@… (removed)
* cc: ryandesign@… (added)
* priority: High => Normal
* milestone: MacPorts 1.9.0 =>
* keywords: help2man =>
Old description:
> There is a problem related to "help2man".
>
> All commands fail when trying to update "help2man", including:
>
> # sudo port -d upgrade outdated
>
> # sudo port -d install sox
>
> Here is the debugging output:
>
> [code]
> ---> Configuring help2man
> DEBUG: Using compiler 'Mac OS X gcc 4.2'
> DEBUG: Executing org.macports.configure (help2man)
> DEBUG: Environment: CFLAGS='-O2 -arch x86_64'
> CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch x86_64'
> MACOSX_DEPLOYMENT_TARGET='10.6' PERL='/opt/local/bin/perl'
> CXX='/usr/bin/g++-4.2' F90FLAGS='-O2 -m64' LDFLAGS='-L/opt/local/lib'
> OBJC='/usr/bin/gcc-4.2' FCFLAGS='-O2 -m64' INSTALL='/usr/bin/install -c'
> OBJCFLAGS='-O2 -arch x86_64' FFLAGS='-O2 -m64' CC='/usr/bin/gcc-4.2'
> DEBUG: Assembled command: 'cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/help2man-1.37.1"
> && ./configure --prefix=/opt/local --enable-nls'
> checking for perl... /opt/local/bin/perl
> checking for module Locale::gettext... no
> checking for msgfmt... /opt/local/bin/msgfmt
> checking for gcc... /usr/bin/gcc-4.2
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> 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 /usr/bin/gcc-4.2 accepts -g... yes
> checking for /usr/bin/gcc-4.2 option to accept ISO C89... none needed
> checking for library containing dlsym... none required
> checking for library containing bindtextdomain... -lintl
> configure: error: perl module Locale::gettext required
> Error: Target org.macports.configure returned: configure failure: shell
> command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/help2man-1.37.1"
> && ./configure --prefix=/opt/local --enable-nls " returned error 1
> DEBUG: Backtrace: configure failure: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/help2man-1.37.1"
> && ./configure --prefix=/opt/local --enable-nls " returned error 1
> while executing
> "$procedure $targetname"
> Warning: the following items did not execute (for help2man):
> org.macports.activate org.macports.configure org.macports.build
> org.macports.destroot org.macports.install
> Error: Problem while installing help2man
> To report a bug, see <http://guide.macports.org/#project.tickets>
> [/code]
New description:
There is a problem related to "help2man".
All commands fail when trying to update "help2man", including:
# sudo port -d upgrade outdated
# sudo port -d install sox
Here is the debugging output:
{{{
---> Configuring help2man
DEBUG: Using compiler 'Mac OS X gcc 4.2'
DEBUG: Executing org.macports.configure (help2man)
DEBUG: Environment: CFLAGS='-O2 -arch x86_64'
CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch x86_64'
MACOSX_DEPLOYMENT_TARGET='10.6' PERL='/opt/local/bin/perl'
CXX='/usr/bin/g++-4.2' F90FLAGS='-O2 -m64' LDFLAGS='-L/opt/local/lib'
OBJC='/usr/bin/gcc-4.2' FCFLAGS='-O2 -m64' INSTALL='/usr/bin/install -c'
OBJCFLAGS='-O2 -arch x86_64' FFLAGS='-O2 -m64' CC='/usr/bin/gcc-4.2'
DEBUG: Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/help2man-1.37.1"
&& ./configure --prefix=/opt/local --enable-nls'
checking for perl... /opt/local/bin/perl
checking for module Locale::gettext... no
checking for msgfmt... /opt/local/bin/msgfmt
checking for gcc... /usr/bin/gcc-4.2
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
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 /usr/bin/gcc-4.2 accepts -g... yes
checking for /usr/bin/gcc-4.2 option to accept ISO C89... none needed
checking for library containing dlsym... none required
checking for library containing bindtextdomain... -lintl
configure: error: perl module Locale::gettext required
Error: Target org.macports.configure returned: configure failure: shell
command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/help2man-1.37.1"
&& ./configure --prefix=/opt/local --enable-nls " returned error 1
DEBUG: Backtrace: configure failure: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/help2man-1.37.1"
&& ./configure --prefix=/opt/local --enable-nls " returned error 1
while executing
"$procedure $targetname"
Warning: the following items did not execute (for help2man):
org.macports.activate org.macports.configure org.macports.build
org.macports.destroot org.macports.install
Error: Problem while installing help2man
To report a bug, see <http://guide.macports.org/#project.tickets>
}}}
--
Comment:
Please remember WikiFormatting, don't set the Milestone field for port
tickets, don't set ticket priorities to High. Note that you don't need to
Cc yourself.
It says it can't find Locale::gettext, but help2man does depend on the p5
-locale-gettext port. Is it installed and active?
Did you recently upgrade to Snow Leopard? If so, did you read and follow
the [wiki:Migration Migration] procedure?
--
Ticket URL: <http://trac.macports.org/ticket/24862#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list