Opened 15 years ago

Closed 15 years ago

#21196 closed defect (invalid)

Glib2 compile ngettext

Reported by: peppoji@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: glib2

Description

Hi!

I've recently upgraded to Mac os x Snow Leopard and after that i upgraded to MacPorts 1.8. And now when i want to install something, like ffmpeg, it wants to compile Glib2... And fails. It keeps nagging me about ngettext, but i already got gettext installed!!

Heres my output:

peppoj-macbook:~ peppoj$ sudo port install ffmpeg
--->  Computing dependencies for glib2
--->  Configuring glib2
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_devel_glib2/work/glib-2.20.4" && ./configure --prefix=/opt/local --enable-static " returned error 1
Command output: checking for libiconv_open in -liconv... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether we are using the GNU C Library 2.1 or newer... no
checking Whether to cache iconv descriptors... yes
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... no
checking for bindtextdomain in -lintl... no
checking if -liconv is needed to use gettext... 
checking for ngettext in -lintl... no
configure: error:
*** You must have either have gettext support in your C library, or use the
*** GNU gettext library. (http://www.gnu.org/software/gettext/gettext.html


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

Change History (3)

comment:1 Changed 15 years ago by tobypeterson

Keywords: Glib2 compile ngettext removed
Version: 1.8.0

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

comment:2 in reply to:  1 Changed 15 years ago by peppoji@…

Replying to toby@…:

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

It's, Non-fat file: /opt/local/lib/libintl.dylib is architecture: i386

comment:3 Changed 15 years ago by tobypeterson

Resolution: invalid
Status: newclosed

Please read Migration.

Note: See TracTickets for help on using tickets.