Opened 10 years ago

Closed 10 years ago

#7247 closed defect (invalid)

sage-4.2.alpha0: mercurial doesn't build on OS X 10.6

Reported by: was Owned by: mabshoff
Priority: blocker Milestone: sage-4.2
Component: packages: standard Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description

creating locale
creating locale/da
creating locale/da/LC_MESSAGES
generating locale/da/LC_MESSAGES/hg.mo from i18n/da.po
msgfmt -v -o locale/da/LC_MESSAGES/hg.mo i18n/da.po -c
dyld: Library not loaded: /usr/local/lib/libgettextsrc-0.14.5.dylib
  Referenced from: /usr/local/bin/msgfmt
  Reason: image not found
error: command 'msgfmt' terminated by signal 5

Change History (3)

comment:1 Changed 10 years ago by mhansen

I think this is because gettext isn't installed. We either need to include gettext (which may have its own benefits) or see if we can build mercurial without gettext support.

comment:2 Changed 10 years ago by jhpalmieri

Hmm. Mercurial built fine on OS X 10.6 on my machine. At various points in install.log, it says

checking for xgettext... no
...
checking for GNU gettext in libc... no
...
checking for GNU gettext in libintl... no

so I don't seem to have gettext installed.

comment:3 Changed 10 years ago by was

  • Resolution set to invalid
  • Status changed from new to closed

Thanks for checking into this guys. It turns out there were a copy of gettext in my /usr/local/bin/ directory from 2006 -- probably from installing tex or something, and it was now broken. Mercurial I guess was never broken by it before. Anyway, removing it and also the broken msgfmt and now mercurial builds. Thus I'm closing this ticket as invalid. Thanks again!

Note: See TracTickets for help on using tickets.