Skip to content

Instantly share code, notes, and snippets.

@phaus
Created January 7, 2012 14:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phaus/1574949 to your computer and use it in GitHub Desktop.
Save phaus/1574949 to your computer and use it in GitHub Desktop.
install mercurial with different path settings
Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected dylibs:
/usr/local/lib/libcdt.5.dylib
/usr/local/lib/libcgraph.6.dylib
/usr/local/lib/libgraph.5.dylib
/usr/local/lib/libgvc.5.0.0.dylib
/usr/local/lib/libgvc.6.dylib
/usr/local/lib/libgvpr.2.dylib
/usr/local/lib/libjack.0.0.28.dylib
/usr/local/lib/libjackserver.0.0.28.dylib
/usr/local/lib/libmacfuse_i32.2.dylib
/usr/local/lib/libmacfuse_i64.2.dylib
/usr/local/lib/libmcrypt.4.4.8.dylib
/usr/local/lib/libosxfuse_i32.2.dylib
/usr/local/lib/libosxfuse_i64.2.dylib
/usr/local/lib/libpathplan.4.dylib
/usr/local/lib/libruby.1.9.1.dylib
/usr/local/lib/libxdot.4.dylib
Unbrewed static libraries were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected static libraries:
/usr/local/lib/libasprintf.a
/usr/local/lib/libgcrypt.a
/usr/local/lib/libgettextpo.a
/usr/local/lib/libintl.a
/usr/local/lib/libmcrypt.a
/usr/local/lib/libpth.a
/usr/local/lib/libruby.1.9.1-static.a
Unbrewed .la files were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected .la files:
/usr/local/lib/libjack.la
/usr/local/lib/libjackserver.la
/usr/local/lib/libmcrypt.la
/usr/local/lib/libosxfuse_i32.la
/usr/local/lib/libosxfuse_i64.la
gettext was detected in your PREFIX.
The gettext provided by Homebrew is "keg-only", meaning it does not
get linked into your PREFIX by default.
If you `brew link gettext` then a large number of brews that don't
otherwise have a `depends_on 'gettext'` will pick up gettext anyway
during the `./configure` step.
If you have a non-Homebrew provided gettext, other problems will happen
especially if it wasn't compiled with the proper architectures.
Some "config" scripts were found in your path, but not in system or Homebrew folders.
`./configure` scripts often look for *-config scripts to determine if software packages
are installed, and what additional flags to use when compiling and linking.
Having additional scripts in your path can confuse software installed via Homebrew if
the config script overrides a system or Homebrew provided script of the same name.
/opt/X11/bin
freetype-config libpng-config libpng15-config
/usr/local/MacGPG2/bin
gpg-error-config ksba-config libassuan-config libgcrypt-config libusb-config pth-config
/Library/Frameworks/Mono.framework detected
This can be picked up by Cmake's build system and likely cause the
build to fail, finding improper header files for libpng for instance.
==> You have uncommitted modifications to Homebrew's core.
Unless you know what you are doing, you should: git reset --hard
==> Downloading http://mercurial.selenic.com/release/mercurial-2.0.1.tar.gz
File already downloaded in /Library/Caches/Homebrew
/usr/bin/tar xf /Library/Caches/Homebrew/mercurial-2.0.1.tar.gz
==> make PREFIX=/usr/local/Cellar/mercurial/2.0.1 build
make PREFIX=/usr/local/Cellar/mercurial/2.0.1 build
python setup.py build
running build
running build_mo
creating mercurial/locale
creating mercurial/locale/da
creating mercurial/locale/da/LC_MESSAGES
generating mercurial/locale/da/LC_MESSAGES/hg.mo from i18n/da.po
msgfmt -v -o mercurial/locale/da/LC_MESSAGES/hg.mo i18n/da.po -c
dyld: Library not loaded: /usr/local/lib/libgettextsrc-0.17.dylib
Referenced from: /usr/local/bin/msgfmt
Reason: image not found
error: command 'msgfmt' terminated by signal 5
make: *** [build] Error 1
==> Exit Status: 2
http://github.com/mxcl/homebrew/blob/master/Library/Formula/mercurial.rb#L32
==> Environment
HOMEBREW_VERSION: 0.8.1
HEAD: bcdce506a4eac512a258e2dc85bfa133623100ca
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
Hardware: 8-core 64-bit sandybridge
OS X: 10.7.2
Kernel Architecture: x86_64
Ruby: 1.8.7-249
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode: 4.2.1
GCC-4.0: N/A
GCC-4.2: build 5666
LLVM: build 2335
Clang: 2.1-163.7.1
MacPorts or Fink? false
X11 installed? true
==> Build Flags
CC: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CXX: /usr/bin/llvm-g++ => /usr/llvm-gcc-4.2/bin/llvm-g++-4.2
LD: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CFLAGS: -Os -w -pipe
CXXFLAGS: -Os -w -pipe
MAKEFLAGS: -j8
Error: Failed executing: make PREFIX=/usr/local/Cellar/mercurial/2.0.1 build
These existing issues may help you:
https://github.com/mxcl/homebrew/issues/9402
Otherwise, please report the bug:
https://github.com/mxcl/homebrew/wiki/checklist-before-filing-a-new-issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment