Build process of concrete compiler failed in between

I tried to build it from the source using make all

[1717/3154] Performing build step for ‘concrete_optimizer_rust’
FAILED: tools/concretelang/concrete_optimizer_rust-prefix/src/concrete_optimizer_rust-stamp/concrete_optimizer_rust-build /home/user/Desktop/concrete/compilers/concrete-compiler/compiler/build/tools/concretelang/concrete_optimizer_rust-prefix/src/concrete_optimizer_rust-stamp/concrete_optimizer_rust-build
cd /home/user/Desktop/concrete/compilers/concrete-optimizer && /usr/bin/cmake -P /home/user/Desktop/concrete/compilers/concrete-compiler/compiler/build/tools/concretelang/concrete_optimizer_rust-prefix/src/concrete_optimizer_rust-stamp/concrete_optimizer_rust-build-Release.cmake
CMake Error at /home/user/Desktop/concrete/compilers/concrete-compiler/compiler/build/tools/concretelang/concrete_optimizer_rust-prefix/src/concrete_optimizer_rust-stamp/concrete_optimizer_rust-build-Release.cmake:37 (message):
Command failed: No such file or directory

‘cargo’ ‘build’ ‘-p’ ‘concrete-optimizer-cpp’ ‘–profile’ ‘release’

See also

/home/user/Desktop/concrete/compilers/concrete-compiler/compiler/build/tools/concretelang/concrete_optimizer_rust-prefix/src/concrete_optimizer_rust-stamp/concrete_optimizer_rust-build-*.log

– stdout output is:

– stderr output is:

CMake Error at /home/user/Desktop/concrete/compilers/concrete-compiler/compiler/build/tools/concretelang/concrete_optimizer_rust-prefix/src/concrete_optimizer_rust-stamp/concrete_optimizer_rust-build-Release.cmake:47 (message):
Stopping after outputting logs.

[1729/3154] Building CXX object lib/Ta…VMX86CodeGen.dir/X86ISelLowering.cpp.o
ninja: build stopped: subcommand failed.
make: *** [Makefile:171: concretecompiler] Error 1

Hi,
It fails when calling ‘cargo’ (rust build command)
Do you have ‘cargo’ ?

Hi @Rudy_Sicard
(venv) user:~$ rustc --version
rustc 1.73.0
The above build tool comes with rust right

Hey @Laser_beam ,

Depending on how you installed rust, maybe cargo is not accessible :man_shrugging:.

What does it say when you do:

$> which cargo

Did you install rust via the script available here ?

1 Like

Certain build essentials were missing , I could fix them now Thankyou for your help