Who can help me installing libClang with cabal install? I do the following things:
- Install haskell plattform
- install minGW on my Windows 7 System
- download
LLVM Binaries for Mingw32/x86
andClang Binaries for Mingw32/x86
- then I copy it to my minGW folder
when I try to start cabal install libClang
, I always get the error:
clang library not found.
if the library is present, ensure it is aviable
on the lib search path (export LDFLAGS=...)
This is the point I don't know what to do, I tried a lot of things: adding paths to PATH, LDFLAGS and LD_LIB_LIBRARY_PATH with no success.
Perhaps someone had the same problem and could tell me what to do
------- EDIT :
I now made some improvements:
- installed haskell plattform
- only installed MSYS like in the blog post (found in the comments http://blog.johantibell.com/2011/01/setting-up-haskell-development.html)
but now when I start cabal install libClang I get:
llvm-config not found
where should I copy my LLVM Binaries for Mingw32/x86
and Clang Binaries for Mingw32/x86
?
------ EDIT 2 :
i put the LLVM Binaries for Mingw32/x86
and Clang Binaries for Mingw32/x86
to haskell folder and also to MSYS
now it was successfull.
when i use it now i get a error: unknown symbol _clang_toggleCrashRecovery (C:\Users\Foo\AppData\Roadming\cabal\LibClang-0.0.9\g开发者_如何转开发hc-7.0.3\HSLibClang-0.0.9.o)
what to do?
精彩评论