Opened 13 years ago

Closed 12 years ago

#29998 closed defect (duplicate)

help2man: can't upgrade

Reported by: dave@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: help2man

Description

Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details)
Log for help2man is at: /opt/local/var/macports/logs/_Volumes_Disco2_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/main.log
Error: Unable to upgrade port: 1
To report a bug, see <http://guide.macports.org/#project.tickets>
pluto:~ dave% tail /opt/local/var/macports/logs/_Volumes_Disco2_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/main.log
...
pluto:~ dave% 
pluto: dave% sudo -s
pluto:/Volumes/Disco2/opt/local/var/macports/build/_Volumes_Disco2_opt_local_var_macports_sources_rsync.macports.org_release_ports_elp2man/work/help2man-1.39.3" && ./configure --prefix=/opt/local --enable-nls
checking for perl... perl
checking for module Locale::gettext... no
checking for msgfmt... /usr/local/MacGPG2/bin/msgfmt
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for library containing dlsym... none required
checking for library containing bindtextdomain... no
configure: error: perl module Locale::gettext required

Change History (3)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Port: help2man added
checking for msgfmt... /usr/local/MacGPG2/bin/msgfmt

I'm not certain this is the only thing wrong, but you definitely have things in /usr/local that are interfering with the build. You should remove or rename /usr/local, clean the affected port, and try again.

sudo mv /usr/local /usr/local-off
sudo port clean help2man

comment:2 Changed 12 years ago by jmroot (Joshua Root)

This may be a duplicate of #32171. Does this problem still occur now that that's fixed? (Assuming removing /usr/local from the equation didn't help.)

comment:3 Changed 12 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed

Assuming duplicate.

Note: See TracTickets for help on using tickets.