Closed xgarrido closed 8 years ago
This should now be patched in 0c3e739. The main issue is that the 5.34 patches branch introduced a bug that results in the gnuinstall
option being forced off. That causes part of the build process, namely the run of the hsimple
executable to fail.
The root5
formulae now patches this inplace for the HEAD build, and also only applies the main patches for 5.34 for stable builds. Please try
$ brew update
$ brew install root5 --c++11 --HEAD
again and report any further issues.
The commit fixes the issue and root5
has been installed "properly" i.e. without any X11 libraries so no GUI stuff. It may be a problem for flvisualize
. In cadfael
it was possible to activate X11 as well as asimage
libraries linking by doing
cmake ...
-Dport/root+x11=ON
-Dport/root+asimage=ON
I see some comments in your root5
formula about asimage
and freetype
but is it possible to revive these options ? Something equivalent to what you did for geant4
formula ? Something like option "with-x11", "Build X11 driver" if OS.linux?
I've updated the root5
formula to use gminimal
by default, so graphics should always be built. I've also made builtin asimage and freetype the defaults.
Getting gminimal
option back, I got almost a working copy of root
binary. I still have an issue with the asimage
library since the library is not installed. Adding
args << "-Dasimage=ON"
to cmake
option solves the problem (it is quite strange since this option seems to be activated by default as written here). With this option ON
I have now a working version of root with GUI stuff.
Thanks, added that line to the formula. There have been some changes in the last day to how the options get force set under the minimal/gminimal options on the head of the 5-34-00-patches branch, so you might have bumped into those.
I am now using
gcc/g++
from my machine as you suggest in issue #5. I got the same issue as mentionned here. I have tried to move tohead
version ofroot
i.e. the one refering tov5-34-00-patches
by doingbut it fails (btw I had to disable patch application due to different input files, maybe something like
will prevent that in
root5
formula).I just copy here where the error may come from (
brew gist-logs root5
takes too long)Maybe it's time to switch to
root6
, what do you think ?