Apr 30

OK, where was I at... I had declared my own version of imageproc that depended on fw becker. Let me start up a new window and see how this goes.

becker1: setupLSST
becker2: which setupLSST
  setupLSST:       aliased to source $LSST_ROOT/Linux/loadLSST.csh
becker3: cd $LSST_DEVEL/imageproc/tickets/7/
becker4: setup imageproc becker
becker5: env
  # shows all sorts of stuff has been set up, e.g.
  # SETUP_FW=fw becker -f Linux -Z /lsst/lsst_root/Linux
becker7: scons tests
  Error: Failed to find boost_filesystem in /lsst/lsst_root/Linux/external/boost/1.33.1/lib
  Failed to find boost -- do you need to setup boost or specify boost=DIR?
  Failed to find vw in /lsst/lsst_root/Linux/external/visionWorkbench/1.0.1/lib
  Failed to find vw -- do you need to setup vw or specify vw=DIR?
  Failed to find fw in /lsst/becker/lsst_devel/DC2/scons/lib
  Failed to find fw -- do you need to setup fw or specify fw=DIR?

Strange. I have e.g. vw set up...

becker10: env | grep VW
  SETUP_VW=vw 1.0.1 -f Linux -Z /lsst/lsst_root/Linux
  VW_DIR=/lsst/lsst_root/Linux/external/visionWorkbench/1.0.1

Same with fw and boost.

I hope this is not a build system issue, the fact darkstar has an older version... I will send out a harassing email about this. Installing build system on ostrogoth.astro. Hopefully this will work...

becker62: cd $LSST_HOME/
  /local/becker/lsst_root
becker63: curl -o newinstall.sh http://dev.lsstcorp.org/pkgs/newinstall.sh
becker66: source loadLSST.csh
becker67: eups distrib -i -C LSSTPipe
  # taking a couple of hours...

and

becker33: setenv LSST_DEVEL /local/becker/lsst_devel
becker34: cd $LSST_DEVEL/
becker35: mkdir DC2
becker36: cd DC2/
becker37: svn co $LSST_SVN/DC2/fw/trunk fw
becker51: svn co $LSST_SVN/DC2/imageproc/tickets/7 imageproc

Building is done. Lets see about this...

becker2: setupLSST
  LSST_DEVEL=/local/becker/lsst_devel:
      Not setup for EUPS (not ups_db directory); ignoring...
  # EH?
becker6: cd $LSST_DEVEL/DC2/fw/
becker15: eups declare -r /local/becker/lsst_devel/DC2/fw fw becker
becker17: setup fw becker
becker20: scons
  # AND IT FAILS, GRRR...
  lib/libfw.so: undefined reference to `boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::do_assign(char const*, char const*, unsigned int)'
  etc...

If I go through and try and scons each directory by hand, it looks like tests and examples are the directories that puke. I guess thats OK as long as I have the src and lib and include.

So my code now...

becker40: eups declare -r /local/becker/lsst_devel/DC2/imageproc imageproc becker
becker43: setup imageproc becker
  # ERROR: REQUIRED UNSETUP numarray failed
  # WHAT IS THIS NOW?
  # Anyways...
becker48: cd $LSST_DEVEL/DC2/imageproc/
becker49: scons
  Error: Failed to find fw in /local/becker/lsst_devel/DC2/fw/lib
  Failed to find fw -- do you need to setup fw or specify fw=DIR?
becker50: ls /local/becker/lsst_devel/DC2/fw/lib
  libfitsio.so*  libfw.so*  SConscript

So what is it looking for here..? Ah, useful, look in config.log. Same problem as before when building tests and examples. Something is wrong with fw.