Skip to content

Issues with building #10

@4lekk

Description

@4lekk

Hello,

I tried building CU2CL and the associated version of LLVM and Clang using the provided install.sh script.
However, executing the script gives me a CMake error:

CMake Error at CMakeLists.txt:43 (message):
Please set CU2CL_PATH_TO_CLANG_BUILD to a directory containing a Clang build.

Alternatively, I tried installing LLVM + Clang 3.4 myself, downloading the source of both using wget and the same URLs as the install.sh script of CU2CL, but otherwise following the instructions in the GettingStarted.rst file in the docs directory of the LLVM source (so I also installed the corresponding version of Compiler RST). However, I got the following error after invoking …/llvm-3.4/configure

checking for python… …/llvm-3.4/configure: line 11792: result:: command not found
no
checking for python >= 2.5… …/llvm-3.4/configure: line 11818: test: line: integer expression expected
…/llvm-3.4/configure: line 11819: test: line: integer expression expected
not found
configure: error: found python line (); required >= 2.5
See `config.log’ for more details.

Though I do not have a command named “python”, I have python3. I also tried aliasing “python” to “python3” but to no avail.

I’m on an Ubuntu 22.04 LTS.

I’m new to building projects from source and sorry if I’m missing an obvious solution.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions