Please patch src/hg/hgSuggest/hgSuggest.c as follows:

retrieving revision 1.2
diff -r1.2 hgSuggest.c
74c74
<         safef(previous, sizeof(previous), row[0]);
---
 >         safef(previous, sizeof(previous), "%s", row[0]);

We have patched our main branch but it will take a while
to hit the public release (a few days to a couple of weeks).

-Galt

Shraddha Pai wrote:
> Hi all,
> I'd like to install a local copy of the genome browser.
> I'm following instructions from here:
> http://genome.ucsc.edu/admin/jk-install.html
> 
> When I try to type "make compile" or "make $DIRS" (from the Debian
> instructions here: 
> http://genomewiki.ucsc.edu/index.php/Source_tree_compilation_on_Debian/Ubunt
> u), I get the following error:
> 
> ( cd hgSuggest && echo hgSuggest && make compile)
> hgSuggest
> make[1]: Entering directory `/usr/local/kent/src/hg/hgSuggest'
> gcc -O -g  -Wall -Werror -Wformat -Wimplicit -Wreturn-type -Wuninitialized
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DMACHTYPE_x86_64
> -Wall -Werror -Wformat -Wimplicit -Wreturn-type -Wuninitialized -I../inc
> -I../../inc -I../../../inc -I../../../../inc -I../../../../../inc  -o
> hgSuggest.o -c hgSuggest.c
> cc1: warnings being treated as errors
> hgSuggest.c: In function รข:
> hgSuggest.c:74: error: format not a string literal and no format arguments
> make[1]: *** [hgSuggest.o] Error 1
> make[1]: Leaving directory `/usr/local/kent/src/hg/hgSuggest'
> make: *** [hgSuggest.compile] Error 2
> r...@paitemp:/usr/local/kent/src/hg#
> <<<
> 
> What am I doing wrong?
> - I've created ~/bin/x86_64 (my $MACHTYPE)
> - Here are my environment variables:
>> echo $MYSQLLIBS
> -lmysqlclient -lz
>> echo $MYSQLINC
> /usr/include/mysql
>> echo $MACHTYPE
> x86_64
>> echo $DIRS
> SCRIPTS=/usr/local/bin CGI_BIN=/usr/lib/cgi-bin DOCUMENTROOT=/var/www/genome
> BINDIR=/usr/local/bin ENCODE_PIPELINE_BIN=/usr/local/bin
> 
> Other info:
> - My machine runs Ubuntu 9.10.
> - I've installed mysql-client mysql-server libmysqlclient-dev and apache2
> 
> Is there a binary for Ubuntu that I can just download and use?
> 
> Thanks so much,
> Shraddha
> 
> ------------------------------------------------------
> Shraddha Pai
> Postdoctoral fellow, Petronis lab
> The Krembil Family Epigenetics Research Laboratory
> Centre for Addiction and Mental Health
> 250 College Street, Toronto, ON.
> 
> 
> 
> 
> ______________________________________________________________________
> This email has been scanned by the CAMH Email Security System.
> ______________________________________________________________________
> 
> _______________________________________________
> Genome maillist  -  [email protected]
> https://lists.soe.ucsc.edu/mailman/listinfo/genome
_______________________________________________
Genome maillist  -  [email protected]
https://lists.soe.ucsc.edu/mailman/listinfo/genome

Reply via email to