Skip to content

Instantly share code, notes, and snippets.

@simleb
Created November 22, 2012 08:33
Show Gist options
  • Save simleb/4129998 to your computer and use it in GitHub Desktop.
Save simleb/4129998 to your computer and use it in GitHub Desktop.
brew install --HEAD -v julia
==> Cloning https://github.com/JuliaLang/julia.git
git status -s
Updating /Library/Caches/Homebrew/julia--git
git config remote.origin.url https://github.com/JuliaLang/julia.git
git config remote.origin.fetch +refs/heads/master:refs/remotes/origin/master
git fetch origin
git reset --hard origin/HEAD
HEAD is now at 4481a4d Require all inputs to sparse operations to be of the same type.
git checkout-index -a -f --prefix=/private/tmp/julia-1c2B/
git submodule init
Submodule 'deps/libuv' () registered for path 'deps/libuv'
Submodule 'deps/openlibm' () registered for path 'deps/openlibm'
git submodule update
git submodule --quiet foreach --recursive git checkout-index -a -f "--prefix=/private/tmp/julia-1c2B/$path/"
==> Downloading patches
/usr/bin/curl -f#LA Homebrew 0.9.3 (Ruby 1.8.7-358; Mac OS X 10.8.2) https://raw.github.com/gist/3806089/77b10c7bf7bac9370806cdc7e887435d56b505f6/glpk.h.diff -o 000-homebrew.diff https://raw.github.com/gist/3806093/0f1f38e9f03dcfecd5b01df082ed60ef3f5a6562/deps.Makefile.diff -o 001-homebrew.diff https://raw.github.com/gist/3806092/3b1792839567d2ea56440494bcf5954edbc82ea4/make.inc.diff -o 002-homebrew.diff
######################################################################## 100,0%
######################################################################## 100,0%
######################################################################## 100,0%
==> Patching
/usr/bin/patch -f -p1 -i 000-homebrew.diff
patching file extras/Makefile
patch unexpectedly ends in middle of line
Hunk #1 succeeded at 8 with fuzz 1.
/usr/bin/patch -f -p1 -i 001-homebrew.diff
patching file deps/Makefile
Hunk #1 succeeded at 659 (offset 5 lines).
patch unexpectedly ends in middle of line
Hunk #2 succeeded at 858 with fuzz 1 (offset 6 lines).
/usr/bin/patch -f -p1 -i 002-homebrew.diff
patching file Make.inc
Hunk #1 succeeded at 169 (offset 14 lines).
Hunk #2 succeeded at 187 (offset 14 lines).
==> Using Homebrew-provided fortran compiler.
This may be changed by setting the FC environment variable.
==> make -C contrib -f repackage_system_suitesparse4.make PREFIX=/usr/local/Cellar/julia/HEAD FC=/usr/local/bin/gfortran USECLANG=1 USE_SYSTEM_ZLIB=1 USE_SYSTEM_FFTW=1 USE_SYSTEM_READLINE=1 USE_SYSTEM_GLPK=1 USE_SYSTEM_GMP=1 USE_SYSTEM_LLVM=1 USE_SYSTEM_PCRE=1 USE_SYSTEM_LIGHTTPD=1 USE_SYSTEM_BLAS=1 USE_SYSTEM_LAPACK=1 USE_SYSTEM_SUITESPARSE=1 USE_SYSTEM_ARPACK=1 USE_SYSTEM_NGINX=1
make -C contrib -f repackage_system_suitesparse4.make PREFIX=/usr/local/Cellar/julia/HEAD FC=/usr/local/bin/gfortran USECLANG=1 USE_SYSTEM_ZLIB=1 USE_SYSTEM_FFTW=1 USE_SYSTEM_READLINE=1 USE_SYSTEM_GLPK=1 USE_SYSTEM_GMP=1 USE_SYSTEM_LLVM=1 USE_SYSTEM_PCRE=1 USE_SYSTEM_LIGHTTPD=1 USE_SYSTEM_BLAS=1 USE_SYSTEM_LAPACK=1 USE_SYSTEM_SUITESPARSE=1 USE_SYSTEM_ARPACK=1 USE_SYSTEM_NGINX=1
mkdir -p /private/tmp/julia-1c2B/usr/lib
mkdir -p /private/tmp/julia-1c2B/deps/SuiteSparse-SYSTEM/lib
cd /private/tmp/julia-1c2B/deps/SuiteSparse-SYSTEM/lib && \
rm -f *.a && \
cp -f /usr/local/lib/libamd.a /usr/local/lib/libcholmod.a /usr/local/lib/libcolamd.a /usr/local/lib/libspqr.a /usr/local/lib/libsuitesparseconfig.a /usr/local/lib/libumfpack.a /usr/local/lib/libamd.a /usr/local/lib/libcholmod.a /usr/local/lib/libcolamd.a /usr/local/lib/libspqr.a /usr/local/lib/libsuitesparseconfig.a /usr/local/lib/libumfpack.a . && \
clang -mmacosx-version-min=10.6 -shared -Xlinker -all_load libamd.a -o /private/tmp/julia-1c2B/usr/lib/libamd.dylib && \
install_name_tool -id @rpath/libamd.dylib /private/tmp/julia-1c2B/usr/lib/libamd.dylib && \
clang -mmacosx-version-min=10.6 -shared -Xlinker -all_load libcolamd.a -o /private/tmp/julia-1c2B/usr/lib/libcolamd.dylib && \
install_name_tool -id @rpath/libcolamd.dylib /private/tmp/julia-1c2B/usr/lib/libcolamd.dylib && \
clang++ -mmacosx-version-min=10.6 -shared -Xlinker -all_load libsuitesparseconfig.a libcholmod.a -o /private/tmp/julia-1c2B/usr/lib/libcholmod.dylib -L/usr/local/opt/openblas/lib -L/usr/local/opt/readline/lib -L/usr/local/lib -F/usr/local/Frameworks -L/opt/X11/lib -L/private/tmp/julia-1c2B/usr/lib -L. -lcolamd -lccolamd -lcamd -lamd -L/private/tmp/julia-1c2B/usr/lib -lopenblas && \
install_name_tool -id @rpath/libcholmod.dylib /private/tmp/julia-1c2B/usr/lib/libcholmod.dylib && \
clang++ -mmacosx-version-min=10.6 -shared -Xlinker -all_load libsuitesparseconfig.a libumfpack.a -o /private/tmp/julia-1c2B/usr/lib/libumfpack.dylib -L/usr/local/opt/openblas/lib -L/usr/local/opt/readline/lib -L/usr/local/lib -F/usr/local/Frameworks -L/opt/X11/lib -L/private/tmp/julia-1c2B/usr/lib -L. -lcholmod -lcolamd -lcamd -lamd -L/private/tmp/julia-1c2B/usr/lib -lopenblas && \
install_name_tool -id @rpath/libumfpack.dylib /private/tmp/julia-1c2B/usr/lib/libumfpack.dylib && \
clang++ -mmacosx-version-min=10.6 -shared -Xlinker -all_load libsuitesparseconfig.a libspqr.a -o /private/tmp/julia-1c2B/usr/lib/libspqr.dylib -L/usr/local/opt/openblas/lib -L/usr/local/opt/readline/lib -L/usr/local/lib -F/usr/local/Frameworks -L/opt/X11/lib -L/private/tmp/julia-1c2B/usr/lib -lcholmod -lcolamd -lamd -L/private/tmp/julia-1c2B/usr/lib -lopenblas && \
install_name_tool -id @rpath/libspqr.dylib /private/tmp/julia-1c2B/usr/lib/libspqr.dylib
ld: warning: directory not found for option '-F/usr/local/Frameworks'
ld: warning: directory not found for option '-F/usr/local/Frameworks'
ld: warning: directory not found for option '-F/usr/local/Frameworks'
Undefined symbols for architecture x86_64:
"_dlarf_", referenced from:
void spqr_private_apply1<double>(long, long, long, double*, double, double*, double*, cholmod_common_struct*) in libspqr.a(spqr_front.o)
"_dlarfb_", referenced from:
void spqr_larftb<double>(int, long, long, long, long, long, double*, double*, double*, double*, cholmod_common_struct*) in libspqr.a(spqr_larftb.o)
"_dlarfg_", referenced from:
double spqr_private_house<double>(long, double*, cholmod_common_struct*) in libspqr.a(spqr_front.o)
"_dlarft_", referenced from:
void spqr_larftb<double>(int, long, long, long, long, long, double*, double*, double*, double*, cholmod_common_struct*) in libspqr.a(spqr_larftb.o)
"_zlarf_", referenced from:
void spqr_private_apply1<std::complex<double> >(long, long, long, std::complex<double>*, std::complex<double>, std::complex<double>*, std::complex<double>*, cholmod_common_struct*) in libspqr.a(spqr_front.o)
"_zlarfb_", referenced from:
void spqr_larftb<std::complex<double> >(int, long, long, long, long, long, std::complex<double>*, std::complex<double>*, std::complex<double>*, std::complex<double>*, cholmod_common_struct*) in libspqr.a(spqr_larftb.o)
"_zlarfg_", referenced from:
std::complex<double> spqr_private_house<std::complex<double> >(long, std::complex<double>*, cholmod_common_struct*) in libspqr.a(spqr_front.o)
"_zlarft_", referenced from:
void spqr_larftb<std::complex<double> >(int, long, long, long, long, long, std::complex<double>*, std::complex<double>*, std::complex<double>*, std::complex<double>*, cholmod_common_struct*) in libspqr.a(spqr_larftb.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [default] Error 1
==> Configuration
HOMEBREW_VERSION: 0.9.3
HEAD: 3103d8edb77658d3c6d45a7011559fee6311e376
CPU: 8-core 64-bit sandybridge
OS X: 10.8.2-x86_64
Xcode: 4.5.2
CLT: 4.5.0.0.1.1249367152
X11: 2.7.4 => /opt/X11
==> ENV
CC: /usr/bin/clang
CXX: /usr/bin/clang++ => /usr/bin/clang
CFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8 -I/usr/local/opt/openblas/include -I/usr/local/opt/readline/include -F/usr/local/Frameworks -I/opt/X11/include
CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8 -I/usr/local/opt/openblas/include -I/usr/local/opt/readline/include -F/usr/local/Frameworks -I/opt/X11/include
CPPFLAGS: -I/usr/local/opt/openblas/include -I/usr/local/opt/readline/include -F/usr/local/Frameworks -I/opt/X11/include
LDFLAGS: -L/usr/local/opt/openblas/lib -L/usr/local/opt/readline/lib -L/usr/local/lib -F/usr/local/Frameworks -L/opt/X11/lib
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local/opt/openblas:/usr/local/opt/readline:/opt/X11
CMAKE_INCLUDE_PATH: /opt/X11/include
CMAKE_FRAMEWORK_PATH: /usr/local/Frameworks
MACOSX_DEPLOYMENT_TARGET: 10.8
ACLOCAL_PATH: /opt/X11/share/aclocal
OBJC: /usr/bin/clang
PATH: /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/local/Library/Contributions/cmds:/opt/X11/bin:/usr/local/bin:/usr/local/bin
Error: julia did not build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment