Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Julia fails to reinstall with latest julia --HEAD #65

Closed
tchajed opened this issue Feb 10, 2014 · 4 comments
Closed

Julia fails to reinstall with latest julia --HEAD #65

tchajed opened this issue Feb 10, 2014 · 4 comments

Comments

@tchajed
Copy link
Contributor

tchajed commented Feb 10, 2014

When I try to brew reinstall --HEAD julia I get an error in the install process. I can't tell if this is a bug in the formula or if this is an upstream bug to submit to Julia.

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: more than one input file specified (must and paths)
Usage: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool [-change old new] ... [-rpath old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: more than one input file specified (must and paths)
Usage: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool [-change old new] ... [-rpath old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
Error: Failed executing: make PREFIX=/usr/local/Cellar/julia/HEAD USE_BLAS64=1 FC=/usr/local/bin/gfortran USECLANG=1 LIBBLAS=-lopenblas LIBBLASNAME=libopenblas LIBLAPACK=-lopenblas LIBLAPACKNAME=libopenblas 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_BLAS=1 USE_SYSTEM_SUITESPARSE=1 USE_SYSTEM_ARPACK=1 USE_SYSTEM_MPFR=1 USE_SYSTEM_LAPACK=1 install

Output of brew --config:

HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew.git
HEAD: 9384f3335f62282c6a69eb1f366cb4d7a75dbc3b
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit arrandale
OS X: 10.9.1-x86_64
Xcode: 5.0.2
CLT: 5.0.1.0.1.1382131676
GCC-4.2: build 5666
Clang: 5.0 build 500
X11: 2.7.5 => /opt/X11
System Ruby: 1.8.7-358
Perl: /usr/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/local/bin/ruby => /usr/local/Cellar/ruby/2.1.0/bin/ruby

Output of brew doctor:

Your system is ready to brew.
@antonklava
Copy link

I have the same problem. In the meantime you can download the prerelease binary from http://julialang.org/downloads/ After copying the .app to your applications folder:

brew rm julia
ln -s /Applications/Julia-0.3.0-prerelease-a673e4c4de.app/Contents/Resources/julia/bin/julia /usr/local/bin/julia

@ggarza
Copy link

ggarza commented Feb 11, 2014

I get the same error. The output from homebrew is here https://gist.github.com/ggarza/8939705

Could the problem be due to libRmath being renamed libRmath-julia? This is the line from the output that makes think that:

for suffix in random suitesparse_wrapper grisu openlibm openspecfun Rmath ; do \
        install -pm755 /private/tmp/julia-jNFT/usr/lib/lib${suffix}*.dylib* julia-96466ea136/lib/julia ; \

@staticfloat
Copy link
Owner

@ggarza Good eyes! That is indeed part of the issue. (The other part is that I forgot to rename PREFIX to prefix, after working for hours on the PR that incorporated that change into Julia.)

I believe I've fixed this on master with JuliaLang/julia@b4cc27b. Please brew update and try again.

@tchajed
Copy link
Contributor Author

tchajed commented Feb 11, 2014

Thanks @staticfloat, looks like that fixed the issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants