On Fri, Sep 19, 2014 at 05:39:48AM -0700, Patrick O'Leary wrote: > On Thursday, September 18, 2014 7:33:09 PM UTC-5, Alberto Torres Barrán > wrote: > > > > When trying to compile Julia from source on RHEL 4.4.6 I get the following > > error: > > > > Relevant update: Alberto reports in the bug that there was a > misunderstanding, and the OS is CentOS 6.5.
I recommend building Clang 3.4 on that system, and then compiling Julia using Clang. This produces a binary that only depends on system libraries (in particular, julia will not depend on the libstdc++ of a custom-compiled GCC version). These are the rules that I use to build Julia on CentOS 6: git clone http://git.colberg.org/packages.git # Build LLVM and Clang from source nice make -f packages.mk install-clang PREFIX=$HOME/usr # Export Clang to PATH eval $(make -f packages.mk env-clang PREFIX=$HOME/usr) # Build Julia with Clang nice make -f packages.mk install-julia PREFIX=$HOME/usr Peter
