Opened 15 years ago

Closed 15 years ago

#23055 closed defect (duplicate)

help2man install fails to find -lintl during staging

Reported by: macports-trac@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc: allencmcbride@…
Port: help2man

Description (last modified by mf2k (Frank Schima))

port install help2man is failing to on my MacBook Intel running OS X 10.6.2. Config and build are OK, but I get the following during staging. /opt/local/lib contains libintl.8.0.2.dylib, libintl.a, and libintl.la, and the portfile header line is "# $Id: Portfile 62056 2009-12-28 16:35:00Z nox@… $".

--->  Staging help2man into destroot
Error: Target org.macports.destroot returned: 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" && /usr/bin/make install DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/destroot " returned error 2
Command output: ./mkinstalldirs /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/destroot/opt/local/bin
./mkinstalldirs /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/destroot/opt/local/lib
./mkinstalldirs /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/destroot/opt/local/share/man/man1
./mkinstalldirs /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/destroot/opt/local/share/info
/usr/bin/install -c help2man /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/destroot/opt/local/bin
/usr/bin/install -c -m 644 ./help2man.1 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/destroot/opt/local/share/man/man1
/usr/bin/install -c -m 644 ./help2man.info \
	    /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/destroot/opt/local/share/info/help2man.info
if test -f /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/destroot/opt/local/share/info/dir; \
	then \
	    /opt/local/bin/install-info --info-dir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/destroot/opt/local/share/info \
		./help2man.info; \
	fi
/usr/bin/gcc-4.2  -o bindtextdomain.so -fPIC -bundle bindtextdomain.c -lintl 
ld: library not found for -lintl
collect2: ld returned 1 exit status
make: *** [bindtextdomain.so] Error 1

Error: Status 1 encountered during processing.

Change History (9)

comment:1 Changed 15 years ago by allencmcbride@…

Cc: allencmcbride@… added

Cc Me!

comment:2 Changed 15 years ago by reid@…

I'm having problems with this port as well. Though the build isn't working for me. I'm getting:

configure: error: perl module Locale::gettext required

comment:3 Changed 15 years ago by motya@…

I'm having problems with this port as well. Though the build isn't working for me. I'm getting:

configure:
....
checking for library containing bindtextdomain... no
configure: error: bindtextdomain() required

Error: Unable to upgrade port: 1
Error: Unable to execute port: upgrade autoconf failed

comment:4 Changed 15 years ago by motya@…

Sorry, it was something about universal port... full uninstallation of gettext and help2man solved the problem.

comment:5 Changed 15 years ago by reid@…

Perhaps. But, yesterday the universal variant of help2man worked. So, something has happened between then and now.

comment:6 Changed 15 years ago by reid@…

I commented out:

configure.args --enable-nls

In Portfile and it worked as it should have.

I would request that this be a variant instead of a default.

comment:7 Changed 15 years ago by trehune@…

Works today after port clean help2man and port selfupdate.

comment:8 Changed 15 years ago by mf2k (Frank Schima)

Description: modified (diff)
Port: help2man added

comment:9 Changed 15 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed

Duplicate of #23050, please search before filing new tickets.

Note: See TracTickets for help on using tickets.