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 compiled but won't run #13

Closed
Quantisan opened this issue Nov 11, 2012 · 3 comments
Closed

julia compiled but won't run #13

Quantisan opened this issue Nov 11, 2012 · 3 comments

Comments

@Quantisan
Copy link
Contributor

$ brew test -v julia
Testing julia
==> /usr/local/Cellar/julia/HEAD/bin/julia runtests.jl all
/usr/local/Cellar/julia/HEAD/bin/julia runtests.jl all
error during init:
could not show value of type LoadError
Error: julia: failed

And if I just try to run julia from cmd.

$ julia
error during init:
could not show value of type LoadError
$ pwd
/usr/local/Cellar/julia/HEAD/bin
$ ./julia
error during init:
could not show value of type LoadError

Here's the output for the install

$ brew install --HEAD julia
==> Cloning https://github.com/JuliaLang/julia.git
Updating /Library/Caches/Homebrew/julia--git
==> Downloading patches
######################################################################## 100.0%
######################################################################## 100.0%
######################################################################## 100.0%
==> Patching
patching file extras/Makefile
patch unexpectedly ends in middle of line
Hunk #1 succeeded at 8 with fuzz 1.
patching file deps/Makefile
patch unexpectedly ends in middle of line
Hunk #2 succeeded at 852 with fuzz 1.
patching file Make.inc
==> 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
==> make PREFIX=/usr/local/Cellar/julia/HEAD FC=/usr/local/bin/gfortran USECLANG=1 USE_SYSTEM_ZLIB=1 USE_SYSTEM_FFTW=1 U
==> make install-tk-wrapper PREFIX=/usr/local/Cellar/julia/HEAD FC=/usr/local/bin/gfortran USECLANG=1 USE_SYSTEM_ZLIB=1 
==> install_name_tool -add_rpath /usr/local/lib usr/bin/julia-release-basic
==> install_name_tool -add_rpath /usr/local/lib usr/bin/julia-release-readline
==> install_name_tool -add_rpath /usr/local/lib usr/bin/julia-release-webserver
==> install_name_tool -add_rpath /usr/local/Cellar/openblas/HEAD/lib usr/bin/julia-release-basic
==> install_name_tool -add_rpath /usr/local/Cellar/openblas/HEAD/lib usr/bin/julia-release-readline
==> install_name_tool -add_rpath /usr/local/Cellar/openblas/HEAD/lib usr/bin/julia-release-webserver
==> install_name_tool -add_rpath /usr/X11/lib usr/bin/julia-release-basic
==> install_name_tool -add_rpath /usr/X11/lib usr/bin/julia-release-readline
==> install_name_tool -add_rpath /usr/X11/lib usr/bin/julia-release-webserver
==> make PREFIX=/usr/local/Cellar/julia/HEAD FC=/usr/local/bin/gfortran USECLANG=1 USE_SYSTEM_ZLIB=1 USE_SYSTEM_FFTW=1 U
==> Caveats
Documentation and Examples have been installed into:
/usr/local/Cellar/julia/HEAD/share/julia

Test suite has been installed into:
/usr/local/Cellar/julia/HEAD/lib/julia/test

Run the command `brew test -v julia` to run all tests.
==> Summary
/usr/local/Cellar/julia/HEAD: 414 files, 57M, built in 2.5 minutes
@staticfloat
Copy link
Owner

Ah, thank you! This actually turns out to be a bug in Homebrew, which I unwittingly stumbled across (again) with my last commit: b979fce

brew update; brew rm julia; brew install --HEAD julia should fix this.

@staticfloat
Copy link
Owner

Just a note that I've since found a workaround in Homebrew for this, and I've reinstated the HEAD url for OpenBLAS, so for anyone wanting to try linking against OpenBLAS HEAD, I've left instructions in the README.md

@Quantisan
Copy link
Contributor Author

it's working! thank you

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

2 participants