Hi, I am trying to install Julia on a Mageia 5 i7 system. In Make.user I
put this:
USE_SYSTEM_LLVM=1
USE_SYSTEM_BLAS=1
USE_SYSTEM_LAPACK=1
USE_SYSTEM_FFTW=1
USE_SYSTEM_MPFR=1
USE_SYSTEM_ARPACK=1
USE_SYSTEM_ZLIB=1
USE_SYSTEM_RMATH=1
and the tail of output from "make" is below:
....................
In file included from codegen.cpp:766:0:
debuginfo.cpp: In function ‘void jl_getDylibFunctionInfo(const char**,
size_t*, const char**, size_t, int*, int)’:
debuginfo.cpp:359:16: warning: unused variable ‘msize’ [-Wunused-variable]
size_t msize = (size_t)(((uint64_t)-1)-fbase);
^
CC src/interpreter.o
CC src/alloc.o
CC src/dlload.o
CC src/sys.o
CC src/init.o
CC src/task.o
CC src/array.o
CC src/dump.o
CC src/toplevel.o
CC src/jl_uv.o
CC src/jlapi.o
CC src/profile.o
CC src/llvm-simdloop.o
CC src/gc.o
LINK usr/lib/libjulia.so
PERL base/pcre_h.jl
PERL base/errno_h.jl
PERL base/build_h.jl.phony
PERL base/fenv_constants.jl
PERL base/file_constants.jl
PERL base/uv_constants.jl
fatal: bad revision '^origin/release-0.3'
fatal: Not a valid object name origin/release-0.3
PERL base/version_git.jl.phony
CC ui/repl.o
LINK usr/bin/julia
exports.jl
base.jl
reflection.jl
build_h.jl
error during bootstrap: LoadError(at "sysimg.jl" line 28: LoadError(at
"build_h.jl" line 2: ErrorException("syntax: invalid character "")))
Makefile:127: recipe for target '/opt/julia/julia/usr/lib/julia/sys0.o'
failed
make[1]: *** [/opt/julia/julia/usr/lib/julia/sys0.o] Error 1
Makefile:37: recipe for target 'release' failed
make: *** [release] Error 2
[emason@marula julia (release-0.3)]$
See also the full output:
https://gist.github.com/evanmason/89d73157f042680ee755
When I inspect line 2 of base/build_h.jl, I see indeed that line 2 seems to
be corrupted:
# This file is automatically generated in base/Makefile
^[[01;31m^[[Kc^[[m^[[K^[[01;31m^[[Ko^[[m^[[K^[[01;31m^[[Kn^[[m^[[K^[[01;31m^[[Ks^[[m^[[K^[[01;31m^[[Kt^[[m^[[K^[[01;31m^[[K
^[[m^[[K^[[01;31m^[[KO^[[m^[[K^[[01;31m^[[KS^[[m^[[K^[[01;31m^[[K_^[[m^[[K^[[01;31m^[[KN^[[m^[[K^[[01;31m^[[KA^[[m^[[K^[[01;31m^[[KM^[[m^[[K^[[01;31m^[[KE^[[m^[[K^[[01;31m^[[K
^[[m^[[K^[[01;31m^[[K=^[[m^[[K^[[01;31m^[[K
^[[m^[[K^[[01;31m^[[K:^[[m^[[K^[[01;31m^[[KL^[[m^[[K^[[01;31m^[[Ki^[[m^[[K^[[01;31m^[[Kn^[[m^[[K^[[01;31m^[[Ku^[[m^[[K^[[01;31m^[[Kx^[[m^[[K
const ARCH = :x86_64
const MACHINE = "x86_64-mageia-linux-gnu"
const libm_name = "libopenlibm"
const libblas_name = "libblas"
const liblapack_name = "liblapack"
const USE_BLAS64 = true
const libfftw_name = "libfftw3_threads"
const libfftwf_name = "libfftw3f_threads"
const libllvm_version = "3.5.2"
const VERSION_STRING = "0.3.12-pre"
const TAGGED_RELEASE_BANNER = ""
const SYSCONFDIR = "../etc"
const DATAROOTDIR = "../share"
I'd be grateful for any help with this.
Thanks, Evan