I'm trying to install Clang.jl to ultimately create wrappers for HTSlib,
but I'm already failing at building Clang.jl with the following error
message:
julia> Pkg.build("Clang")
INFO: Building Clang
g++ wrapclang.cpp -fPIC -c -o wrapclang.cpp.o -I
"/home/mesecke/devel/julia//usr/include" -g -Wall -Wno-strict-aliasing -fno-
omit-frame-pointer -fPIC
wrapclang.cpp: In function ‘void wci_debug_token(CXTranslationUnit, char*)’:
wrapclang.cpp:118:69: error: ‘printf’ was not declared in this scope
wrapclang.cpp: In function ‘void wci_print_tokens(CXTranslationUnit, char
*)’:
wrapclang.cpp:127:21: warning: comparison between signed and unsignedinteger
expressions
[-Wsign-compare]
wrapclang.cpp:131:71: error: ‘printf’ was not declared in this scope
make: *** [wrapclang.cpp.o] Error 1
==================================================[ ERROR: Clang
]==================================================
failed process: Process(`make`, ProcessExited(2)) [2]
while loading /home/mesecke/.julia/v0.3/Clang/deps/build.jl, in expression
starting on line 6
====================================================================================================================
==================================================[ BUILD ERRORS
]==================================================
WARNING: Clang had build errors.
- packages with build errors remain installed in /home/mesecke/.julia/v0.3
- build a package and all its dependencies with `Pkg.build(pkg)`
- build a single package by running its `deps/build.jl` script
====================================================================================================================
I'm on
julia> versioninfo()
Julia Version 0.3.0-prerelease+1824
Commit d36bb08* (2014-03-03 17:58 UTC)
Platform Info:
System: Linux (x86_64-linux-gnu)
CPU: Intel(R) Xeon(R) CPU W3540 @ 2.93GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY)
LAPACK: libopenblas
LIBM: libopenlibm
Any suggestions where this could come from?
Thanks,
Sven