Discussion:
Build failure with ROOT 6.02.00 and cmake
Christopher Jones
2014-09-30 17:29:37 UTC
Permalink
Hi,

I am having a problem building ROOT 6.02.00 on OSX using cmake. I am using the tar ball from

http://root.cern.ch/drupal/content/production-version-602

and my configuration is
cmake ../root-6.02.00 -Dgnuinstall=ON -DCMAKE_INSTALL_PREFIX=/Users/chris/Projects/install
Configuration seems OK, but the subsequent build fails with

/Users/chris/Projects/root-6.02.00/core/clib/src/attach.c:33:10: fatal error: 'mmprivate.h' file not found
#include "mmprivate.h"
^
1 error generated.

full log is attached.

I think the issue is with the -Dgnuinstall=ON option (which I need), as removing this the build seems to continue past the failure point.

cheers Chris
Pere Mato Vila
2014-09-30 18:09:17 UTC
Permalink
Hi Chris,

I am ashamed because you found a real bug at light speed. It shows that we do not have regular build with this gnuinstall option ON. I’ll provide a patch ASAP.
Thanks for reporting it.

Pere
Post by Christopher Jones
Hi,
I am having a problem building ROOT 6.02.00 on OSX using cmake. I am using the tar ball from
http://root.cern.ch/drupal/content/production-version-602
and my configuration is
cmake ../root-6.02.00 -Dgnuinstall=ON -DCMAKE_INSTALL_PREFIX=/Users/chris/Projects/install
Configuration seems OK, but the subsequent build fails with
/Users/chris/Projects/root-6.02.00/core/clib/src/attach.c:33:10: fatal error: 'mmprivate.h' file not found
#include "mmprivate.h"
^
1 error generated.
full log is attached.
I think the issue is with the -Dgnuinstall=ON option (which I need), as removing this the build seems to continue past the failure point.
cheers Chris
<build.log.bz2>
-------------------------------------------------------------
Pere Mato CERN, PH Department, CH 1211 Geneva 23, Switzerland
e-mail: ***@cern.ch tel: +41 22 76 78696
fax: +41 22 76 68792 gsm: +41 76 48 70855
Christopher Jones
2014-09-30 18:52:48 UTC
Permalink
Hi,

No worries, just glad I can help in some way..

When you have a fix, please let me know the git revision, so I can try with that. ( No major hurry, I don’t normally test releases so rapidly, but this time I just happened to stumble on it at the right time…)

cheers Chris
Post by Pere Mato Vila
Hi Chris,
I am ashamed because you found a real bug at light speed. It shows that we do not have regular build with this gnuinstall option ON. I’ll provide a patch ASAP.
Thanks for reporting it.
Pere
Post by Christopher Jones
Hi,
I am having a problem building ROOT 6.02.00 on OSX using cmake. I am using the tar ball from
http://root.cern.ch/drupal/content/production-version-602
and my configuration is
cmake ../root-6.02.00 -Dgnuinstall=ON -DCMAKE_INSTALL_PREFIX=/Users/chris/Projects/install
Configuration seems OK, but the subsequent build fails with
/Users/chris/Projects/root-6.02.00/core/clib/src/attach.c:33:10: fatal error: 'mmprivate.h' file not found
#include "mmprivate.h"
^
1 error generated.
full log is attached.
I think the issue is with the -Dgnuinstall=ON option (which I need), as removing this the build seems to continue past the failure point.
cheers Chris
<build.log.bz2>
-------------------------------------------------------------
Pere Mato CERN, PH Department, CH 1211 Geneva 23, Switzerland
fax: +41 22 76 68792 gsm: +41 76 48 70855
Loading...