You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
make[1]: *** No rule to make target 'install'. Stop. make: *** [Makefile:555: install-recursive] Error 1 CMake Error at tools/polymer/CMakeLists.txt:28 (execute_process): execute_process failed command indexes: 1: "Child return code: 2" #393
Near the end of building Polygeist, well the cmake command, I get
Libraries have been installed in:
/mnt/d/LLVM/NewPolygeistDir/build/pluto/install/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the 'LD_RUN_PATH' environment variable
during linking
- use the '-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to '/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/usr/bin/mkdir -p '/mnt/d/LLVM/NewPolygeistDir/build/pluto/install/bin'
/bin/bash ./libtool --mode=install /usr/bin/install -c clan '/mnt/d/LLVM/NewPolygeistDir/build/pluto/install/bin'
libtool: install: /usr/bin/install -c .libs/clan /mnt/d/LLVM/NewPolygeistDir/build/pluto/install/bin/clan
make[4]: Leaving directory '/mnt/d/LLVM/NewPolygeistDir/build/pluto/pluto/clan'
make[3]: Leaving directory '/mnt/d/LLVM/NewPolygeistDir/build/pluto/pluto/clan'
Making install in doc
make[3]: Entering directory '/mnt/d/LLVM/NewPolygeistDir/build/pluto/pluto/clan/doc'
make[4]: Entering directory '/mnt/d/LLVM/NewPolygeistDir/build/pluto/pluto/clan/doc'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/mnt/d/LLVM/NewPolygeistDir/build/pluto/pluto/clan/doc'
make[3]: Leaving directory '/mnt/d/LLVM/NewPolygeistDir/build/pluto/pluto/clan/doc'
Making install in tests
make[3]: Entering directory '/mnt/d/LLVM/NewPolygeistDir/build/pluto/pluto/clan/tests'
make[4]: Entering directory '/mnt/d/LLVM/NewPolygeistDir/build/pluto/pluto/clan/tests'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/mnt/d/LLVM/NewPolygeistDir/build/pluto/pluto/clan/tests'
make[3]: Leaving directory '/mnt/d/LLVM/NewPolygeistDir/build/pluto/pluto/clan/tests'
make[2]: Leaving directory '/mnt/d/LLVM/NewPolygeistDir/build/pluto/pluto/clan'
make[1]: Leaving directory '/mnt/d/LLVM/NewPolygeistDir/build/pluto/pluto/clan'
Making install in candl
make[1]: Entering directory '/mnt/d/LLVM/NewPolygeistDir/build/pluto/pluto/candl'
make[1]: Leaving directory '/mnt/d/LLVM/NewPolygeistDir/build/pluto/pluto/candl'
make[1]: *** No rule to make target 'install'. Stop.
make: *** [Makefile:555: install-recursive] Error 1
CMake Error at tools/polymer/CMakeLists.txt:28 (execute_process):
execute_process failed command indexes:
1: "Child return code: 2"
-- Configuring incomplete, errors occurred!
See also "/mnt/d/LLVM/NewPolygeistDir/build/CMakeFiles/CMakeOutput.log".
See also "/mnt/d/LLVM/NewPolygeistDir/build/CMakeFiles/CMakeError.log".
nyck33@lenovo-gtx1650:/mnt/d/LLVM/NewPolygeistDir/build$
What is this install? I see candl in three palces in the repo
Can I build Polymer on its own and add it in or is there a workaround for this on WSL2?
That execute_process script (tools/polymer/build_polymer_deps.sh) is a recent addition, and we have made it work for some of our machines, however, it is not very robust yet.
I have not encountered that issue specifically, I am sorry. You could try to run the script itself with the polymer dep build directory of your choice and try to debug it.
For reference, I had the same error in my Ubuntu 24.04 x86_64 machine.
I tried running ./configure inside build/pluto/pluto/candl, and got this error:
configure: error: Please install texinfo.
I could build Polygeist after installing it by running:
sudo apt install texinfo
@ivanradanov It has been a while since your comment, and I'm not sure how the script works now, but I think ideally it should propagate the error message instead of simply saying:
make[1]: *** No rule to make target 'install'. Stop.
For reference, I had the same error in my Ubuntu 24.04 x86_64 machine.
I tried running ./configure inside build/pluto/pluto/candl, and got this error:
configure: error: Please install texinfo.
I could build Polygeist after installing it by running:
sudo apt install texinfo
@ivanradanov It has been a while since your comment, and I'm not sure how the script works now, but I think ideally it should propagate the error message instead of simply saying:
make[1]: *** No rule to make target 'install'. Stop.
Activity
ivanradanov commentedon Apr 3, 2024
That
execute_processscript (tools/polymer/build_polymer_deps.sh) is a recent addition, and we have made it work for some of our machines, however, it is not very robust yet.I have not encountered that issue specifically, I am sorry. You could try to run the script itself with the polymer dep build directory of your choice and try to debug it.
byeongjee commentedon May 10, 2025
For reference, I had the same error in my Ubuntu 24.04 x86_64 machine.
I tried running
./configureinsidebuild/pluto/pluto/candl, and got this error:I could build Polygeist after installing it by running:
@ivanradanov It has been a while since your comment, and I'm not sure how the script works now, but I think ideally it should propagate the error message instead of simply saying:
yuxuan-z19 commentedon Dec 9, 2025
This solves the issue. Thanks, @byeongjee !