# Compile Issue with LLVM 6.10/00

**URL:** <https://root-forum.cern.ch/t/compile-issue-with-llvm-6-10-00/25265>\
**Category:** ROOT\
**Created:** [June 22, 2017, 9:12pm UTC](https://root-forum.cern.ch/t/compile-issue-with-llvm-6-10-00/25265 "2017-06-22T21:12:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ksmith](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/ksmith/32/12567_2.png) [@ksmith](https://root-forum.cern.ch/u/ksmith)\
**Post date:** [June 22, 2017, 9:12pm UTC](https://root-forum.cern.ch/t/compile-issue-with-llvm-6-10-00/25265/1 "2017-06-22T21:12:36Z")

</div>

Just tried to update to the new ROOT 6.10/00 build and immediately ran into the following when running CMake:

```auto
-- Constructing LLVMBuild project information
CMake Error at interpreter/llvm/src/CMakeLists.txt:537 (message):
  Unexpected failure executing llvm-build: Traceback (most recent call last):

    File "/Users/user/programs/root/root-6.10.00/interpreter/llvm/src/utils/llvm-build/llvm-build", line 6, in <module>
      llvmbuild.main()
    File "/Users/user/programs/root/root-6.10.00/interpreter/llvm/src/utils/llvm-build/llvmbuild/main.py", line 932, in main
      source_root, llvmbuild_source_root)
    File "/Users/user/programs/root/root-6.10.00/interpreter/llvm/src/utils/llvm-build/llvmbuild/main.py", line 91, in load_from_path
      LLVMProjectInfo.load_infos_from_path(llvmbuild_source_root))
    File "/Users/user/programs/root/root-6.10.00/interpreter/llvm/src/utils/llvm-build/llvmbuild/main.py", line 77, in recurse
      subpath)
    File "/Users/user/programs/root/root-6.10.00/interpreter/llvm/src/utils/llvm-build/llvmbuild/componentinfo.py", line 428, in load_from_path
      parser.read(path)
    File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/backports/configparser/ __init__.py", line 704, in read
      with open(filename, encoding=encoding) as fp:

  LookupError: unknown encoding:

-- Configuring incomplete, errors occurred!
See also "/Users/user/programs/root/root-6.10.00/install-build/CMakeFiles/CMakeOutput.log".
See also "/Users/user/programs/root/root-6.10.00/install-build/CMakeFiles/CMakeError.log".

```

Any suggestions or ideas?

---

<div class="post-metadata">

**Author:** ![ksmith](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/ksmith/32/12567_2.png) [@ksmith](https://root-forum.cern.ch/u/ksmith)\
**Post date:** [June 22, 2017, 9:19pm UTC](https://root-forum.cern.ch/t/compile-issue-with-llvm-6-10-00/25265/2 "2017-06-22T21:19:52Z")

</div>

Never mind I have run into this problem in the past and posted the solution:

> [@Jupyter Notebook with ROOT C++ Kernel](https://root-forum.cern.ch/t/jupyter-notebook-with-root-c-kernel/24399/6):
>
> Recompiling ROOT with the macports Python required setting the following two environment variables to get cmake to complete the configuration:
> 
> ```auto
> export LC_ALL=en_US.UTF-8  
> export LANG=en_US.UTF-8
> 
> ```

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [July 6, 2017, 9:20pm UTC](https://root-forum.cern.ch/t/compile-issue-with-llvm-6-10-00/25265/3 "2017-07-06T21:20:03Z")

</div>

Closed on July 6, 2017, 9:20pm UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
