LISTSERV mailing list manager LISTSERV 16.5

Help for QSERV-L Archives


QSERV-L Archives

QSERV-L Archives


QSERV-L@LISTSERV.SLAC.STANFORD.EDU


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

QSERV-L Home

QSERV-L Home

QSERV-L  July 2014

QSERV-L July 2014

Subject:

Re: log package

From:

Kian-Tat Lim <[log in to unmask]>

Reply-To:

General discussion for qserv (LSST prototype baseline catalog)

Date:

Fri, 18 Jul 2014 16:58:34 -0700

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (81 lines)

Jacek,

> I am trying to turn Bill's code currently in qserv repo
> in u/bchick/log branch into a "log" package.

	That isn't the final version.  The final version is in
contrib/log.git.

> 1) I think the path include/lsst/devenv/log should
>    really be include/lsst/log, so I changed that

	That looks like the right thing to do.

> 2) I am not sure why we would want to depend on utils,
>    so I made this change in ups.log.cfg:
> 
> -    "required": ["utils", ],
> +    "required": [],

	OK.  You also need to fix the name of the provided header file,
unless you want to create an lsst/log.h.

> 3) I also fixed the ups.log.table:
>    a) I don't think we want to depend on pex_exceptions

	In the long run, it will be very awkward for the rest of the
LSST Stack if this package does not use pex_exceptions (or whatever it
gets renamed).  I think you should reconsider this position.

>    b) I think we do depend on python and sconsUtils

	Depending on python is sort of optional, but OK.

	sconsUtils is really only a build dependency, but also OK.

>    c) I aligned it with the latest format as we use in qserv
>    So it now looks like:
> 
> setupRequired(boost)
> setupRequired(python)
> setupRequired(sconsUtils)
> 
> envPrepend(PYTHONPATH, ${PRODUCT_DIR}/lib/python)
> envPrepend(LD_LIBRARY_PATH, ${PRODUCT_DIR}/lib)
> envPrepend(PATH, ${PRODUCT_DIR}/bin)

	Removing the version numbers is good.

> I thought the sconsUtils does all the magic with g++ flags,
> but apparently not:
> 
> 
> scons
> scons: Reading SConscript files ...
> Checking who built the CC compiler...(cached) gcc
> Checking for C++ header file tr1/unordered_map... (cached) yes
> Setting up environment to build package 'log'.
> Checking whether int64_t is long ... (cached) yes
> scons: done reading SConscript files.
> scons: Building targets ...
> g++ -o src/logInterface.os -c -g -DLSST_HAVE_TR1=1
> -DLSST_LITTLE_ENDIAN=1 -O0 -Wall -Wno-unknown-pragmas -fPIC
> -Iinclude
> -I/usr/local/home/becla/qservDev/Linux64/boost/1.55.0.1+1/include -I/usr/local/home/becla/qservDev/Linux64/anaconda/1.8.0/include/python2.7
> src/logInterface.cc
> src/logInterface.cc:32:21: error: log/Log.h: No such file or directory
> src/logInterface.cc:33:30: error: log/logInterface.h: No such file
> or directory

	This is because the source file doesn't say "lsst/log" as it
should.

-- 
Kian-Tat Lim, LSST Data Management, [log in to unmask]

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the QSERV-L list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=QSERV-L&A=1

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Search Archives

Search Archives


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

March 2018
February 2018
January 2018
December 2017
August 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012

ATOM RSS1 RSS2



LISTSERV.SLAC.STANFORD.EDU

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager

Privacy Notice, Security Notice and Terms of Use