Day 4; Clarification : Scons = "Ess-cons".
Phone-con with RHL to fix the doxygen issue:
# this indicates there is a problem; should be no 'flavor' for EUPS becker12:echo $EUPS_FLAVOR Linux # do testing here; allow RHL in becker18:mkdir products becker19:cd products/ /lsst/becker/lsst_devel/products becker20:ls -latr drwxrwxr-x 4 becker becker 4096 Mar 5 12:16 ../ drwxrwxr-x 2 becker becker 4096 Mar 5 12:16 ./ becker21:chgrp lsst . becker22:chmod 775 . becker23:chmod g+s . # recursive set group lsst becker24:ls -al drwxrwsr-x 2 becker lsst 4096 Mar 5 12:16 ./ drwxrwxr-x 4 becker becker 4096 Mar 5 12:16 ../ becker25:pwd /lsst/becker/lsst_devel/products # check root of scons; this should follow --root in the install command below. get version number here. becker26:eups list -d scons /lsst/lsst_root/Linux/external/scons/0.96.94 # working in this shell becker187:eups declare --current --root /lsst/lsst_root/Linux/external/scons/0.96.94 -M ups/sconsDistrib.table sconsDistrib v0.96.94 # works OK becker188:setup sconsDistrib -v Setting up: sconsDistrib Flavor: Linux Version: v0.96.94 # this is where i svn exported to becker189:pwd /tmp/SConsUtils # this should work! becker190:scons install current scons: Reading SConscript files ... scons: *** No tool named 'doxygen': not a Zip file File "python/lsst/SConsUtils.py", line 78, in MakeEnv # doesnt. try setting up doxygen? becker192:setup doxygen becker193:scons install current scons: Reading SConscript files ... scons: *** No tool named 'doxygen': not a Zip file File "python/lsst/SConsUtils.py", line 78, in MakeEnv # maybe its using the wrong version? according to RHL, this is not the problem. becker197:which doxygen /usr/bin/doxygen becker198:where doxygen /usr/bin/doxygen /lsst/lsst_root/Linux/external/doxygen/1.4.7/bin/doxygen
RHL will get back to me with the fix.
becker208:svn export svn+ssh://dev.lsstcorp.org/DC2/SConsUtils/tags/v1.9 SConsUtils becker209:cd SConsUtils/ becker211:scons install current scons: Reading SConscript files ... scons: *** No tool named 'doxygen': not a Zip file File "python/lsst/SConsUtils.py", line 78, in MakeEnv
The change did not make it into v1.9. It was a "slightly sleazy" change, says he. Retry:
becker218:rm -rf SConsUtils/ becker219:svn export svn+ssh://dev.lsstcorp.org/DC2/SConsUtils/tags/v1.9 SConsUtils becker223:scons install current scons: Reading SConscript files ... Unable to import eups; guessing flavor Checking if CC is really gcc...yes scons: done reading SConscript files. scons: Building targets ... Install directory: "python" as "/lsst/lsst_root/Linux/sconsUtils/v1.9/python" Install file: "ups/scons.table" as "/lsst/lsst_root/Linux/sconsUtils/v1.9/ups/scons.table" eups_expandtable -i --product sconsUtils=v1.9 /lsst/lsst_root/Linux/sconsUtils/v1.9/ups/scons.table Unknown option: -i Unknown option: --product I cannot open /lsst/lsst_root/Linux/sconsUtils/v1.9/ups/scons.table/sconsUtils=v1.9 scons: *** [/lsst/lsst_root/Linux/sconsUtils/v1.9/ups/scons.table] Error 20 scons: building terminated because of errors. becker225:eups --version Version: v0_7_26
RHL needs to update eups version; apparently I can't (its not in LSST tree; what tree is it in then?). Newest is version 7_29. He installed to /lsst/lsst_root/Linux/eups/; we previously had it in /lsst/lsst_root/Linux/external/eups. So, hemv to external/ by hand. Than he ln -s the latest to v0_7_29. Then eups declare -root $path -current -r where the -r parses product and version from root. In particular
RHL typed
eups declare -c -r /lsst/lsst_root/Linux/external/eups/v0_7_29
This is shorthand for
eups declare -c -r /lsst/lsst_root/Linux/external/eups/v0_7_29 eups v0_7_29
Then I can go
becker229:setup eups becker230:eups --version Version: v0_7_29 becker231:scons install current scons: Reading SConscript files ... Checking if CC is really gcc...(cached) yes scons: done reading SConscript files. scons: Building targets ... Install file: "ups/scons.table" as "/lsst/lsst_root/Linux/sconsUtils/v1.9/ups/scons.table" eups_expandtable -i --product sconsUtils=v1.9 /lsst/lsst_root/Linux/sconsUtils/v1.9/ups/scons.table Install file: "ups/sconsDistrib.table" as "/lsst/lsst_root/Linux/sconsUtils/v1.9/ups/sconsDistrib.table" eups_expandtable -i --product sconsUtils=v1.9 /lsst/lsst_root/Linux/sconsUtils/v1.9/ups/sconsDistrib.table Install file: "ups/sconsUtils.table" as "/lsst/lsst_root/Linux/sconsUtils/v1.9/ups/sconsUtils.table" eups_expandtable -i --product sconsUtils=v1.9 /lsst/lsst_root/Linux/sconsUtils/v1.9/ups/sconsUtils.table eups declare --force --flavor Linux --root /lsst/lsst_root/Linux/sconsUtils/v1.9 sconsUtils v1.9 --current eups declare --force --flavor Linux --root /lsst/lsst_root/Linux/sconsUtils/v1.9 scons v1.9 --current INFO : Modifying current.chain for scons v1.9 (flavor: Linux) scons: done building targets.
The real test is
becker232:setup scons -v Setting up: scons Flavor: Linux Version: v1.9 Setting up: sconsUtils Flavor: Linux Version: v1.9 Setting up: sconsDistrib Flavor: Linux Version: v0.96.94
Score!
