Skip to content

Instantly share code, notes, and snippets.

@dstndstn
Last active December 20, 2015 15:49
Show Gist options
  • Select an option

  • Save dstndstn/6156802 to your computer and use it in GitHub Desktop.

Select an option

Save dstndstn/6156802 to your computer and use it in GitHub Desktop.
brew environment for homebrew issue #21569 (lesstif build error related to sed)
dstn@swanky:/private/tmp/lesstif-fW3x/lesstif-0.95.2
> rm ./include/Motif-2.1/Xm/Xm.h.tmp
dstn@swanky:/private/tmp/lesstif-fW3x/lesstif-0.95.2
> make
Making all in Xm
sed is: /usr/bin/sed
SED is: /usr/local/Library/ENV/4.3/sed
set: ACLOCAL_PATH=/usr/local/share/aclocal:/opt/X11/share/aclocal
Apple_PubSub_Socket_Render=/tmp/launch-7yHNcH/Render
Apple_Ubiquity_Message=/tmp/launch-NZZIno/Apple_Ubiquity_Message
BASH=/bin/sh
BASH_ARGC=()
BASH_ARGV=()
BASH_ENV=/Users/dstn/.bashrc
BASH_EXECUTION_STRING='echo "set: $(set)"'
BASH_LINENO=()
BASH_SOURCE=()
BASH_VERSINFO=([0]="3" [1]="2" [2]="48" [3]="1" [4]="release" [5]="x86_64-apple-darwin12")
BASH_VERSION='3.2.48(1)-release'
CC=cc
CMAKE_INCLUDE_PATH=/opt/X11/include/freetype2:/usr/include/libxml2:/opt/X11/include
CMAKE_LIBRARY_PATH=/opt/X11/lib
CMAKE_PREFIX_PATH=/usr/local
COMMAND_MODE=unix2003
CXX=c++
DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
DIRSTACK=()
DISPLAY=/tmp/launch-t894fF/org.macosforge.xquartz:0
EDITOR='emacs -nw'
ENV=/Users/dstn/.bashrc
EUID=501
GROUPS=()
HOME=/Users/dstn
HOMEBREW_BREW_FILE=/usr/local/bin/brew
HOMEBREW_CC=clang
HOMEBREW_CCCFG=sa
HOMEBREW_DEBUG_INSTALL=lesstif
HOMEBREW_DEBUG_PREFIX=/usr/local/Cellar/lesstif/0.95.2
HOMEBREW_DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
HOMEBREW_ERROR_PIPE=5
HOSTNAME=dstn.phys.cmu.edu
HOSTTYPE=x86_64
IFS='
'
LANG=en_US.UTF-8
LOGNAME=dstn
MACHTYPE=x86_64-apple-darwin12
MACOSX_DEPLOYMENT_TARGET=10.8
MAKEFLAGS=' --jobserver-fds=3,4 -j'
MAKELEVEL=5
MFLAGS='- --jobserver-fds=3,4 -j'
OBJC=cc
OBJCXX=c++
OPTERR=1
OPTIND=1
OSTYPE=darwin12
PATH=/usr/local/git-1.8.2/bin:/Users/dstn/astrometry/src/astrometry/blind:/Users/dstn/astrometry/src/astrometry/util:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/opt/X11/bin:/usr/local/texlive/2012/bin/universal-darwin:/usr/local/pip-1.0/bin:/usr/local/pipped/bin
PKG_CONFIG_LIBDIR=/usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.8:/opt/X11/lib/pkgconfig:/opt/X11/share/pkgconfig
PKG_CONFIG_PATH=:/usr/local/lib/pkgconfig:/opt/X11/lib/pkgconfig
POSIXLY_CORRECT=y
PPID=4098
PS4='+ '
PWD=/private/tmp/lesstif-fW3x/lesstif-0.95.2/include/Motif-2.1/Xm
PYTHONPATH=:/Users/dstn/astrometry/src:/usr/local/pip-1.0/lib/python:/usr/local/pipped/lib/python:/usr/local/scipy-0.11.0rc2/lib/python:/usr/local/sdsspy/lib/python:/usr/local/fitsio/lib/python:/usr/local/lib/python2.7/site-packages
SECURITYSESSIONID=186a4
SHELL=/bin/bash
SHELLOPTS=braceexpand:hashall:interactive-comments:posix
SHLVL=6
SSH_AUTH_SOCK=/tmp/launch-olNxqD/Listeners
TERM=xterm-256color
TERM_PROGRAM=Apple_Terminal
TERM_PROGRAM_VERSION=309
TERM_SESSION_ID=B10B9AF6-206C-444D-B2AC-9077D0B7D806
TMPDIR=/var/folders/vp/tcndx7bn5szg0v7rbzd1k8nm0000gn/T/
UID=501
USER=dstn
_=/usr/bin/make
__CF_USER_TEXT_ENCODING=0x1F5:0:0
sed -e "s/_MAJOR_VERSION_/0/" \
-e "s/_MINOR_VERSION_/95/" \
-e "s/_PICO_VERSION_/2/" \
../../../include/Motif-2.1/Xm/Xm.h.in >Xm.h.tmp
sed: RE error: illegal byte sequence
make[4]: *** [Xm.h.tmp] Error 1
> brew --env
HOMEBREW_CC: clang
MAKEFLAGS: -j4
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
MACOSX_DEPLOYMENT_TARGET: 10.8
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.8
ACLOCAL_PATH: /usr/local/share/aclocal
OBJC: cc
PATH: /usr/local/Library/ENV/4.3:/usr/bin:/bin:/usr/sbin:/sbin
> brew --config
HOMEBREW_VERSION: 0.9.4
ORIGIN: https://github.com/mxcl/homebrew.git
HEAD: a474115cfc28b91a3dff196a3508f402e7f88f47
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit ivybridge
OS X: 10.8.3-x86_64
Xcode: 4.6.3
CLT: 4.6.0.0.1.1358221012
GCC-4.2: build 5666
LLVM-GCC: build 2336
Clang: 4.2 build 425
X11: 2.7.4 => /opt/X11
System Ruby: 1.8.7-358
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
> env | grep LC
> env | grep LANG
LANG=en_US.UTF-8
> brew doctor
Warning: 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/libusb-0.1.4.dylib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment