Closed mhkirby closed 10 years ago
Note, I think this is really a failure in the worch configuration for g4lbne, not worch per se.
CMake is finding the system mysql
-- Looking for MySQL
-- Found MySQL libraries: -rdynamic -L/usr/lib64/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib64 -lssl -lcrypto
-- Found MySQL includes: /usr/include/mysql
Except there is no actual directory there! In fact the system lacks the devel version of this package
bv@lbnegpvm02:/lbne/app/home/test> rpm -qa|grep -i mysql
mysql-5.0.95-5.el5_9.x86_64
ruby-mysql-2.7.3-2.x86_64
This is a bug in ROOT. The version required by the g4lbne group is 5.34.06.
To "fix" this I'm going to tell ROOT's cmake to just turn off use of mysql. I don't think it is actually required.
Nuke this step and rerun like:
bv@lbnegpvm02:/lbne/app/home/test/worch> rm -rf tmp/controls/root_{prepare,unpack} tmp/builds/root-5.34.06-debug/ tmp/sources/root/
bv@lbnegpvm02:/lbne/app/home/test/worch> ../helpers/bin/python waf --prefix=../install --orch-config=../lbne-beamsim-worch/config/suite-g4lbne.cfg configure build
Note: the non-standard Python is needed as this is SL5. I've added some docs on this here: https://cdcvs.fnal.gov/redmine/projects/lbne-beamsim/wiki/Known_Installation_Issues
Hi Brett,
Thanks for taking a look at this.
Laura, could you help clarify my confusion below about the ROOT version that g4lbne should be built against. Thanks!
Cheers, Mike
On Apr 22, 2014, at 3:15 PM, Brett Viren notifications@github.com wrote:
Note, I think this is really a failure in the worch configuration for g4lbne, not worch per se.
Agreed, I think this is a worch configuration issue.
CMake is finding the system mysql
-- Looking for MySQL -- Found MySQL libraries: -rdynamic -L/usr/lib64/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib64 -lssl -lcrypto -- Found MySQL includes: /usr/include/mysql Except there is no actual directory there! In fact the system lacks the devel version of this package
bv@lbnegpvm02:/lbne/app/home/test> rpm -qa|grep -i mysql mysql-5.0.95-5.el5_9.x86_64 ruby-mysql-2.7.3-2.x86_64 This is a bug in ROOT. The version required by the g4lbne group is 5.34.06.
I’m confused because the instructions that I got from Laura Fields pointed me to using the 5.30.06 version of ROOT compiled with gcc v4.6.1.
To "fix" this I'm going to tell ROOT's cmake to just turn off use of mysql. I don't think it is actually required.
Agreed, that is how I fixed the problem on my modified local worch instance was to turn off mysql.
— Reply to this email directly or view it on GitHub.
Michael Kirby Fermilab Scientific Computing Division WH10W 1062 / FCC 240 Office 630-840-4326 Cell 630-965-1456
Hi All,
We use Root 5.30.06. You can see this in the setup script in git:
I've been trying to get g4lbne running on my laptop and have had all sorts of problems, so I'd be keen to test Worch once you have something that you think works. It would be especially great if this could include some of the visualization options, which aren't available in the UPS version of Geant and are the reason I'm trying to do this.
-Laura
On Tue, Apr 22, 2014 at 4:11 PM, Michael H Kirby kirby@fnal.gov wrote:
Hi Brett,
Thanks for taking a look at this.
Laura, could you help clarify my confusion below about the ROOT version that g4lbne should be built against. Thanks!
Cheers, Mike
On Apr 22, 2014, at 3:15 PM, Brett Viren notifications@github.com wrote:
Note, I think this is really a failure in the worch configuration for g4lbne, not worch per se.
Agreed, I think this is a worch configuration issue.
CMake is finding the system mysql
-- Looking for MySQL -- Found MySQL libraries: -rdynamic -L/usr/lib64/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib64 -lssl -lcrypto -- Found MySQL includes: /usr/include/mysql
Except there is no actual directory there! In fact the system lacks the devel version of this package
bv@lbnegpvm02:/lbne/app/home/test> rpm -qa|grep -i mysql mysql-5.0.95-5.el5_9.x86_64 ruby-mysql-2.7.3-2.x86_64
This is a bug in ROOT. The version required by the g4lbne group is 5.34.06.
I’m confused because the instructions that I got from Laura Fields pointed me to using the 5.30.06 version of ROOT compiled with gcc v4.6.1.
To "fix" this I'm going to tell ROOT's cmake to just turn off use of mysql. I don't think it is actually required.
Agreed, that is how I fixed the problem on my modified local worch instance was to turn off mysql.
— Reply to this email directly or view it on GitHubhttps://github.com/brettviren/worch/issues/50#issuecomment-41089970 .
------------------------------------------
Michael Kirby Fermilab Scientific Computing Division WH10W 1062 / FCC 240 Office 630-840-4326 Cell 630-965-1456
Hi Brett,
seems that for some reason during the root build in worch that there's a mysql header that can't be found on lbnegpvm02.fnal.gov
In file included from /lbne/app/users/kirby/beamsim_worch/worch/tmp/builds/root-5.34.06-debug/sql/mysql/G__MySQL.h:34, from /lbne/app/users/kirby/beamsim_worch/worch/tmp/builds/root-5.34.06-debug/sql/mysql/G__MySQL.cxx:17: /lbne/app/users/kirby/beamsim_worch/worch/tmp/sources/root/sql/mysql/inc/TMySQLResult.h:25:19: error: mysql.h: No such file or directory
I'll see what I can do about tracking down if there's an rpm that can be installed. Or maybe it's hidden somewhere in the root distro and being picked up.