dxwdxw2005 / gerardus

Automatically exported from code.google.com/p/gerardus
0 stars 0 forks source link

Error without warning in CMake if m4 library is not installed #44

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
If the m4 library is not installed, CMake will do the configuration step 
("cmake ..") without problem, but then the build ("make") will fail when 
compiling the GMP library. 

If you look into the GMP compilation log, you see that the problem is that m4 
is missing, but this may be a bit esoteric for most users.

The desired behaviour would be that cmake detects that m4 (or any other 
dependency) is missing, and give a clear error at the configuration stage.

This is something that happens at least with the linux build, not sure whether 
this is also a problem in Windows or MacOS X.

Original issue reported on code.google.com by rcas...@gmail.com on 16 Jan 2015 at 3:35

GoogleCodeExporter commented 8 years ago
Fixed in revision 1663.

Now we search for it, and give a clear error message so that the user installs 
m4.

Original comment by rcas...@gmail.com on 27 Jan 2015 at 6:03