Opened 12 years ago

Last modified 12 years ago

#36688 closed defect

Unable to Install gettext — at Version 1

Reported by: jonlederman@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: gettext

Description (last modified by mf2k (Frank Schima))

Hi,

I've tried to install getttext both using macports and manually. After trying with macports, I get:

Jons-MacBook-Pro:gettext-0.18.1.1 Jon$ sudo port clean gettext
dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid
--->  Cleaning gettext
Jons-MacBook-Pro:gettext-0.18.1.1 Jon$ sudo port install gettext configure.compiler=llvm-gcc-4.2
dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid
--->  Computing dependencies for gettext
--->  Fetching archive for gettext
--->  Attempting to fetch gettext-0.18.1.1_2.darwin_12.x86_64.tbz2 from http://packages.macports.org/gettext
--->  Attempting to fetch gettext-0.18.1.1_2.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/gettext
--->  Attempting to fetch gettext-0.18.1.1_2.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/gettext
--->  Fetching distfiles for gettext
--->  Verifying checksum(s) for gettext
--->  Extracting gettext
--->  Applying patches to gettext
--->  Configuring gettext
--->  Building gettext
Error: org.macports.build for port gettext returned: command execution failed
Please see the log file for port gettext for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gettext/gettext/main.log

Looking at the log I see:

/gettext-0.18.1.1/gettext-tools/intl/.libs/libintl.dylib /opt/local/lib/libiconv.dylib -lc
:info:build Undefined symbols for architecture x86_64:
:info:build   "_bswap_32", referenced from:
:info:build       _write_table in msgfmt-write-mo.o
:info:build ld: symbol(s) not found for architecture x86_64
:info:build collect2: ld returned 1 exit status
:info:build make[4]: *** [msgfmt] Error 1
:info:build make[4]: *** Waiting for unfinished jobs....

I am not sure where to obtain the libraries with these symbols. Any help would be greatly appreciated.

Thanks.

-Jon

Change History (2)

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: gettext removed
Owner: changed from macports-tickets@… to ryandesign@…

In the future, please use WikiFormatting, and Cc the port maintainer(s).

Why are you trying to change the compiler? The port installs fine normally.

Please clean the port and install it normally. It it fails to build, attach the complete main.log.

sudo port clean gettext
sudo port install gettext

Changed 12 years ago by jonlederman@…

Attachment: main.log added

main.log

Note: See TracTickets for help on using tickets.