Julia on Mac OS X 10.9

1,186 views
Skip to first unread message

Dahua Lin

unread,
Oct 22, 2013, 8:33:58 PM10/22/13
to julia...@googlegroups.com
Have anyone tried to compile & run Julia on Mac OS X 10.9 (Mavericks), the new version that apple just released?

I am wondering whether upgrade to 10.9 would break Julia.

- Dahua

John Myles White

unread,
Oct 22, 2013, 8:35:05 PM10/22/13
to julia...@googlegroups.com
I'll be installing 10.9 in about an hour and can report back.

-- John

Stefan Karpinski

unread,
Oct 22, 2013, 8:34:53 PM10/22/13
to Julia Users
I just upgraded and will let you know how it goes...

Stefan Karpinski

unread,
Oct 22, 2013, 9:11:12 PM10/22/13
to Julia Users
Works fine to do `make cleanall testall` on 10.9; I'm also trying to build a fresh install on 10.9 to see if that works.

Keno Fischer

unread,
Oct 22, 2013, 9:13:39 PM10/22/13
to julia...@googlegroups.com
No, there's a bunch of problems with 10.9, chief among them that they switched the default C++ standard library. Currently working on it.

Ben Ward

unread,
Oct 22, 2013, 9:25:29 PM10/22/13
to julia...@googlegroups.com
The build fails with me on my 15' Macbook Pro, I have home-brew gfortran and Xcode with the command line stuff. This is a totally new install of Julia. I have julia already built on another 13' book that I'll check after Mavericks is done installing on that - see if it still builds.

Best,
Ben.

Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)


Target: x86_64-apple-darwin13.0.0


Thread model: posix


clang: error: invalid argument '-compatibility_version 6' only allowed with '-dynamiclib'


make[4]: *** [libreadline.6.2.dylib] Error 1


/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: can't open file: /Users/axolotlfan9250/julia/usr/lib/libreadline.dylib (No such file or directory)


make[2]: *** [/Users/axolotlfan9250/julia/usr/lib/libreadline.dylib] Error 1


make[1]: *** [julia-release] Error 2


make: *** [release] Error 2


Keno Fischer

unread,
Oct 22, 2013, 9:33:45 PM10/22/13
to julia...@googlegroups.com
Here's my WIP on 10.9:


Currently failing on OpenBlas with:

ld: library not found for -lcrt1.o

Keno Fischer

unread,
Oct 22, 2013, 10:08:25 PM10/22/13
to julia...@googlegroups.com
It seems like gfortran is currently broken on 10.9

Jameson Nash

unread,
Oct 22, 2013, 11:46:41 PM10/22/13
to julia...@googlegroups.com
MacPorts recommends reinstalling everything after a major OS cycle, because it sometimes breaks various dependencies. It doesn't look like Homebrew has made this recommendation anywhere, but it is generally still good advice.

Stefan Karpinski

unread,
Oct 23, 2013, 12:05:56 AM10/23/13
to Julia Users
Yeah, install from scratch fails:

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libosxunwind.a(Unwind-sjlj.c.o) has no symbols
ld: library not found for -ldylib1.10.5.o
collect2: ld returned 1 exit status
make[3]: *** [libopenlibm-extras.dylib] Error 1
make[2]: *** [openlibm/libopenlibm-extras.dylib] Error 2
make[1]: *** [julia-release] Error 2
make: *** [release] Error 2

Looks like I'll be switching to brew since I'd need to reinstall all of MacPorts anyway.

Keno Fischer

unread,
Oct 23, 2013, 12:28:59 AM10/23/13
to julia...@googlegroups.com
I was able to successfully compile everything (see my kf/osx109 branch), but the tests still fail.

Elliot Saba

unread,
Oct 23, 2013, 12:41:06 AM10/23/13
to julia...@googlegroups.com
Once my new Macbook ships (I was jealous of Keno's beauty) I'll start work on any patches we need for the binary distribution.
-E

Stefan Karpinski

unread,
Oct 23, 2013, 9:18:16 AM10/23/13
to julia...@googlegroups.com
Nice work, Keno. I guess we should really make sure that 0.2 final supports OS X 10.9.

Dahua Lin

unread,
Oct 23, 2013, 9:44:03 AM10/23/13
to julia...@googlegroups.com
Thanks for all the information.

Looks like I will have to refrain from upgrading to 10.9 for a while until these are sorted out, as I have been using Julia in several critical research projects.

- Dahua

Jutho

unread,
Oct 24, 2013, 2:18:47 PM10/24/13
to julia...@googlegroups.com
Any news on this. I was planning to install Mavericks tonight, clean install, reinstalling everything from scratch. Will I be able to get Julia to work?

Jutho

Avik Sengupta

unread,
Oct 24, 2013, 2:23:22 PM10/24/13
to julia...@googlegroups.com
Discussion is happening on the pull request. You may want to try the branch.

https://github.com/JuliaLang/julia/pull/4614
Reply all
Reply to author
Forward
0 new messages