Opened 15 years ago

Closed 15 years ago

#21215 closed defect (duplicate)

Configuring p5-locale-gettext fails in Snow Leopard with build_arch i386

Reported by: njbutko@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port: p5-locale-gettext

Description

I am trying to compile OpenCV with build_arch set to i386 in macports.conf. After cleaning all installed packages, uninstalling all packages, and trying to install OpenCV, I get the following error:

--->  Configuring p5-locale-gettext
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_perl_p5-locale-gettext/
work/gettext-1.05" && /opt/local/bin/perl Makefile.PL INSTALLDIRS=vendor " 
returned error 2
Command output: checking for gettext... no
checking for gettext in -I/opt/local/include -L/opt/local/lib -lintl...gettext function 
not found. Please install libintl at Makefile.PL line 18.
 no

Error: The following dependencies failed to build: gtk2 cairo xrender xorg-libX11 
autoconf help2man p5-locale-gettext m4 automake libtool xorg-bigreqsproto xorg-
inputproto xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-util-macros 
xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-
renderproto jasper jpeg pango Xft2 shared-mime-info intltool gnome-common p5-
getopt-long p5-pathtools p5-scalar-list-utils p5-xml-parser libxml2 tiff xorg-
libXcomposite xorg-compositeproto xorg-libXext xorg-libXfixes xorg-fixesproto 
xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-libXinerama 
xorg-xineramaproto xorg-libXrandr xorg-randrproto
Error: Status 1 encountered during processing.

Debug output is attached.

Attachments (1)

gettext_output.txt (78.7 KB) - added by njbutko@… 15 years ago.

Download all attachments as: .zip

Change History (6)

Changed 15 years ago by njbutko@…

Attachment: gettext_output.txt added

comment:1 Changed 15 years ago by tobypeterson

What's the output of lipo -info /opt/local/lib/libintl.dylib ?

comment:2 Changed 15 years ago by njbutko@…

$ lipo -info /opt/local/lib/libintl.dylib 
Non-fat file: /opt/local/lib/libintl.dylib is architecture: i386

comment:3 Changed 15 years ago by tobypeterson

Oh, this is probably the same issue as #20404... build_arch is really unreliable, should really not be using it.

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

Keywords: snow leopard build_arch i386 gettext removed
Port: p5-locale-gettext added; p5-local-gettext removed
Summary: Configuring p5-local-gettext fails in Snow Leopard with build_arch i386Configuring p5-locale-gettext fails in Snow Leopard with build_arch i386

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

Resolution: duplicate
Status: newclosed

Same problem as #19381.

Note: See TracTickets for help on using tickets.