Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nyck33 opened this issue Apr 2, 2024 · 1 comment

Comments

@nyck33
Copy link

nyck33 commented Apr 2, 2024

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

image

Can I build Polymer on its own and add it in or is there a workaround for this on WSL2?

@ivanradanov
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants