Print

Print


Vaikunth

See
admin/bootstrap/qserv-install-deps-ubuntu-14.04.sh

you might try to install all packages listed there
(bzip is among them)

I'd basically try

sudo apt-get install bison cmake curl doxygen-latex flex g++ git 
latex2html libboost-all-dev libcurl4-openssl-dev libglib2.0-dev 
libreadline-dev ncurses-dev  openjdk-7-jdk openssl python-dev 
python-numpy scons swig zlib1g-dev patch bzip2 bzip2-devel libbz2-dev 
libpthread-workqueue-dev

Jacek





On 08/01/2014 02:40 PM, Vaikunth Thukral wrote:
> Hi,
>
> I looked at the log file (build.msg was empty but build.log looks like
> the main one):
>
> #################
> cat /home/vaikunth/QSERV/EupsBuildDir/Linux64/boost-1.55.0.1+1/build.log
> | grep "fail*"
> ...failed gcc.compile.c++
> bin.v2/libs/iostreams/build/gcc-4.6/release/threading-multi/bzip2.o...
> ...failed gcc.compile.c++
> bin.v2/libs/iostreams/build/gcc-4.6/release/link-static/threading-multi/bzip2.o...
> ...failed updating 2 targets...
> #################
>
> Looks like it can't compile something about multi-threading. More
> details from the log file:
>
> #################
> libs/iostreams/src/bzip2.cpp:20:56: fatal error: bzlib.h: No such file
> or directory
> compilation terminated.
>
>      "g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline
> -Wall -pthread -fPIC  -DBOOST_ALL_NO_LIB=1 -DBOOST_IOSTREAMS_DYN_LINK=1
> -DBOOST_IOSTREAMS_USE_DEPRECATED -DNDEBUG  -\
> I"." -c -o
> "bin.v2/libs/iostreams/build/gcc-4.6/release/threading-multi/bzip2.o"
> "libs/iostreams/src/bzip2.cpp"
>
> ...failed gcc.compile.c++
> bin.v2/libs/iostreams/build/gcc-4.6/release/threading-multi/bzip2.o...
>
> libs/iostreams/src/bzip2.cpp:20:56: fatal error: bzlib.h: No such file
> or directory
> compilation terminated.
>
>      "g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline
> -Wall -pthread  -DBOOST_ALL_NO_LIB=1 -DBOOST_IOSTREAMS_USE_DEPRECATED
> -DNDEBUG  -I"." -c -o "bin.v2/libs/iostreams/b\
> uild/gcc-4.6/release/link-static/threading-multi/bzip2.o"
> "libs/iostreams/src/bzip2.cpp"
>
> ...failed gcc.compile.c++
> bin.v2/libs/iostreams/build/gcc-4.6/release/link-static/threading-multi/bzip2.o...
> #################
>
> So the source for both errors is the absence of the header file bzlib.h.
> I googled around and found the easiest way was to just install libbz2
> manually.
> That seems to have worked.
>
> Working through the rest of the steps now. Thanks!
>
> -Vaikunth
>
>
> On Fri, Aug 1, 2014 at 3:57 PM, Jacek Becla <[log in to unmask]
> <mailto:[log in to unmask]>> wrote:
>
>     Can you look at the log:
>
>     /home/vaikunth/QSERV/__EupsBuildDir/Linux64/boost-1.__55.0.1+1/build.msg
>
>     and post relevant section? Most likely you are missing a dependency
>     (we DID get it to work on ubuntu 12.04 in the past, so this should
>     be easily solvable.). Most likely it is a missing dependency,
>     packages listed in qserv-install-deps-ubuntu-14.__04.sh
>     <http://qserv-install-deps-ubuntu-14.04.sh>
>     are similar to what is needed on 12.04, so you might peak there
>     and see if you have these packages installed.
>
>     Jacek
>
>
>
>     On 08/01/2014 01:27 PM, Vaikunth Thukral wrote:
>
>         Hi,
>
>         I've read through some of the documentation and was working on
>         installing qserv. As Kian-Tat mentioned, I used the @git* instead of
>         @dev* repo and followed through the README instructions. I got stuck
>         during the "eups distrib install qserv" step [1] (wall of text with
>         error included below signature).
>
>         In full disclosure I attempted this installation on Ubuntu 12.04
>         LTS and
>         the dependency installation folder only had the following
>         options for
>         Ubuntu:
>         qserv-install-deps-ubuntu-13.__10.sh
>         <http://qserv-install-deps-ubuntu-13.10.sh>
>         <http://qserv-install-deps-__ubuntu-13.10.sh
>         <http://qserv-install-deps-ubuntu-13.10.sh>>
>         qserv-install-deps-ubuntu-14.__04.sh
>         <http://qserv-install-deps-ubuntu-14.04.sh>
>         <http://qserv-install-deps-__ubuntu-14.04.sh
>         <http://qserv-install-deps-ubuntu-14.04.sh>>
>
>
>         I'm not certain if this is a dependency issue and I ran both of
>         them,
>         but though I'd mention it anyway. Any clues as to what the issue
>         could
>         be? Everything before this ran without any errors.
>
>         Thanks,
>         -Vaikunth
>
>         [1]
>         ##############################__##############################__####################
>
>         |eups distrib install qserv
>         -rhttp://lsst-web.ncsa.__illinois.edu/~fjammes/qserv|
>         <http://lsst-web.ncsa.illinois.edu/~fjammes/qserv%7C>
>
>
>             [  1/27 ]  antlr 2.7.7
>         done.
>             [  2/27 ]  doxygen 1.8.2+2 (already installed)
>         done.
>             [  3/27 ]  expat 2.0.1
>         done.
>             [  4/27 ]  libevent 2.0.16-stable
>         done.
>             [  5/27 ]  lua 5.1.4
>         done.
>             [  6/27 ]  mysql 5.1.65
>         done.
>             [  7/27 ]  mysqlclient 5.1.65+3
>         done.
>             [  8/27 ]  python master-gcbf93ab65b ...
>                        Using externally provided Python 2.7.5 ::
>         Anaconda 1.8.0
>         (64-bit).
>             [  8/27 ]  python master-gcbf93ab65b
>         done.
>             [  9/27 ]  swig 2.0.12
>         done.
>             [ 10/27 ]  xrootd 3.2.8-qsPatch5
>         done.
>             [ 11/27 ]  zookeeper 3.4.6
>         done.
>             [ 12/27 ]  boost 1.55.0.1+1 ...
>
>         ***** error: from
>         /home/vaikunth/QSERV/__EupsBuildDir/Linux64/boost-1.__55.0.1+1/build.log:
>         gcc.compile.c++
>         bin.v2/libs/wave/build/gcc-4.__6/release/link-static/__threading-multi/token_ids.o
>         gcc.compile.c++
>         bin.v2/libs/wave/build/gcc-4.__6/release/link-static/__threading-multi/wave_config___constant.o
>         common.mkdir
>         bin.v2/libs/wave/build/gcc-4.__6/release/link-static/__threading-multi/cpplexer
>         ...on 1100th target...
>         common.mkdir
>         bin.v2/libs/wave/build/gcc-4.__6/release/link-static/__threading-multi/cpplexer/__re2clex
>         gcc.compile.c++
>         bin.v2/libs/wave/build/gcc-4.__6/release/link-static/__threading-multi/cpplexer/__re2clex/aq.o
>         gcc.compile.c++
>         bin.v2/libs/wave/build/gcc-4.__6/release/link-static/__threading-multi/instantiate___defined_grammar.o
>         gcc.compile.c++
>         bin.v2/libs/wave/build/gcc-4.__6/release/link-static/__threading-multi/instantiate___re2c_lexer.o
>         gcc.compile.c++
>         bin.v2/libs/wave/build/gcc-4.__6/release/link-static/__threading-multi/instantiate___re2c_lexer_str.o
>         gcc.compile.c++
>         bin.v2/libs/wave/build/gcc-4.__6/release/link-static/__threading-multi/instantiate___predef_macros.o
>         gcc.compile.c++
>         bin.v2/libs/wave/build/gcc-4.__6/release/link-static/__threading-multi/instantiate___cpp_grammar.o
>         gcc.compile.c++
>         bin.v2/libs/wave/build/gcc-4.__6/release/link-static/__threading-multi/instantiate___cpp_literalgrs.o
>         gcc.compile.c++
>         bin.v2/libs/wave/build/gcc-4.__6/release/link-static/__threading-multi/instantiate___cpp_exprgrammar.o
>         gcc.compile.c++
>         bin.v2/libs/wave/build/gcc-4.__6/release/link-static/__threading-multi/cpplexer/__re2clex/cpp_re.o
>         gcc.archive
>         bin.v2/libs/wave/build/gcc-4.__6/release/link-static/__threading-multi/libboost_wave.__a
>         common.copy stage/lib/libboost_wave.a
>         ...failed updating 2 targets...
>         ...skipped 6 targets...
>         ...updated 1103 targets...
>         + exit -4
>         eups distrib: Failed to build boost-1.55.0.1+1.eupspkg: Command:
>               source /home/vaikunth/QSERV/eups/bin/__setups.sh; export
>         EUPS_PATH=/home/vaikunth/__QSERV;
>         (/home/vaikunth/QSERV/__EupsBuildDir/Linux64/boost-1.__55.0.1+1/build.sh)
>          >>
>         /home/vaikunth/QSERV/__EupsBuildDir/Linux64/boost-1.__55.0.1+1/build.log
>         2>&1
>         4>/home/vaikunth/QSERV/__EupsBuildDir/Linux64/boost-1.__55.0.1+1/build.msg
>         exited with code 252
>
>         ##############################__##############################__##############################__#
>
>
>         On Fri, Jul 25, 2014 at 2:10 PM, Jacek Becla
>         <[log in to unmask] <mailto:[log in to unmask]>
>         <mailto:[log in to unmask]
>         <mailto:[log in to unmask]>>> wrote:
>
>              K-T
>
>              Right! I'll update the trac page (I just copied & pasted
>              from there, I didn't notice it got outdated).
>
>              Thanks,
>              Jacek
>
>
>
>
>              On 07/25/2014 11:21 AM, Kian-Tat Lim wrote:
>
>                  Jacek and others,
>
>                           Please don't use dev.lsstcorp.org
>         <http://dev.lsstcorp.org>
>                  <http://dev.lsstcorp.org> for git.  This is outdated and
>
>                  deprecated and will stop working in the future.
>
>                      I think the readme* is not completely clear about
>         how to
>                      checkout qserv, (we will fix it). It is basically
>
>                      git repo cloning (for LSST DM users)
>                           git clone
>         git://dev.lsstcorp.org/LSST/____DMS/qserv
>         <http://dev.lsstcorp.org/LSST/__DMS/qserv>
>                      <http://dev.lsstcorp.org/LSST/__DMS/qserv
>         <http://dev.lsstcorp.org/LSST/DMS/qserv>>
>
>
>
>                  The preferred URL for developers with commit access
>         (those who have
>                  submitted public keys) is
>         [log in to unmask]:LSST/DMS/____qserv
>
>
>                      git repo cloning (for external users; anonymous,
>         read-only)
>                          git clone
>         http://dev.lsstcorp.org/git/____LSST/DMS/qserv
>         <http://dev.lsstcorp.org/git/__LSST/DMS/qserv>
>                      <http://dev.lsstcorp.org/git/__LSST/DMS/qserv
>         <http://dev.lsstcorp.org/git/LSST/DMS/qserv>>
>
>
>                  Here, it's http://git.lsstcorp.org/LSST/____DMS/qserv
>         <http://git.lsstcorp.org/LSST/__DMS/qserv>
>                  <http://git.lsstcorp.org/LSST/__DMS/qserv
>         <http://git.lsstcorp.org/LSST/DMS/qserv>>
>
>
>
>         ##############################____############################__##__############
>
>              Use REPLY-ALL to reply to list
>
>              To unsubscribe from the QSERV-L list, click the following link:
>         https://listserv.slac.__stanfo__rd.edu/cgi-bin/wa?__SUBED1=__QSERV-L&A=1
>         <http://stanford.edu/cgi-bin/wa?__SUBED1=QSERV-L&A=1>
>
>         <https://listserv.slac.__stanford.edu/cgi-bin/wa?__SUBED1=QSERV-L&A=1
>         <https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=QSERV-L&A=1>>
>
>
>
>

########################################################################
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