Print

Print


Jacek,

On 02/14/2014 11:19 PM, Jacek Becla wrote:
> Daniel
>
> Few more observations from building dependencies for the
> very latest qserv on ubuntu 12.04:
>
> I had to install:
>    - libncurses5-dev
>    - libreadline-dev
>    - libglib2.0-dev libdb-dev
Yes, supporting multiple platforms is always tricky. Most software 
packages spend little effort on installing dependencies for you--they 
focus on preparing an rpm or a deb that specifies external package 
requirements. Can you add those to the wiki? Do we have a page for 
ubuntu/debian?

> It might be useful to check early if specified
> ports are available, e.g., I run into
> "failed starting mysql (port already in use)"
This is an open bug, right? The config files should disable listening on 
ports by default, except for the proxy, which can listen on a specified 
port (which we can check as you suggested).

> I also noticed that it tried to read from my /etc/my/my.cnf,
> I had local-infile=1 there which confused qserv-mysql:
>
> /home/becla/cssProto/bin/mysqladmin: unknown variable 'local-infile=1'
>
> It'd be good to avoid silently depending on system level my.cnf
Definitely.

> How do I actually build qserv? "scons" built dependencies, and stopped.
I guess I don't really know anything about installation, because I've 
been focusing on building only the qserv core. I haven't booked any time 
for understanding the install scripts or anything. To build qserv (after 
dependencies are ready), you need to prepare a 'custom.py' file and then 
just run scons in the core directory. The details are on the wiki page. 
Hopefully, I can work with Fabrice on eups, so we can eliminate the 
custom.py in eups-managed conditions and simply run  'scons --eups'.

-Daniel

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