Opened 13 years ago

Closed 13 years ago

#29668 closed defect (duplicate)

p5-locale-gettext won't install

Reported by: oscarbranson@… Owned by: l2g@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: p5-locale-gettext

Description

I'm trying to install p5-locale-gettext, and I keep getting:

--->  Computing dependencies for p5-locale-gettext
--->  Fetching p5-locale-gettext
--->  Verifying checksum(s) for p5-locale-gettext
--->  Extracting p5-locale-gettext
--->  Applying patches to p5-locale-gettext
--->  Configuring p5-locale-gettext
Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details)
Log for p5-locale-gettext is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-locale-gettext/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

I've tried: sudo port clean p5-locale-gettext (made no difference) sudo port -n upgrade --force perl5.8 perl5 (made no difference)

port installed perl5.8 perl5 gives:

The following ports are currently installed:
  perl5 @5.8.9_0
  perl5 @5.12.3_1+perl5_12 (active)
  perl5.8 @5.8.9_3+universal
  perl5.8 @5.8.9_4+universal (active)

which perl gives:

/opt/local/bin/perl

perl --version gives:

This is perl 5, version 12, subversion 3 (v5.12.3) built for darwin-multi-2level

Copyright 1987-2010, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

The log output for the error is:

:info:configure checking for gettext... no
:info:configure checking for gettext in -lintl...gettext function not found. Please install libintl at Makefile.PL line 18.
:info:configure  no
:info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-locale-gettext/work/gettext-1.05" && /opt/local/bin/perl Makefile.PL INSTALLDIRS=vendor " returned error 2
:error:configure Target org.macports.configure returned: configure failure: shell command failed (see log for details)
:debug:configure Backtrace: configure failure: shell command failed (see log for details)
    while executing
"$procedure $targetname"
:info:configure Warning: the following items did not execute (for p5-locale-gettext): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
:notice:configure Log for p5-locale-gettext is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-locale-gettext/main.log

I don't know what much of this is about, I've just followed other people's suggestions on forums... can anyone enlighten me?

Change History (2)

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

Owner: changed from macports-tickets@… to l2g@…
Port: p5-locale-gettext added

This problem ("checking for gettext in -lintl...gettext function not found") has been reported many many times before (see previous tickets).

comment:2 Changed 13 years ago by l2g@…

Resolution: duplicate
Status: newclosed

First raised in #28789.

Note: See TracTickets for help on using tickets.