Closed nyck33 closed 4 months ago
do this:
Based on the log you provided, it seems like the build process for a component of your project (likely "candl" within "pluto") fails because the make install
target is not properly defined or missing in the Makefile
. Here's how to address this issue:
Directory to Check: The error is occurring in the candl
subdirectory of the pluto
directory. The path based on your log is /mnt/d/LLVM/NewPolygeistDir/build/polymer_deps/pluto/pluto/candl
.
File to Inspect: In this directory, look for the Makefile
. If you don't find a Makefile
but find Makefile.am
or Makefile.in
, this indicates that the Makefile
has not been properly generated.
Check for Makefile.am
or Makefile.in
: If these files exist, the Makefile
should be generated from them using automake
and autoconf
.
Regenerate Makefile
: Run the following commands in the candl
directory:
aclocal # Prepare m4 macros for autoconf
automake --add-missing # Generate Makefile.in
autoconf # Generate configure script
./configure # Generate Makefile
Verify Makefile
: After these steps, check if a new Makefile
is generated and if it contains an install
target.
install
target using a text editor or command like grep "install:" Makefile
.install
target is still missing, there might be an issue in Makefile.am
where this target should be defined or implied.Re-Run Make Install: Once you have a valid Makefile
with the install
target, try running make install
again.
configure.ac
, CMakeLists.txt
, etc.) are properly set up, as they influence how the Makefile
is generated.
Near the end of building Polygeist, well the cmake command, I get
What is this install? I see
candl
in three palces in the repobut I came here thinking I should try to build Polymer on its own and the have a flag for the path in my Polygeist build.