Open mohawk2 opened 1 year ago
May be helpful to turn on verbose output for cmake: https://bytefreaks.net/programming-2/make-building-with-cmake-verbose Unfortunately I am not an expert on cmake either :/
Would you know how to tell the test to do that? Is there an env var?
I note that while Alien::OpenCV gives explicit build
steps (https://github.com/EntropyOrg/perl-Alien-OpenCV/blob/main/alienfile), the test doesn't and so is presumably using the default (https://github.com/PerlAlien/Alien-Build/blob/main/lib/Alien/Build/Plugin/Build/CMake.pm).
Looking again at the errors, I note the error text happens with text omitting a (
- is it possible that in supplying a CC
(or similar) value, that make needs that to be surrounded by ""
to stop it from misinterpreting such?
My Strawberry PDL is installed in
C:\straw (perl)
to test as much as possible. It gets this error (excerpted):The use of Alien::cmake3 on a real Alien package (Alien::OpenCV) did not have similar problems, so I am assuming a slightly simplified CMakeFiles.txt was used that used a full path for
gcc
when it shouldn't? I'm afraid I don't knowcmake
well. I had a read of thealienfile
in the test file and couldn't see anything that used paths directly, so I assume the problem is within thecorpus
files.