> > Thanks! is there a way of doing it automatically and recursively until it > finds the appropiate CMakeLists.txt file so I do not have to trawl for it? in > addition, as it seems pretty simple I am surprised this does not happen > ‘automagically’.
The generated Makefiles have absolute, symlink-resolved paths because CMake doesn't want the version to change underneath (I guess?). But the cmake binary itself is called back by make to detect whether a reconfiguration is necessary. Hence this error. I'm not sure if there's any good way to introspect this and trigger a reconfigure from Julia's build system without adding a lot of complexity. If you want to figure out which projects to reconfigure: `find /path/to/julia -name *CMakeCache*`. On Thu, Oct 27, 2016 at 3:46 AM, Federico Calboli <[email protected]> wrote: > > > On 27 Oct 2016, at 10:34, Bart Janssens <[email protected]> wrote: > > > > Normally this is solved by running "cmake ." in the build directory or > directories of the library or libraries compiled using cmake. > > Thanks! is there a way of doing it automatically and recursively until it > finds the appropiate CMakeLists.txt file so I do not have to trawl for it? > in addition, as it seems pretty simple I am surprised this does not happen > ‘automagically’. > > BW > > F > > > > > Cheers, > > > > Bart > > > > On Thu, Oct 27, 2016 at 9:28 AM Federico Calboli <[email protected]> > wrote: > > Hi, toady on a whim I tried > > > > make cleanall && make testall > > > > but it did not work because when julia was built cmake was at 3.6.1 and > now it is a 3.6.2 > > > > make[2]: /usr/local/Cellar/cmake/3.6.1/bin/cmake: No such file or > directory > > make[2]: *** [cmake_check_build_system] Error 1 > > make[1]: *** [/usr/local/julia/usr/lib/libmbedcrypto.dylib] Error 2 > > make: *** [julia-deps] Error 2 > > > > Now I have: > > > > ../Cellar/cmake/3.6.2/bin/cmake > > > > This problem seems extremely silly, given that it forces me *not* to > upgrade my cmake (and maybe other software), when the make routine could do > the equivalent of `which cmake' and use the result. > > > > Leaving this aside, is there a way of rebuilding julia with the correct > cmake without basically removing the whole thing and rebuilding from 0? > > > > BW > > > > F > > > >
